Class NoOpCrossProcessState

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getRequestMetadata()  
      java.lang.String getResponseMetadata()  
      void processInboundResponseHeaders​(com.newrelic.api.agent.InboundHeaders inboundHeaders, TracedMethod tracer, java.lang.String host, java.lang.String uri, boolean addRollupMetric)
      Process the "X-NewRelic-App-Data" header and generate External metrics for response.
      void processOutboundRequestHeaders​(com.newrelic.api.agent.OutboundHeaders outboundHeaders)
      Add New Relic "X" headers to the request headers of outbound external requests.
      void processOutboundRequestHeaders​(com.newrelic.api.agent.OutboundHeaders outboundHeaders, com.newrelic.api.agent.TracedMethod tracedMethod)
      Add New Relic "X" headers to the request headers of outbound external requests.
      void processOutboundResponseHeaders​(com.newrelic.api.agent.OutboundHeaders outboundHeaders, long contentLength)
      Add New Relic "X" headers to our response (to the request that initiated this transaction)
      void processRequestMetadata​(java.lang.String requestMetadata)
      Process inbound request metadata.
      void processResponseMetadata​(java.lang.String responseMetadata, java.net.URI uri)
      Process inbound response metadata.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NoOpCrossProcessState

        public NoOpCrossProcessState()
    • Method Detail

      • processOutboundRequestHeaders

        public void processOutboundRequestHeaders​(com.newrelic.api.agent.OutboundHeaders outboundHeaders)
        Description copied from interface: CrossProcessState
        Add New Relic "X" headers to the request headers of outbound external requests.
        Specified by:
        processOutboundRequestHeaders in interface CrossProcessState
      • processOutboundRequestHeaders

        public void processOutboundRequestHeaders​(com.newrelic.api.agent.OutboundHeaders outboundHeaders,
                                                  com.newrelic.api.agent.TracedMethod tracedMethod)
        Description copied from interface: CrossProcessState
        Add New Relic "X" headers to the request headers of outbound external requests.
        Specified by:
        processOutboundRequestHeaders in interface CrossProcessState
      • processOutboundResponseHeaders

        public void processOutboundResponseHeaders​(com.newrelic.api.agent.OutboundHeaders outboundHeaders,
                                                   long contentLength)
        Description copied from interface: CrossProcessState
        Add New Relic "X" headers to our response (to the request that initiated this transaction)
        Specified by:
        processOutboundResponseHeaders in interface CrossProcessState
      • getRequestMetadata

        public java.lang.String getRequestMetadata()
        Specified by:
        getRequestMetadata in interface CrossProcessState
        Returns:
        CAT and Synthetics encoded request metadata for outbound request.
      • getResponseMetadata

        public java.lang.String getResponseMetadata()
        Specified by:
        getResponseMetadata in interface CrossProcessState
        Returns:
        CAT and Synthetics encoded response metadata for outbound response.
      • processInboundResponseHeaders

        public void processInboundResponseHeaders​(com.newrelic.api.agent.InboundHeaders inboundHeaders,
                                                  TracedMethod tracer,
                                                  java.lang.String host,
                                                  java.lang.String uri,
                                                  boolean addRollupMetric)
        Description copied from interface: CrossProcessState
        Process the "X-NewRelic-App-Data" header and generate External metrics for response.
        Specified by:
        processInboundResponseHeaders in interface CrossProcessState