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 java.lang.Object
implements NIOReactorPNames

This class implements an adaptor around the HttpParams interface to simplify manipulation of the NIO reactor specific parameters.
Note that the implements relation to NIOReactorPNames is for compatibility with existing application code only. References to the parameter names should use the interface, not this class.

Since:
4.0
Version:
$Revision: 613298 $
Author:
Oleg Kalnichevski
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(org.apache.http.params.HttpParams params)
           
static long getGracePeriod(org.apache.http.params.HttpParams params)
           
static long getSelectInterval(org.apache.http.params.HttpParams params)
           
static void setContentBufferSize(org.apache.http.params.HttpParams params, int size)
           
static void setGracePeriod(org.apache.http.params.HttpParams params, long ms)
           
static void setSelectInterval(org.apache.http.params.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(org.apache.http.params.HttpParams params)

setContentBufferSize

public static void setContentBufferSize(org.apache.http.params.HttpParams params,
                                        int size)

getSelectInterval

public static long getSelectInterval(org.apache.http.params.HttpParams params)

setSelectInterval

public static void setSelectInterval(org.apache.http.params.HttpParams params,
                                     long ms)

getGracePeriod

public static long getGracePeriod(org.apache.http.params.HttpParams params)

setGracePeriod

public static void setGracePeriod(org.apache.http.params.HttpParams params,
                                  long ms)


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