|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ning.http.client.providers.netty.NettyAsyncHttpProviderConfig
public class NettyAsyncHttpProviderConfig
This class can be used to pass Netty's internal configuration options. See Netty documentation for more information.
Field Summary | |
---|---|
static String |
BOSS_EXECUTOR_SERVICE
Allow configuring the Netty's boss executor service. |
static String |
DISABLE_NESTED_REQUEST
Allow nested request from any AsyncHandler |
static String |
EXECUTE_ASYNC_CONNECT
Execute the connect operation asynchronously. |
static String |
REUSE_ADDRESS
See Socket.setReuseAddress(boolean) |
static String |
USE_BLOCKING_IO
Use Netty's blocking IO stategy. |
static String |
USE_DIRECT_BYTEBUFFER
Use direct ByteBuffer |
Constructor Summary | |
---|---|
NettyAsyncHttpProviderConfig()
|
Method Summary | |
---|---|
NettyAsyncHttpProviderConfig |
addProperty(String name,
Object value)
Add a property that will be used when the AsyncHttpClient initialize its AsyncHttpProvider |
Object |
getProperty(String name)
Return the value associated with the property's name |
Set<Map.Entry<String,Object>> |
propertiesSet()
Return the curent entry set. |
Object |
removeProperty(String name)
Remove the value associated with the property's name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String USE_BLOCKING_IO
public static final String USE_DIRECT_BYTEBUFFER
ByteBuffer
public static final String EXECUTE_ASYNC_CONNECT
public static final String DISABLE_NESTED_REQUEST
AsyncHandler
public static final String BOSS_EXECUTOR_SERVICE
public static final String REUSE_ADDRESS
Socket.setReuseAddress(boolean)
Constructor Detail |
---|
public NettyAsyncHttpProviderConfig()
Method Detail |
---|
public NettyAsyncHttpProviderConfig addProperty(String name, Object value)
AsyncHttpProvider
addProperty
in interface AsyncHttpProviderConfig<String,Object>
name
- the name of the propertyvalue
- the value of the property
public Object getProperty(String name)
getProperty
in interface AsyncHttpProviderConfig<String,Object>
name
-
public Object removeProperty(String name)
removeProperty
in interface AsyncHttpProviderConfig<String,Object>
name
-
public Set<Map.Entry<String,Object>> propertiesSet()
propertiesSet
in interface AsyncHttpProviderConfig<String,Object>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |