Package com.newrelic.agent.bridge
Interface WebResponse
-
- All Known Implementing Classes:
NoOpWebResponse
public interface WebResponse- See Also:
Transaction.getWebResponse()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfreezeStatus()Freeze the web response status code.intgetStatus()Get the web response status code.java.lang.StringgetStatusMessage()Get the web response status message.voidsetStatus(int statusCode)Set the web response status code.voidsetStatusMessage(java.lang.String message)Set the web response status message.
-
-
-
Method Detail
-
setStatus
void setStatus(int statusCode)
Set the web response status code.
-
getStatus
int getStatus()
Get the web response status code.
-
setStatusMessage
void setStatusMessage(java.lang.String message)
Set the web response status message.
-
getStatusMessage
java.lang.String getStatusMessage()
Get the web response status message.
-
freezeStatus
void freezeStatus()
Freeze the web response status code.
-
-