Package org.eclipse.aether.transport.jdk
Class JdkTransporterConfigurationKeys
java.lang.Object
org.eclipse.aether.transport.jdk.JdkTransporterConfigurationKeys
JDK Transport configuration keys.
- Since:
- 2.0.0
-
Field Summary
-
Method Summary
-
Field Details
-
CONFIG_PROP_HTTP_VERSION
Use string representation of HttpClient version enum "HTTP_2" or "HTTP_1_1" to set default HTTP protocol to use.- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()
- Value type:
String
- Default value:
DEFAULT_HTTP_VERSION
- Supports Repo ID Suffix:
- Yes
-
DEFAULT_HTTP_VERSION
- See Also:
-
CONFIG_PROP_MAX_CONCURRENT_REQUESTS
The hard limit of maximum concurrent requests JDK transport can do. This is a workaround for the fact, that in HTTP/2 mode, JDK HttpClient initializes this value to Integer.MAX_VALUE (!) and lowers it on first response from the remote server (but it may be too late). See JDK bug JDK-8225647 for details.- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()
- Value type:
Integer
- Default value:
DEFAULT_MAX_CONCURRENT_REQUESTS
- Supports Repo ID Suffix:
- Yes
-
DEFAULT_MAX_CONCURRENT_REQUESTS
- See Also:
-