Modifier and Type | Field and Description |
---|---|
static ConfigOption<String> |
ADDRESS
The address that should be used by clients to connect to the server.
|
static ConfigOption<Long> |
AWAIT_LEADER_TIMEOUT
The time in ms that the client waits for the leader address, e.g., Dispatcher or
WebMonitorEndpoint.
|
static ConfigOption<String> |
BIND_ADDRESS
The address that the server binds itself to.
|
static ConfigOption<String> |
BIND_PORT
The port range that the server could bind itself to.
|
static ConfigOption<Integer> |
CLIENT_MAX_CONTENT_LENGTH
The maximum content length that the client will handle.
|
static ConfigOption<Long> |
CONNECTION_TIMEOUT
The maximum time in ms for the client to establish a TCP connection.
|
static ConfigOption<Long> |
IDLENESS_TIMEOUT
The maximum time in ms for a connection to stay idle before failing.
|
static ConfigOption<Integer> |
PORT
The port that the REST client connects to and the REST server binds to if
BIND_PORT
has not been specified. |
static ConfigOption<Long> |
RETRY_DELAY
The time in ms that the client waits between retries.
|
static ConfigOption<Integer> |
RETRY_MAX_ATTEMPTS
The number of retries the client will attempt if a retryable operations fails.
|
static ConfigOption<Integer> |
SERVER_MAX_CONTENT_LENGTH
The maximum content length that the server will handle.
|
static ConfigOption<Integer> |
SERVER_NUM_THREADS |
static ConfigOption<Integer> |
SERVER_THREAD_PRIORITY |
Constructor and Description |
---|
RestOptions() |
public static final ConfigOption<String> BIND_ADDRESS
public static final ConfigOption<String> BIND_PORT
public static final ConfigOption<String> ADDRESS
public static final ConfigOption<Integer> PORT
BIND_PORT
has not been specified.public static final ConfigOption<Long> AWAIT_LEADER_TIMEOUT
public static final ConfigOption<Integer> RETRY_MAX_ATTEMPTS
RETRY_DELAY
public static final ConfigOption<Long> RETRY_DELAY
RETRY_MAX_ATTEMPTS
public static final ConfigOption<Long> CONNECTION_TIMEOUT
public static final ConfigOption<Long> IDLENESS_TIMEOUT
public static final ConfigOption<Integer> SERVER_MAX_CONTENT_LENGTH
public static final ConfigOption<Integer> CLIENT_MAX_CONTENT_LENGTH
public static final ConfigOption<Integer> SERVER_NUM_THREADS
public static final ConfigOption<Integer> SERVER_THREAD_PRIORITY
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.