|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.nio.params.HttpNIOParams
public final class HttpNIOParams
This class implements an adaptor around the HttpParams
interface
to simplify manipulation of the HTTP NIO specific parameters.
Field Summary | |
---|---|
static java.lang.String |
CONTENT_BUFFER_SIZE
Determines the size of the content input / output buffers used to buffer data while receiving / transmitting HTTP messages. |
static java.lang.String |
SELECT_INTERVAL
Determines the time interval in milliseconds at which the I/O reactor wakes up to check for timed out sessions and session requests. |
Method Summary | |
---|---|
static int |
getContentBufferSize(HttpParams params)
|
static long |
getSelectInterval(HttpParams params)
|
static void |
setContentBufferSize(HttpParams params,
int size)
|
static void |
setSelectInterval(HttpParams params,
long ms)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CONTENT_BUFFER_SIZE
This parameter expects a value of type Integer
.
public static final java.lang.String SELECT_INTERVAL
This parameter expects a value of type Long
.
Method Detail |
---|
public static int getContentBufferSize(HttpParams params)
public static void setContentBufferSize(HttpParams params, int size)
public static long getSelectInterval(HttpParams params)
public static void setSelectInterval(HttpParams params, long ms)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |