Class HTTPClientConfiguration


  • public class HTTPClientConfiguration
    extends java.lang.Object
    The HTTPClientConfiguration holds all http client related settings
    • Method Detail

      • getBaseURL

        public java.lang.String getBaseURL()
        Returns the base url for the http client
        Returns:
        the base url
      • getServerID

        public int getServerID()
        Returns the server id to be used for the http client
        Returns:
        the server id
      • getApplicationID

        public java.lang.String getApplicationID()
        The application id for the http client
        Returns:
        the application id
      • getSSLTrustManager

        public SSLTrustManager getSSLTrustManager()
        Returns an interface used for X509 certificate authentication and hostname verification.
      • getHttpRequestInterceptor

        public HttpRequestInterceptor getHttpRequestInterceptor()
        Returns an interface used to intercept HTTP requests, before they are sent to the Dynatrace backend.
      • getHttpResponseInterceptor

        public HttpResponseInterceptor getHttpResponseInterceptor()
        Returns an interface used to intercept HTTP responses received from Dynatrace backend.
      • getDeviceID

        public long getDeviceID()
        Returns the unique device identifier