Package org.eclipse.aether.transfer
Enum HttpTransportProperty.Key
- java.lang.Object
-
- java.lang.Enum<HttpTransportProperty.Key>
-
- org.eclipse.aether.transfer.HttpTransportProperty.Key
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<HttpTransportProperty.Key>,TransferEvent.TransportPropertyKey
- Enclosing class:
- HttpTransportProperty
public static enum HttpTransportProperty.Key extends java.lang.Enum<HttpTransportProperty.Key> implements TransferEvent.TransportPropertyKey
Transport property keys specific to HTTP transporters.- See Also:
TransferEvent.getTransportProperties()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTENT_CODINGTransport property key for content coding (usually compression).HTTP_VERSIONTransport property key for HTTP version.SSL_CIPHER_SUITETransport property key for SSL cipher suite.SSL_PROTOCOLTransport property key for SSL protocol.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpTransportProperty.KeyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static HttpTransportProperty.Key[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HTTP_VERSION
public static final HttpTransportProperty.Key HTTP_VERSION
Transport property key for HTTP version. Value is aHttpTransportProperty.HttpVersionrepresenting the HTTP version used.
-
SSL_PROTOCOL
public static final HttpTransportProperty.Key SSL_PROTOCOL
Transport property key for SSL protocol. Value is aHttpTransportProperty.SslProtocolrepresenting the SSL protocol used.
-
SSL_CIPHER_SUITE
public static final HttpTransportProperty.Key SSL_CIPHER_SUITE
Transport property key for SSL cipher suite. Value is a String representing the SSL cipher suite used (e.g., "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256").- See Also:
- JSSE Cipher Suite Names.
-
CONTENT_CODING
public static final HttpTransportProperty.Key CONTENT_CODING
Transport property key for content coding (usually compression). Value is a String representing the compression algorithm used (e.g., "gzip", "br", or "zstd")- See Also:
- Content Coding Values
-
-
Method Detail
-
values
public static HttpTransportProperty.Key[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HttpTransportProperty.Key c : HttpTransportProperty.Key.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpTransportProperty.Key valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-