Package fr.gouv.vitam.common.client
Enum Class VitamRestEasyConfiguration
- All Implemented Interfaces:
Serializable
,Comparable<VitamRestEasyConfiguration>
,Constable
Various key for RestEsy configuration
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCache enableChunked encoding sizeConnect timeoutApache Connection Manageris connection manager sharedconnectionRequestTimeoutconnectTimeoutcontentCompressionEnabledCredential providersDisable automatic retriesPROXY_PASSWORDPROXY_URIPROXY_USERNAMERead TimeoutRecv buffer decoding sizeRequest configurationRequest EntityProcessingsocketTimeoutSslContext -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
getInt
(Map<VitamRestEasyConfiguration, Object> config, int defaultValue) final Object
getObject
(Map<VitamRestEasyConfiguration, Object> config) final String
getString
(Map<VitamRestEasyConfiguration, Object> config, String defaultValue) final boolean
isTrue
(Map<VitamRestEasyConfiguration, Object> config) static VitamRestEasyConfiguration
Returns the enum constant of this class with the specified name.static VitamRestEasyConfiguration[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONNECTION_MANAGER
Apache Connection Manager -
CHUNKED_ENCODING_SIZE
Chunked encoding size -
RECV_BUFFER_SIZE
Recv buffer decoding size -
REQUEST_ENTITY_PROCESSING
Request EntityProcessing -
CONNECT_TIMEOUT
Connect timeout -
READ_TIMEOUT
Read Timeout -
CONNECTIONREQUESTTIMEOUT
connectionRequestTimeout -
CONNECTTIMEOUT
connectTimeout -
SOCKETTIMEOUT
socketTimeout -
CONNECTION_MANAGER_SHARED
is connection manager shared -
DISABLE_AUTOMATIC_RETRIES
Disable automatic retries -
REQUEST_CONFIG
Request configuration -
SSL_CONTEXT
SslContext -
CREDENTIALS_PROVIDER
Credential providers -
PROXY_URI
PROXY_URI -
PROXY_USERNAME
PROXY_USERNAME -
PROXY_PASSWORD
PROXY_PASSWORD -
CONTENTCOMPRESSIONENABLED
contentCompressionEnabled -
CACHE_ENABLED
Cache enable
-
-
Field Details
-
CHUNKED
Chunk mode- See Also:
-
BUFFERED
Buffer mode- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
isTrue
- Parameters:
config
-- Returns:
- True of the associated Map contains True for this key
-
getObject
- Parameters:
config
-- Returns:
- The Object of the associated Map for this key
-
getString
- Parameters:
config
-defaultValue
-- Returns:
- The String of the associated Map for this key or default value if not found
-
getInt
- Parameters:
config
-defaultValue
-- Returns:
- The int of the associated Map for this key or default value if not found
-