Enum ApacheClientProperties
- java.lang.Object
-
- java.lang.Enum<ApacheClientProperties>
-
- com.oracle.bmc.http.client.jersey3.ApacheClientProperties
-
- All Implemented Interfaces:
Serializable,Comparable<ApacheClientProperties>
public enum ApacheClientProperties extends Enum<ApacheClientProperties>
Commonly used Apache client properties fromApacheClientProperties, but with the correct type information.
-
-
Field Summary
Fields Modifier and Type Field Description static Jersey3ClientProperty<org.glassfish.jersey.apache.connector.ApacheConnectionClosingStrategy>CONNECTION_CLOSING_STRATEGYstatic Jersey3ClientProperty<org.apache.http.conn.HttpClientConnectionManager>CONNECTION_MANAGERNote that if you specify your ownSSLContextusingStandardClientProperties.SSL_CONTEXT, you will most likely have to provide theSSLContextto the connection manager as well.static Jersey3ClientProperty<Boolean>CONNECTION_MANAGER_SHAREDstatic Jersey3ClientProperty<org.apache.http.conn.ConnectionKeepAliveStrategy>KEEPALIVE_STRATEGYstatic Jersey3ClientProperty<org.apache.http.client.config.RequestConfig>REQUEST_CONFIGstatic Jersey3ClientProperty<org.apache.http.client.HttpRequestRetryHandler>RETRY_HANDLERstatic Jersey3ClientProperty<org.apache.http.ConnectionReuseStrategy>REUSE_STRATEGY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ApacheClientPropertiesvalueOf(String name)Returns the enum constant of this type with the specified name.static ApacheClientProperties[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Field Detail
-
REUSE_STRATEGY
public static final Jersey3ClientProperty<org.apache.http.ConnectionReuseStrategy> REUSE_STRATEGY
-
RETRY_HANDLER
public static final Jersey3ClientProperty<org.apache.http.client.HttpRequestRetryHandler> RETRY_HANDLER
-
CONNECTION_MANAGER
public static final Jersey3ClientProperty<org.apache.http.conn.HttpClientConnectionManager> CONNECTION_MANAGER
Note that if you specify your ownSSLContextusingStandardClientProperties.SSL_CONTEXT, you will most likely have to provide theSSLContextto the connection manager as well.
-
CONNECTION_CLOSING_STRATEGY
public static final Jersey3ClientProperty<org.glassfish.jersey.apache.connector.ApacheConnectionClosingStrategy> CONNECTION_CLOSING_STRATEGY
-
KEEPALIVE_STRATEGY
public static final Jersey3ClientProperty<org.apache.http.conn.ConnectionKeepAliveStrategy> KEEPALIVE_STRATEGY
-
REQUEST_CONFIG
public static final Jersey3ClientProperty<org.apache.http.client.config.RequestConfig> REQUEST_CONFIG
-
CONNECTION_MANAGER_SHARED
public static final Jersey3ClientProperty<Boolean> CONNECTION_MANAGER_SHARED
-
-
Method Detail
-
values
public static ApacheClientProperties[] 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 (ApacheClientProperties c : ApacheClientProperties.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApacheClientProperties valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-