Class ApacheTransporterConfigurationKeys
- java.lang.Object
-
- org.eclipse.aether.transport.apache.ApacheTransporterConfigurationKeys
-
public final class ApacheTransporterConfigurationKeys extends java.lang.Object
Configuration for Apache Transport.- Since:
- 2.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONFIG_PROP_CIPHER_SUITESComma-separated list of Cipher Suites which are enabled for HTTPS connections.static java.lang.StringCONFIG_PROP_FOLLOW_INSECURE_REDIRECTSIf enabled, Apache HttpClient will follow redirects that downgrade the protocol from https to http.static java.lang.StringCONFIG_PROP_FOLLOW_REDIRECTSIf enabled, Apache HttpClient will follow HTTP redirects.static java.lang.StringCONFIG_PROP_HTTP_RETRY_HANDLER_NAMEThe name of retryHandler, supported values are “standard”, that obeys RFC-2616, regarding idempotent methods, and “default” that considers requests w/o payload as idempotent.static java.lang.StringCONFIG_PROP_HTTP_RETRY_HANDLER_REQUEST_SENT_ENABLEDSet to true if it is acceptable to retry non-idempotent requests, that have been sent.static java.lang.StringCONFIG_PROP_MAX_REDIRECTSThe max redirect count to follow.static java.lang.StringCONFIG_PROP_ORIGIN_SCOPED_HEADERSIf enabled (default), operator-configured request headers (aether.transport.http.headers) are only sent on requests targeting the repository origin (the scheme, host and port the repository URL denotes).static java.lang.StringCONFIG_PROP_PROTOCOLSComma-separated list of Protocols which are enabled for HTTPS connections.static java.lang.StringCONFIG_PROP_USE_SYSTEM_PROPERTIESIf enabled, underlying Apache HttpClient will use system properties as well to configure itself (typically used to set up HTTP Proxy via Java system properties).static booleanDEFAULT_FOLLOW_INSECURE_REDIRECTSstatic booleanDEFAULT_FOLLOW_REDIRECTSstatic booleanDEFAULT_HTTP_RETRY_HANDLER_REQUEST_SENT_ENABLEDstatic intDEFAULT_MAX_REDIRECTSstatic booleanDEFAULT_ORIGIN_SCOPED_HEADERSstatic booleanDEFAULT_USE_SYSTEM_PROPERTIESstatic java.lang.StringHTTP_RETRY_HANDLER_NAME_DEFAULTstatic java.lang.StringHTTP_RETRY_HANDLER_NAME_STANDARD
-
-
-
Field Detail
-
CONFIG_PROP_USE_SYSTEM_PROPERTIES
public static final java.lang.String CONFIG_PROP_USE_SYSTEM_PROPERTIES
If enabled, underlying Apache HttpClient will use system properties as well to configure itself (typically used to set up HTTP Proxy via Java system properties). See HttpClientBuilder for used properties. This mode is not recommended, better use documented ways of configuration instead.- See Also:
- Constant Field Values
-
DEFAULT_USE_SYSTEM_PROPERTIES
public static final boolean DEFAULT_USE_SYSTEM_PROPERTIES
- See Also:
- Constant Field Values
-
CONFIG_PROP_HTTP_RETRY_HANDLER_NAME
public static final java.lang.String CONFIG_PROP_HTTP_RETRY_HANDLER_NAME
The name of retryHandler, supported values are “standard”, that obeys RFC-2616, regarding idempotent methods, and “default” that considers requests w/o payload as idempotent.- See Also:
- Constant Field Values
-
HTTP_RETRY_HANDLER_NAME_STANDARD
public static final java.lang.String HTTP_RETRY_HANDLER_NAME_STANDARD
- See Also:
- Constant Field Values
-
HTTP_RETRY_HANDLER_NAME_DEFAULT
public static final java.lang.String HTTP_RETRY_HANDLER_NAME_DEFAULT
- See Also:
- Constant Field Values
-
CONFIG_PROP_HTTP_RETRY_HANDLER_REQUEST_SENT_ENABLED
public static final java.lang.String CONFIG_PROP_HTTP_RETRY_HANDLER_REQUEST_SENT_ENABLED
Set to true if it is acceptable to retry non-idempotent requests, that have been sent.- See Also:
- Constant Field Values
-
DEFAULT_HTTP_RETRY_HANDLER_REQUEST_SENT_ENABLED
public static final boolean DEFAULT_HTTP_RETRY_HANDLER_REQUEST_SENT_ENABLED
- See Also:
- Constant Field Values
-
CONFIG_PROP_CIPHER_SUITES
public static final java.lang.String CONFIG_PROP_CIPHER_SUITES
Comma-separated list of Cipher Suites which are enabled for HTTPS connections.- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
CONFIG_PROP_PROTOCOLS
public static final java.lang.String CONFIG_PROP_PROTOCOLS
Comma-separated list of Protocols which are enabled for HTTPS connections.- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
CONFIG_PROP_FOLLOW_REDIRECTS
public static final java.lang.String CONFIG_PROP_FOLLOW_REDIRECTS
If enabled, Apache HttpClient will follow HTTP redirects.- Since:
- 2.0.2
- See Also:
- Constant Field Values
-
DEFAULT_FOLLOW_REDIRECTS
public static final boolean DEFAULT_FOLLOW_REDIRECTS
- See Also:
- Constant Field Values
-
CONFIG_PROP_ORIGIN_SCOPED_HEADERS
public static final java.lang.String CONFIG_PROP_ORIGIN_SCOPED_HEADERS
If enabled (default), operator-configured request headers (aether.transport.http.headers) are only sent on requests targeting the repository origin (the scheme, host and port the repository URL denotes). Apache HttpClient re-sends the original request headers on redirects, so without origin scoping a cross-origin redirect replays the configured headers - which frequently carry credentials such asAuthorization, cookies or private token headers - to the redirect target host. Disable only when a redirect target legitimately requires the configured headers.- Since:
- 2.0.23
- See Also:
- Constant Field Values
-
DEFAULT_ORIGIN_SCOPED_HEADERS
public static final boolean DEFAULT_ORIGIN_SCOPED_HEADERS
- See Also:
- Constant Field Values
-
CONFIG_PROP_MAX_REDIRECTS
public static final java.lang.String CONFIG_PROP_MAX_REDIRECTS
The max redirect count to follow.- Since:
- 2.0.2
- See Also:
- Constant Field Values
-
DEFAULT_MAX_REDIRECTS
public static final int DEFAULT_MAX_REDIRECTS
- See Also:
- Constant Field Values
-
CONFIG_PROP_FOLLOW_INSECURE_REDIRECTS
public static final java.lang.String CONFIG_PROP_FOLLOW_INSECURE_REDIRECTS
If enabled, Apache HttpClient will follow redirects that downgrade the protocol from https to http. Disabled by default: such a downgrade strips transport encryption from artifact and checksum bytes and makes repository credentials eligible for transmission over plaintext, so a downgrading redirect fails the transfer instead.- Since:
- 2.0.23
- See Also:
- Constant Field Values
-
DEFAULT_FOLLOW_INSECURE_REDIRECTS
public static final boolean DEFAULT_FOLLOW_INSECURE_REDIRECTS
- See Also:
- Constant Field Values
-
-