public interface Response extends OutboundHeaders
NewRelic.setRequestAndResponse(Request, Response)
,
javax.servlet.http.HttpServletResponse
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentType()
Returns the response content type, or null if it is not available.
|
int |
getStatus()
Returns the status code for this response.
|
java.lang.String |
getStatusMessage()
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
java.lang.Exception
- Problem getting status message.java.lang.String getContentType()