Package com.newrelic.api.agent
Class ExtendedResponse
- java.lang.Object
-
- com.newrelic.api.agent.ExtendedResponse
-
- All Implemented Interfaces:
OutboundHeaders,Response
public abstract class ExtendedResponse extends java.lang.Object implements Response
AResponsethat provides more information for reporting to New Relic. API users should extend this class when wrapping their HTTP responses rather than simply implementingResponseto receive additional functionality.- Since:
- 3.41.0
-
-
Constructor Summary
Constructors Constructor Description ExtendedResponse()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract longgetContentLength()The Content-Length for this response-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.newrelic.api.agent.OutboundHeaders
getHeaderType, setHeader
-
Methods inherited from interface com.newrelic.api.agent.Response
getContentType, getStatus, getStatusMessage
-
-