ExtendedResponse
instead.public interface Response extends OutboundHeaders
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentType()
Deprecated.
Returns the response content type, or
null if it is not available. |
int |
getStatus()
Deprecated.
Returns the status code for this response.
|
java.lang.String |
getStatusMessage()
Deprecated.
Returns the error status message, or
null if there is none. |
getHeaderType, setHeader
int getStatus() throws java.lang.Exception
java.lang.Exception
- Problem getting the status.java.lang.String getStatusMessage() throws java.lang.Exception
null
if there is none.java.lang.Exception
- Problem getting status message.java.lang.String getContentType()
null
if it is not available.null
if it is not available.