Class SenderConfiguration


  • public class SenderConfiguration
    extends java.lang.Object
    Configuration options for the various classes that send data to the New Relic ingest APIs.
    • Constructor Detail

      • SenderConfiguration

        public SenderConfiguration​(java.lang.String apiKey,
                                   HttpPoster httpPoster,
                                   java.net.URL endpointUrl,
                                   boolean auditLoggingEnabled,
                                   java.lang.String secondaryUserAgent)
    • Method Detail

      • getApiKey

        public java.lang.String getApiKey()
      • getHttpPoster

        public HttpPoster getHttpPoster()
      • getEndpointUrl

        public java.net.URL getEndpointUrl()
      • isAuditLoggingEnabled

        public boolean isAuditLoggingEnabled()
      • getSecondaryUserAgent

        public java.lang.String getSecondaryUserAgent()