public final class ConfigurationProperties
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONNECT_TIMEOUT
The maximum amount of time (in milliseconds) to wait for a successful connection to a remote server.
|
static int |
DEFAULT_CONNECT_TIMEOUT
The default connect timeout to use if
CONNECT_TIMEOUT isn't set. |
static java.lang.String |
DEFAULT_HTTP_CREDENTIAL_ENCODING
The default encoding/charset to use if
HTTP_CREDENTIAL_ENCODING isn't set. |
static boolean |
DEFAULT_HTTP_PREEMPTIVE_AUTH
The default value to use if
HTTP_PREEMPTIVE_AUTH isn't set (false). |
static int |
DEFAULT_HTTP_RETRY_HANDLER_COUNT
The default number of retries to use if
HTTP_RETRY_HANDLER_COUNT isn't set. |
static boolean |
DEFAULT_IMPLICIT_PRIORITIES
The default extension priority mode if
IMPLICIT_PRIORITIES isn't set. |
static boolean |
DEFAULT_INTERACTIVE
The default interactive mode if
INTERACTIVE isn't set. |
static boolean |
DEFAULT_PERSISTED_CHECKSUMS
The default checksum persistence mode if
PERSISTED_CHECKSUMS isn't set. |
static int |
DEFAULT_REQUEST_TIMEOUT
The default request timeout to use if
REQUEST_TIMEOUT isn't set. |
static java.lang.String |
DEFAULT_USER_AGENT
The default user agent to use if
USER_AGENT isn't set. |
static java.lang.String |
HTTP_CREDENTIAL_ENCODING
The encoding/charset to use when exchanging credentials with HTTP servers.
|
static java.lang.String |
HTTP_HEADERS
The request headers to use for HTTP-based repository connectors.
|
static java.lang.String |
HTTP_PREEMPTIVE_AUTH
Should HTTP client use preemptive auth (w/ BASIC) or not?
|
static java.lang.String |
HTTP_RETRY_HANDLER_COUNT
The maximum number of times a request to a remote server should be retried in case of an error.
|
static java.lang.String |
HTTPS_SECURITY_MODE
The mode that sets HTTPS transport "security mode": to ignore any SSL errors (certificate validity checks,
hostname verification).
|
static java.lang.String |
HTTPS_SECURITY_MODE_DEFAULT
The default HTTPS security mode.
|
static java.lang.String |
HTTPS_SECURITY_MODE_INSECURE
The insecure HTTPS security mode (certificate validation, hostname verification are all ignored).
|
static java.lang.String |
IMPLICIT_PRIORITIES
A flag indicating whether the priorities of pluggable extensions are implicitly given by their iteration order
such that the first extension has the highest priority.
|
static java.lang.String |
INTERACTIVE
A flag indicating whether interaction with the user is allowed.
|
static java.lang.String |
PERSISTED_CHECKSUMS
A flag indicating whether checksums which are retrieved during checksum validation should be persisted in the
local filesystem next to the file they provide the checksum for.
|
private static java.lang.String |
PREFIX_AETHER |
private static java.lang.String |
PREFIX_CONNECTOR |
static java.lang.String |
PREFIX_PRIORITY
The prefix for properties that control the priority of pluggable extensions like transporters.
|
static java.lang.String |
REQUEST_TIMEOUT
The maximum amount of time (in milliseconds) to wait for remaining data to arrive from a remote server.
|
static java.lang.String |
USER_AGENT
The user agent that repository connectors should report to servers.
|
Modifier | Constructor and Description |
---|---|
private |
ConfigurationProperties() |
private static final java.lang.String PREFIX_AETHER
private static final java.lang.String PREFIX_CONNECTOR
public static final java.lang.String PREFIX_PRIORITY
Float.NaN
or "NaN" (case-sensitive) can be used to disable the extension.public static final java.lang.String IMPLICIT_PRIORITIES
aether.priority.*
configuration properties are ignored when searching for a suitable
implementation among the available extensions. This priority mode is meant for cases where the application will
present/inject extensions in the desired search order.DEFAULT_IMPLICIT_PRIORITIES
,
Constant Field Valuespublic static final boolean DEFAULT_IMPLICIT_PRIORITIES
IMPLICIT_PRIORITIES
isn't set.public static final java.lang.String INTERACTIVE
DEFAULT_INTERACTIVE
,
Constant Field Valuespublic static final boolean DEFAULT_INTERACTIVE
INTERACTIVE
isn't set.public static final java.lang.String USER_AGENT
DEFAULT_USER_AGENT
,
Constant Field Valuespublic static final java.lang.String DEFAULT_USER_AGENT
USER_AGENT
isn't set.public static final java.lang.String CONNECT_TIMEOUT
DEFAULT_CONNECT_TIMEOUT
,
Constant Field Valuespublic static final int DEFAULT_CONNECT_TIMEOUT
CONNECT_TIMEOUT
isn't set.public static final java.lang.String REQUEST_TIMEOUT
DEFAULT_REQUEST_TIMEOUT
,
Constant Field Valuespublic static final int DEFAULT_REQUEST_TIMEOUT
REQUEST_TIMEOUT
isn't set.public static final java.lang.String HTTP_HEADERS
Map<String, String>
, mapping a header name to its value. Besides this general key, clients may also
specify headers for a specific remote repository by appending the suffix .<repoId>
to this key when
storing the headers map. The repository-specific headers map is supposed to be complete, i.e. is not merged with
the general headers map.public static final java.lang.String HTTP_CREDENTIAL_ENCODING
.<repoId>
to this key
when storing the charset name.public static final java.lang.String DEFAULT_HTTP_CREDENTIAL_ENCODING
HTTP_CREDENTIAL_ENCODING
isn't set.public static final java.lang.String HTTP_RETRY_HANDLER_COUNT
DEFAULT_HTTP_RETRY_HANDLER_COUNT
,
Constant Field Valuespublic static final int DEFAULT_HTTP_RETRY_HANDLER_COUNT
HTTP_RETRY_HANDLER_COUNT
isn't set.public static final java.lang.String HTTP_PREEMPTIVE_AUTH
DEFAULT_HTTP_PREEMPTIVE_AUTH
,
Constant Field Valuespublic static final boolean DEFAULT_HTTP_PREEMPTIVE_AUTH
HTTP_PREEMPTIVE_AUTH
isn't set (false).public static final java.lang.String HTTPS_SECURITY_MODE
HTTPS_SECURITY_MODE_DEFAULT
.HTTPS_SECURITY_MODE_DEFAULT
,
HTTPS_SECURITY_MODE_INSECURE
,
Constant Field Valuespublic static final java.lang.String HTTPS_SECURITY_MODE_DEFAULT
public static final java.lang.String HTTPS_SECURITY_MODE_INSECURE
public static final java.lang.String PERSISTED_CHECKSUMS
DEFAULT_PERSISTED_CHECKSUMS
,
Constant Field Valuespublic static final boolean DEFAULT_PERSISTED_CHECKSUMS
PERSISTED_CHECKSUMS
isn't set.