Package com.newrelic.agent.bridge
Class NoOpWebResponse
- java.lang.Object
-
- com.newrelic.agent.bridge.NoOpWebResponse
-
- All Implemented Interfaces:
WebResponse
public class NoOpWebResponse extends java.lang.Object implements WebResponse
-
-
Field Summary
Fields Modifier and Type Field Description static WebResponseINSTANCE
-
Constructor Summary
Constructors Constructor Description NoOpWebResponse()
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Field Detail
-
INSTANCE
public static final WebResponse INSTANCE
-
-
Method Detail
-
setStatus
public void setStatus(int statusCode)
Description copied from interface:WebResponseSet the web response status code.- Specified by:
setStatusin interfaceWebResponse
-
getStatus
public int getStatus()
Description copied from interface:WebResponseGet the web response status code.- Specified by:
getStatusin interfaceWebResponse
-
setStatusMessage
public void setStatusMessage(java.lang.String message)
Description copied from interface:WebResponseSet the web response status message.- Specified by:
setStatusMessagein interfaceWebResponse
-
getStatusMessage
public java.lang.String getStatusMessage()
Description copied from interface:WebResponseGet the web response status message.- Specified by:
getStatusMessagein interfaceWebResponse
-
freezeStatus
public void freezeStatus()
Description copied from interface:WebResponseFreeze the web response status code.- Specified by:
freezeStatusin interfaceWebResponse
-
-