Package org.eclipse.aether.transport.url
Class UrlTransporterConfigurationKeys
java.lang.Object
org.eclipse.aether.transport.url.UrlTransporterConfigurationKeys
Configuration for URL Transport.
- Since:
- 2.0.21
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringWhether this transport should close the HTTP connection at the end of each transaction, effectively disabling persistent connections (keep-alive).static final StringMaximum count of redirects that transport follows within one transaction.static final StringWhether protocol downgrade (HTTPS -> HTTP) is allowed during redirect following.static final StringThe redirect mode of the transport.static final booleanstatic final intstatic final booleanstatic final String -
Method Summary
-
Field Details
-
CONFIG_PROP_REDIRECT_MODE
The redirect mode of the transport. Accepted values areNONE, when any redirect response from server result in transport error,SAME_AUTHORITYwhen transport follow redirects only happening within same URI authority (same server), andANYwhen redirects are followed everywhere.- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()- Value type:
String- Default value:
DEFAULT_REDIRECT_MODE- Supports Repo ID Suffix:
- Yes
-
DEFAULT_REDIRECT_MODE
- See Also:
-
CONFIG_PROP_MAX_REDIRECT_COUNT
Maximum count of redirects that transport follows within one transaction.- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()- Value type:
Integer- Default value:
DEFAULT_MAX_REDIRECT_COUNT- Supports Repo ID Suffix:
- Yes
-
DEFAULT_MAX_REDIRECT_COUNT
- See Also:
-
CONFIG_PROP_REDIRECT_ALLOW_DOWNGRADE
Whether protocol downgrade (HTTPS -> HTTP) is allowed during redirect following.- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()- Value type:
Boolean- Default value:
DEFAULT_REDIRECT_ALLOW_DOWNGRADE- Supports Repo ID Suffix:
- Yes
-
DEFAULT_REDIRECT_ALLOW_DOWNGRADE
- See Also:
-
CONFIG_PROP_CLOSE_CONNECTION
Whether this transport should close the HTTP connection at the end of each transaction, effectively disabling persistent connections (keep-alive). This configuration affects only this transport. Important to note, that globally, on JVM-wide level persistent connections are controlled byhttp.keepAliveJava system property, that istrueby default. If this system property is set tofalse, this transport cannot use persistent connections either.- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()- Value type:
Boolean- Default value:
DEFAULT_CLOSE_CONNECTION- Supports Repo ID Suffix:
- Yes
-
DEFAULT_CLOSE_CONNECTION
- See Also:
-