com.ning.http.client.providers.jdk
public class JDKAsyncHttpProviderConfig extends java.lang.Object implements AsyncHttpProviderConfig<java.lang.String,java.lang.String>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FORCE_RESPONSE_BUFFERING |
Constructor and Description |
---|
JDKAsyncHttpProviderConfig() |
Modifier and Type | Method and Description |
---|---|
AsyncHttpProviderConfig |
addProperty(java.lang.String name,
java.lang.String value)
Add a property that will be used when the AsyncHttpClient initialize its
AsyncHttpProvider |
java.lang.String |
getProperty(java.lang.String name)
Return the value associated with the property's name
|
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>> |
propertiesSet()
Return the curent entry set.
|
java.lang.String |
removeProperty(java.lang.String name)
Remove the value associated with the property's name
|
public static final java.lang.String FORCE_RESPONSE_BUFFERING
public AsyncHttpProviderConfig addProperty(java.lang.String name, java.lang.String value)
AsyncHttpProviderConfig
AsyncHttpProvider
addProperty
in interface AsyncHttpProviderConfig<java.lang.String,java.lang.String>
name
- the name of the propertyvalue
- the value of the propertypublic java.lang.String getProperty(java.lang.String name)
AsyncHttpProviderConfig
getProperty
in interface AsyncHttpProviderConfig<java.lang.String,java.lang.String>
public java.lang.String removeProperty(java.lang.String name)
AsyncHttpProviderConfig
removeProperty
in interface AsyncHttpProviderConfig<java.lang.String,java.lang.String>
public java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>> propertiesSet()
AsyncHttpProviderConfig
propertiesSet
in interface AsyncHttpProviderConfig<java.lang.String,java.lang.String>
Copyright © 2014. All Rights Reserved.