public final class ConfigurationProperties extends Object
Modifier and Type | Field and Description |
---|---|
static 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 String |
DEFAULT_HTTP_CREDENTIAL_ENCODING
The default encoding/charset to use if
HTTP_CREDENTIAL_ENCODING 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 String |
DEFAULT_USER_AGENT
The default user agent to use if
USER_AGENT isn't set. |
static String |
HTTP_CREDENTIAL_ENCODING
The encoding/charset to use when exchanging credentials with HTTP servers.
|
static String |
HTTP_HEADERS
The request headers to use for HTTP-based repository connectors.
|
static 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 String |
INTERACTIVE
A flag indicating whether interaction with the user is allowed.
|
static 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.
|
static String |
PREFIX_PRIORITY
The prefix for properties that control the priority of pluggable extensions like transporters.
|
static String |
REQUEST_TIMEOUT
The maximum amount of time (in milliseconds) to wait for remaining data to arrive from a remote server.
|
static String |
USER_AGENT
The user agent that repository connectors should report to servers.
|
public static final String PREFIX_PRIORITY
Float.NaN
or "NaN" (case-sensitive) can be used to disable the extension.public static final 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 String INTERACTIVE
DEFAULT_INTERACTIVE
,
Constant Field Valuespublic static final boolean DEFAULT_INTERACTIVE
INTERACTIVE
isn't set.public static final String USER_AGENT
DEFAULT_USER_AGENT
,
Constant Field Valuespublic static final String DEFAULT_USER_AGENT
USER_AGENT
isn't set.public static final String CONNECT_TIMEOUT
DEFAULT_CONNECT_TIMEOUT
,
Constant Field Valuespublic static final int DEFAULT_CONNECT_TIMEOUT
CONNECT_TIMEOUT
isn't set.public static final String REQUEST_TIMEOUT
DEFAULT_REQUEST_TIMEOUT
,
Constant Field Valuespublic static final int DEFAULT_REQUEST_TIMEOUT
REQUEST_TIMEOUT
isn't set.public static final 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 String HTTP_CREDENTIAL_ENCODING
.<repoId>
to this key
when storing the charset name.public static final String DEFAULT_HTTP_CREDENTIAL_ENCODING
HTTP_CREDENTIAL_ENCODING
isn't set.public static final String PERSISTED_CHECKSUMS
DEFAULT_PERSISTED_CHECKSUMS
,
Constant Field Valuespublic static final boolean DEFAULT_PERSISTED_CHECKSUMS
PERSISTED_CHECKSUMS
isn't set.Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.