org.apache.http.nio.params
Class NIOReactorParams

java.lang.Object
  extended by org.apache.http.nio.params.NIOReactorParams
All Implemented Interfaces:
NIOReactorPNames

public final class NIOReactorParams
extends Object
implements NIOReactorPNames

Utility class for accessing I/O reactor parameters in HttpParams.

Since:
4.0
Version:
$Revision: 744543 $
See Also:
NIOReactorPNames

Field Summary
 
Fields inherited from interface org.apache.http.nio.params.NIOReactorPNames
CONTENT_BUFFER_SIZE, GRACE_PERIOD, SELECT_INTERVAL
 
Method Summary
static int getContentBufferSize(HttpParams params)
           
static long getGracePeriod(HttpParams params)
           
static long getSelectInterval(HttpParams params)
           
static void setContentBufferSize(HttpParams params, int size)
           
static void setGracePeriod(HttpParams params, long ms)
           
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
 

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)

getGracePeriod

public static long getGracePeriod(HttpParams params)

setGracePeriod

public static void setGracePeriod(HttpParams params,
                                  long ms)


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