com.ning.http.client.providers.jdk
Class JDKAsyncHttpProviderConfig

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

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


Field Summary
static String FORCE_RESPONSE_BUFFERING
           
 
Constructor Summary
JDKAsyncHttpProviderConfig()
           
 
Method Summary
 AsyncHttpProviderConfig addProperty(String name, String value)
          Add a property that will be used when the AsyncHttpClient initialize its AsyncHttpProvider
 String getProperty(String name)
          Return the value associated with the property's name
 Set<Map.Entry<String,String>> propertiesSet()
          Return the curent entry set.
 String 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

FORCE_RESPONSE_BUFFERING

public static final String FORCE_RESPONSE_BUFFERING
See Also:
Constant Field Values
Constructor Detail

JDKAsyncHttpProviderConfig

public JDKAsyncHttpProviderConfig()
Method Detail

addProperty

public AsyncHttpProviderConfig addProperty(String name,
                                           String value)
Description copied from interface: AsyncHttpProviderConfig
Add a property that will be used when the AsyncHttpClient initialize its AsyncHttpProvider

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

getProperty

public String getProperty(String name)
Description copied from interface: AsyncHttpProviderConfig
Return the value associated with the property's name

Specified by:
getProperty in interface AsyncHttpProviderConfig<String,String>
Returns:
this instance of AsyncHttpProviderConfig

removeProperty

public String removeProperty(String name)
Description copied from interface: AsyncHttpProviderConfig
Remove the value associated with the property's name

Specified by:
removeProperty in interface AsyncHttpProviderConfig<String,String>
Returns:
true if removed

propertiesSet

public Set<Map.Entry<String,String>> propertiesSet()
Description copied from interface: AsyncHttpProviderConfig
Return the curent entry set.

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


Copyright © 2011. All Rights Reserved.