com.ning.http.client.providers.netty
Class NettyAsyncHttpProviderConfig

java.lang.Object
  extended by com.ning.http.client.providers.netty.NettyAsyncHttpProviderConfig
All Implemented Interfaces:
AsyncHttpProviderConfig<String,Object>

public class NettyAsyncHttpProviderConfig
extends Object
implements AsyncHttpProviderConfig<String,Object>


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
 

Constructor Detail

NettyAsyncHttpProviderConfig

public NettyAsyncHttpProviderConfig()
Method Detail

addProperty

public NettyAsyncHttpProviderConfig addProperty(String name,
                                                Object value)
Add a property that will be used when the AsyncHttpClient initialize its AsyncHttpProvider

Specified by:
addProperty in interface AsyncHttpProviderConfig<String,Object>
Parameters:
name - the name of the property
value - the value of the property
Returns:
this instance of AsyncHttpProviderConfig

getProperty

public Object getProperty(String name)
Return the value associated with the property's name

Specified by:
getProperty in interface AsyncHttpProviderConfig<String,Object>
Parameters:
name -
Returns:
this instance of AsyncHttpProviderConfig

removeProperty

public Object removeProperty(String name)
Remove the value associated with the property's name

Specified by:
removeProperty in interface AsyncHttpProviderConfig<String,Object>
Parameters:
name -
Returns:
true if removed

propertiesSet

public Set<Map.Entry<String,Object>> propertiesSet()
Return the curent entry set.

Specified by:
propertiesSet in interface AsyncHttpProviderConfig<String,Object>
Returns:
a the curent entry set.


Copyright © 2010. All Rights Reserved.