org.apache.http.nio.params
Class HttpNIOParams

java.lang.Object
  extended by org.apache.http.nio.params.HttpNIOParams

public final class HttpNIOParams
extends java.lang.Object

This class implements an adaptor around the HttpParams interface to simplify manipulation of the HTTP NIO specific parameters.

Since:
4.0
Version:
$Revision: 547977 $
Author:
Oleg Kalnichevski

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

CONTENT_BUFFER_SIZE

public static final java.lang.String CONTENT_BUFFER_SIZE
Determines the size of the content input / output buffers used to buffer data while receiving / transmitting HTTP messages.

This parameter expects a value of type Integer.

See Also:
Constant Field Values

SELECT_INTERVAL

public static final 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.

This parameter expects a value of type Long.

See Also:
Constant Field Values
Method Detail

getContentBufferSize

public static int getContentBufferSize(HttpParams params)

setContentBufferSize

public static void setContentBufferSize(HttpParams params,
                                        int size)

getSelectInterval

public static long getSelectInterval(HttpParams params)

setSelectInterval

public static void setSelectInterval(HttpParams params,
                                     long ms)


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.