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 String
CONNECT_TIMEOUT
Configure the connect timeout in ms.static String
CONNECTION_POOL_SIZE
The size of the rest client connection pool.static String
CONNECTION_TTL
How long should an open connection stay in the rest client connection pool.static 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.static String
MAX_HEADER_SIZE
maximum length of all headers for HTTP/1.x.static String
MAX_INITIAL_LINE_LENGTH
maximum length of the initial line for HTTP/1.x.static String
MAX_REDIRECTS
maximum number of redirects for a client call.static String
MULTIPART_ENCODER_MODE
SeeHttpPostRequestEncoder.EncoderMode
, RFC1738 by defaultstatic String
NAME
Set the HTTP client name, used when the client is shared, otherwise ignored.static String
READ_TIMEOUT
static String
SHARED
Set to true to share the HTTP client between REST clients.static String
STATIC_HEADERS
static String
USER_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
-
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.DEFAULT
is 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
-
-