public class JDKAsyncHttpProviderConfig extends Object implements AsyncHttpProviderConfig<String,String>
Modifier and Type | Field and Description |
---|---|
static String |
FORCE_RESPONSE_BUFFERING |
Constructor and Description |
---|
JDKAsyncHttpProviderConfig() |
Modifier and Type | Method and Description |
---|---|
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
|
public static final String FORCE_RESPONSE_BUFFERING
public AsyncHttpProviderConfig addProperty(String name, String value)
AsyncHttpProviderConfig
AsyncHttpProvider
addProperty
in interface AsyncHttpProviderConfig<String,String>
name
- the name of the propertyvalue
- the value of the propertypublic String getProperty(String name)
AsyncHttpProviderConfig
getProperty
in interface AsyncHttpProviderConfig<String,String>
public String removeProperty(String name)
AsyncHttpProviderConfig
removeProperty
in interface AsyncHttpProviderConfig<String,String>
public Set<Map.Entry<String,String>> propertiesSet()
AsyncHttpProviderConfig
propertiesSet
in interface AsyncHttpProviderConfig<String,String>
Copyright © 2014. All Rights Reserved.