BBjspWebRequest::getContentType
Description
In BBj 16.0 and later, this method returns the MIME type of the body in this BBjspWebRequest
Syntax
Return Value |
Method |
String |
getContentType() |
Parameters
None.
Return Value
a String containing the content type
Remarks
The example below shows getting the content type of a request within a BBJSP Servlet.
Example
This example demonstrates how this works in a BBJSP web-page
<html> |
This example demonstrates how this works in a BBJSP servlet
class public MyServlet |