com.ning.http.client.providers.jdk
Class JDKAsyncHttpProviderConfig
java.lang.Object
com.ning.http.client.providers.jdk.JDKAsyncHttpProviderConfig
- All Implemented Interfaces:
- AsyncHttpProviderConfig<String,String>
public class JDKAsyncHttpProviderConfig
- extends Object
- implements AsyncHttpProviderConfig<String,String>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FORCE_RESPONSE_BUFFERING
public static final String FORCE_RESPONSE_BUFFERING
- See Also:
- Constant Field Values
JDKAsyncHttpProviderConfig
public JDKAsyncHttpProviderConfig()
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 propertyvalue
- 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.