Class ExtendedResponse

  • All Implemented Interfaces:
    OutboundHeaders, Response

    public abstract class ExtendedResponse
    extends java.lang.Object
    implements Response
    A Response that provides more information for reporting to New Relic. API users should extend this class when wrapping their HTTP responses rather than simply implementing Response to receive additional functionality.
    Since:
    3.41.0
    • Constructor Detail

      • ExtendedResponse

        public ExtendedResponse()
    • Method Detail

      • getContentLength

        public abstract long getContentLength()
        The Content-Length for this response
        Returns:
        Content-Length (in bytes) for this response
        Since:
        3.41.0