Class QuarkusRestClientProperties
- java.lang.Object
-
- org.jboss.resteasy.reactive.client.api.QuarkusRestClientProperties
-
public class QuarkusRestClientProperties extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringALPNSet to true to explicitly use the Application-Layer Protocol Negotiation extension.static StringCONNECT_TIMEOUTConfigure the connect timeout in ms.static StringCONNECTION_POOL_SIZEThe size of the rest client connection pool.static StringCONNECTION_TTLHow long should an open connection stay in the rest client connection pool.static StringDISABLE_CONTEXTUAL_ERROR_MESSAGESSet to true to prevent the client from providing additional contextual information (REST client class and method names) when exception happens during a client invocation.static StringHTTP2Set to true to explicitly use the HTTP/2 version.static StringKEEP_ALIVE_ENABLEDA boolean value used to determine whether the keep alive is enabled or disabled.static StringMAX_HEADER_SIZEmaximum length of all headers for HTTP/1.x.static StringMAX_INITIAL_LINE_LENGTHmaximum length of the initial line for HTTP/1.x.static StringMAX_REDIRECTSmaximum number of redirects for a client call.static StringMULTIPART_ENCODER_MODESeeHttpPostRequestEncoder.EncoderMode, RFC1738 by defaultstatic StringNAMESet the HTTP client name, used when the client is shared, otherwise ignored.static StringREAD_TIMEOUTstatic StringSHAREDSet to true to share the HTTP client between REST clients.static StringSTATIC_HEADERSstatic StringUSER_AGENT
-
Constructor Summary
Constructors Constructor Description QuarkusRestClientProperties()
-
-
-
Field Detail
-
CONNECT_TIMEOUT
public static final String CONNECT_TIMEOUT
Configure the connect timeout in ms.- See Also:
- Constant Field Values
-
MAX_REDIRECTS
public static final String MAX_REDIRECTS
maximum number of redirects for a client call. Works only if the client has `followingRedirects enabled- See Also:
- Constant Field Values
-
MAX_HEADER_SIZE
public static final String MAX_HEADER_SIZE
maximum length of all headers for HTTP/1.x.- See Also:
- Constant Field Values
-
MAX_INITIAL_LINE_LENGTH
public static final String MAX_INITIAL_LINE_LENGTH
maximum length of the initial line for HTTP/1.x.- See Also:
- Constant Field Values
-
READ_TIMEOUT
public static final String READ_TIMEOUT
- See Also:
- Constant Field Values
-
MULTIPART_ENCODER_MODE
public static final String MULTIPART_ENCODER_MODE
SeeHttpPostRequestEncoder.EncoderMode, RFC1738 by default- See Also:
- Constant Field Values
-
CONNECTION_TTL
public static final String CONNECTION_TTL
How long should an open connection stay in the rest client connection pool. Value must be in seconds.- See Also:
- Constant Field Values
-
CONNECTION_POOL_SIZE
public static final String CONNECTION_POOL_SIZE
The size of the rest client connection pool.- See Also:
- Constant Field Values
-
KEEP_ALIVE_ENABLED
public static final String KEEP_ALIVE_ENABLED
A boolean value used to determine whether the keep alive is enabled or disabled.- See Also:
- Constant Field Values
-
STATIC_HEADERS
public static final String STATIC_HEADERS
- See Also:
- Constant Field Values
-
SHARED
public static final String SHARED
Set to true to share the HTTP client between REST clients. There can be multiple shared clients distinguished by name, when no specific name is set, the name__vertx.DEFAULTis used.- See Also:
- Constant Field Values
-
NAME
public static final String NAME
Set the HTTP client name, used when the client is shared, otherwise ignored.- See Also:
- Constant Field Values
-
DISABLE_CONTEXTUAL_ERROR_MESSAGES
public static final String DISABLE_CONTEXTUAL_ERROR_MESSAGES
Set to true to prevent the client from providing additional contextual information (REST client class and method names) when exception happens during a client invocation.- See Also:
- Constant Field Values
-
USER_AGENT
public static final String USER_AGENT
- See Also:
- Constant Field Values
-
HTTP2
public static final String HTTP2
Set to true to explicitly use the HTTP/2 version.- See Also:
- Constant Field Values
-
ALPN
public static final String ALPN
Set to true to explicitly use the Application-Layer Protocol Negotiation extension.- See Also:
- Constant Field Values
-
-