Where to get MIME Type for Media Related Gateway Project?

While working on the media resource of the gateway project Gateway Project PDF FIle ( GET_STREAM Method), it is required to fill the MIME Type along with the Value. Like MIME Type could be PDF, Image etc.

Below table is a control table can be used to get the MIME Type based on the DOC_TYPE.

If we want to show the PDF then based on the DOC_TYPE = PDF we can get the MIME Type and set it in the GET_STREAM method of the DPC Ext class.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s