Enum RequestConfigOption
- java.lang.Object
-
- java.lang.Enum<RequestConfigOption>
-
- org.camunda.connect.httpclient.impl.RequestConfigOption
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RequestConfigOption>
public enum RequestConfigOption extends java.lang.Enum<RequestConfigOption>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(org.apache.http.client.config.RequestConfig.Builder configBuilder, java.lang.Object value)java.lang.StringgetName()static RequestConfigOptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RequestConfigOption[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTHENTICATION_ENABLED
public static final RequestConfigOption AUTHENTICATION_ENABLED
-
CIRCULAR_REDIRECTS_ALLOWED
public static final RequestConfigOption CIRCULAR_REDIRECTS_ALLOWED
-
CONNECTION_TIMEOUT
public static final RequestConfigOption CONNECTION_TIMEOUT
-
CONNECTION_REQUEST_TIMEOUT
public static final RequestConfigOption CONNECTION_REQUEST_TIMEOUT
-
CONTENT_COMPRESSION_ENABLED
public static final RequestConfigOption CONTENT_COMPRESSION_ENABLED
-
COOKIE_SPEC
public static final RequestConfigOption COOKIE_SPEC
-
DECOMPRESSION_ENABLED
public static final RequestConfigOption DECOMPRESSION_ENABLED
-
EXPECT_CONTINUE_ENABLED
public static final RequestConfigOption EXPECT_CONTINUE_ENABLED
-
LOCAL_ADDRESS
public static final RequestConfigOption LOCAL_ADDRESS
-
MAX_REDIRECTS
public static final RequestConfigOption MAX_REDIRECTS
-
NORMALIZE_URI
public static final RequestConfigOption NORMALIZE_URI
-
PROXY
public static final RequestConfigOption PROXY
-
PROXY_PREFERRED_AUTH_SCHEMES
public static final RequestConfigOption PROXY_PREFERRED_AUTH_SCHEMES
-
REDIRECTS_ENABLED
public static final RequestConfigOption REDIRECTS_ENABLED
-
RELATIVE_REDIRECTS_ALLOWED
public static final RequestConfigOption RELATIVE_REDIRECTS_ALLOWED
-
SOCKET_TIMEOUT
public static final RequestConfigOption SOCKET_TIMEOUT
-
STALE_CONNECTION_CHECK_ENABLED
public static final RequestConfigOption STALE_CONNECTION_CHECK_ENABLED
-
TARGET_PREFERRED_AUTH_SCHEMES
public static final RequestConfigOption TARGET_PREFERRED_AUTH_SCHEMES
-
-
Method Detail
-
values
public static RequestConfigOption[] 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 (RequestConfigOption c : RequestConfigOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequestConfigOption 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
-
getName
public java.lang.String getName()
-
apply
public void apply(org.apache.http.client.config.RequestConfig.Builder configBuilder, java.lang.Object value)
-
-