public class ApacheAsyncHttpProviderConfig extends Object implements AsyncHttpProviderConfig<String,String>
| Constructor and Description |
|---|
ApacheAsyncHttpProviderConfig() |
| 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
|
ScheduledExecutorService |
getReaper() |
Set<Map.Entry<String,String>> |
propertiesSet()
Return the curent entry set.
|
String |
removeProperty(String name)
Remove the value associated with the property's name
|
void |
setReaper(ScheduledExecutorService reaper) |
public AsyncHttpProviderConfig addProperty(String name, String value)
AsyncHttpProviderConfigAsyncHttpProvideraddProperty in interface AsyncHttpProviderConfig<String,String>name - the name of the propertyvalue - the value of the propertypublic String getProperty(String name)
AsyncHttpProviderConfiggetProperty in interface AsyncHttpProviderConfig<String,String>public String removeProperty(String name)
AsyncHttpProviderConfigremoveProperty in interface AsyncHttpProviderConfig<String,String>public Set<Map.Entry<String,String>> propertiesSet()
AsyncHttpProviderConfigpropertiesSet in interface AsyncHttpProviderConfig<String,String>public void setReaper(ScheduledExecutorService reaper)
public ScheduledExecutorService getReaper()
Copyright © 2014. All Rights Reserved.