NIOReactorPNamesIOReactorConfig@Deprecated public final class NIOReactorParams extends java.lang.Object implements NIOReactorPNames
HttpParams.NIOReactorPNamesCONTENT_BUFFER_SIZE, GRACE_PERIOD, INTEREST_OPS_QUEUEING, SELECT_INTERVAL| Modifier and Type | Method | Description |
|---|---|---|
static int |
getContentBufferSize(org.apache.http.params.HttpParams params) |
Deprecated.
Obtains the value of
NIOReactorPNames.CONTENT_BUFFER_SIZE parameter. |
static long |
getGracePeriod(org.apache.http.params.HttpParams params) |
Deprecated.
Obtains the value of
NIOReactorPNames.GRACE_PERIOD parameter. |
static boolean |
getInterestOpsQueueing(org.apache.http.params.HttpParams params) |
Deprecated.
Obtains the value of
NIOReactorPNames.INTEREST_OPS_QUEUEING parameter. |
static long |
getSelectInterval(org.apache.http.params.HttpParams params) |
Deprecated.
Obtains the value of
NIOReactorPNames.SELECT_INTERVAL parameter. |
static void |
setContentBufferSize(org.apache.http.params.HttpParams params,
int size) |
Deprecated.
Sets value of the
NIOReactorPNames.CONTENT_BUFFER_SIZE parameter. |
static void |
setGracePeriod(org.apache.http.params.HttpParams params,
long ms) |
Deprecated.
Sets value of the
NIOReactorPNames.GRACE_PERIOD parameter. |
static void |
setInterestOpsQueueing(org.apache.http.params.HttpParams params,
boolean interestOpsQueueing) |
Deprecated.
Sets value of the
NIOReactorPNames.INTEREST_OPS_QUEUEING parameter. |
static void |
setSelectInterval(org.apache.http.params.HttpParams params,
long ms) |
Deprecated.
Sets value of the
NIOReactorPNames.SELECT_INTERVAL parameter. |
public static int getContentBufferSize(org.apache.http.params.HttpParams params)
NIOReactorPNames.CONTENT_BUFFER_SIZE parameter.
If not set, defaults to 4096.params - HTTP parameters.public static void setContentBufferSize(org.apache.http.params.HttpParams params,
int size)
NIOReactorPNames.CONTENT_BUFFER_SIZE parameter.params - HTTP parameters.size - content buffer size.public static long getSelectInterval(org.apache.http.params.HttpParams params)
NIOReactorPNames.SELECT_INTERVAL parameter.
If not set, defaults to 1000.params - HTTP parameters.public static void setSelectInterval(org.apache.http.params.HttpParams params,
long ms)
NIOReactorPNames.SELECT_INTERVAL parameter.params - HTTP parameters.ms - I/O select interval in milliseconds.public static long getGracePeriod(org.apache.http.params.HttpParams params)
NIOReactorPNames.GRACE_PERIOD parameter.
If not set, defaults to 500.params - HTTP parameters.public static void setGracePeriod(org.apache.http.params.HttpParams params,
long ms)
NIOReactorPNames.GRACE_PERIOD parameter.params - HTTP parameters.ms - shutdown grace period in milliseconds.public static boolean getInterestOpsQueueing(org.apache.http.params.HttpParams params)
NIOReactorPNames.INTEREST_OPS_QUEUEING parameter.
If not set, defaults to false.params - HTTP parameters.public static void setInterestOpsQueueing(org.apache.http.params.HttpParams params,
boolean interestOpsQueueing)
NIOReactorPNames.INTEREST_OPS_QUEUEING parameter.params - HTTP parameters.interestOpsQueueing - interest ops queuing.