Class AbstractHttpClientWagon

    • Field Detail

      • GMT_TIME_ZONE

        private static final java.util.TimeZone GMT_TIME_ZONE
      • persistentPool

        private static boolean persistentPool
        use http(s) connection pool mechanism. enabled by default
      • SSL_INSECURE

        private static final boolean SSL_INSECURE
        skip failure on certificate validity checks. disabled by default
      • IGNORE_SSL_VALIDITY_DATES

        private static final boolean IGNORE_SSL_VALIDITY_DATES
        if using sslInsecure, certificate date issues will be ignored disabled by default
      • SSL_ALLOW_ALL

        private static final boolean SSL_ALLOW_ALL
        If enabled, ssl hostname verifier does not check hostname. Disable this will use a browser compat hostname verifier disabled by default
      • MAX_CONN_PER_ROUTE

        private static final int MAX_CONN_PER_ROUTE
        Maximum concurrent connections per distinct route. 20 by default
      • MAX_CONN_TOTAL

        private static final int MAX_CONN_TOTAL
        Maximum concurrent connections in total. 40 by default
      • CONN_TTL

        private static final long CONN_TTL
        Time to live in seconds for an HTTP connection. After that time, the connection will be dropped. Intermediates tend to drop connections after some idle period. Set to -1 to maintain connections indefinitely. This value defaults to 300 seconds.
        Since:
        3.2
      • httpClientConnectionManager

        private static org.apache.http.conn.HttpClientConnectionManager httpClientConnectionManager
        Internal connection manager
      • SC_TOO_MANY_REQUESTS

        protected static final int SC_TOO_MANY_REQUESTS
        See RFC6585
        See Also:
        Constant Field Values
      • initialBackoffSeconds

        private int initialBackoffSeconds
        Initial seconds to back off when a HTTP 429 received. Subsequent 429 responses result in exponental backoff. 5 by default
        Since:
        2.7
      • MAX_BACKOFF_WAIT_SECONDS

        private static final int MAX_BACKOFF_WAIT_SECONDS
        The maximum amount of time we want to back off in the case of repeated HTTP 429 response codes.
        Since:
        2.7
      • RETRY_HANDLER_CLASS

        private static final java.lang.String RETRY_HANDLER_CLASS
        The type of the retry handler, defaults to standard. Values can be {@link default DefaultHttpRequestRetryHandler}, or StandardHttpRequestRetryHandler, or a fully qualified name class with a no-arg.
        Since:
        3.2
      • RETRY_HANDLER_REQUEST_SENT_ENABLED

        private static final boolean RETRY_HANDLER_REQUEST_SENT_ENABLED
        Whether or not methods that have successfully sent their request will be retried, defaults to false. Note: only used for default and standard retry handlers.
        Since:
        3.2
      • RETRY_HANDLER_COUNT

        private static final int RETRY_HANDLER_COUNT
        Number of retries for the retry handler, defaults to 3. Note: only used for default and standard retry handlers.
        Since:
        3.2
      • RETRY_HANDLER_EXCEPTIONS

        private static final java.lang.String RETRY_HANDLER_EXCEPTIONS
        Comma-separated list of non-retryable exception classes. Note: only used for default retry handler.
        Since:
        3.2
      • SERVICE_UNAVAILABLE_RETRY_STRATEGY_CLASS

        private static final java.lang.String SERVICE_UNAVAILABLE_RETRY_STRATEGY_CLASS
        The type of the serviceUnavailableRetryStrategy, defaults to none. Values can be {@link default DefaultServiceUnavailableRetryStrategy}, or StandardServiceUnavailableRetryStrategy, or a fully qualified name class with a no-arg or none to not use a ServiceUnavailableRetryStrategy.
      • SERVICE_UNAVAILABLE_RETRY_STRATEGY_RETRY_INTERVAL

        private static final int SERVICE_UNAVAILABLE_RETRY_STRATEGY_RETRY_INTERVAL
        Interval in milliseconds between retries when using a serviceUnavailableRetryStrategy. 1000 by default
      • SERVICE_UNAVAILABLE_RETRY_STRATEGY_MAX_RETRIES

        private static final int SERVICE_UNAVAILABLE_RETRY_STRATEGY_MAX_RETRIES
        Maximum number of retries when using a serviceUnavailableRetryStrategy. 5 by default
      • httpClient

        private static org.apache.http.impl.client.CloseableHttpClient httpClient
      • credentialsProvider

        private org.apache.http.client.CredentialsProvider credentialsProvider
      • authCache

        private org.apache.http.client.AuthCache authCache
      • closeable

        private java.io.Closeable closeable
      • httpHeaders

        private java.util.Properties httpHeaders
        Deprecated.
        Use httpConfiguration instead.
      • basicAuth

        private BasicAuthScope basicAuth
        Basic auth scope overrides
        Since:
        2.8
      • proxyAuth

        private BasicAuthScope proxyAuth
        Proxy basic auth scope overrides
        Since:
        2.8
    • Constructor Detail

      • AbstractHttpClientWagon

        public AbstractHttpClientWagon()