Package com.ning.http.client
Interface AsyncHttpProviderConfig<U,V>
- All Known Implementing Classes:
GrizzlyAsyncHttpProviderConfig
public interface AsyncHttpProviderConfig<U,V>
AsyncHttpProvider proprietary configurable properties. Note that properties are
AsyncHttpProvider dependent, so make sure you consult the AsyncHttpProvider's documentation
about what is supported and what's not.-
Method Summary
Modifier and TypeMethodDescriptionaddProperty(U name, V value) Add a property that will be used when the AsyncHttpClient initialize itsAsyncHttpProvidergetProperty(U name) Return the value associated with the property's nameReturn the curent entry set.removeProperty(U name) Remove the value associated with the property's name
-
Method Details
-
addProperty
Add a property that will be used when the AsyncHttpClient initialize itsAsyncHttpProvider- Parameters:
name- the name of the propertyvalue- the value of the property- Returns:
- this instance of AsyncHttpProviderConfig
-
getProperty
Return the value associated with the property's name- Parameters:
name-- Returns:
- this instance of AsyncHttpProviderConfig
-
removeProperty
Remove the value associated with the property's name- Parameters:
name-- Returns:
- true if removed
-
propertiesSet
Return the curent entry set.- Returns:
- a the curent entry set.
-