public interface

AsyncHttpProviderConfig

com.ning.http.client.AsyncHttpProviderConfig<U, V>
Known Indirect Subclasses

Class Overview

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.

Summary

Public Methods
abstract AsyncHttpProviderConfig addProperty(U name, V value)
Add a property that will be used when the AsyncHttpClient initialize its AsyncHttpProvider
abstract V getProperty(U name)
Return the value associated with the property's name
abstract Set<Entry<U, V>> propertiesSet()
Return the curent entry set.
abstract V removeProperty(U name)
Remove the value associated with the property's name

Public Methods

public abstract AsyncHttpProviderConfig addProperty (U name, V value)

Add a property that will be used when the AsyncHttpClient initialize its AsyncHttpProvider

Parameters
name the name of the property
value the value of the property
Returns
  • this instance of AsyncHttpProviderConfig

public abstract V getProperty (U name)

Return the value associated with the property's name

Returns
  • this instance of AsyncHttpProviderConfig

public abstract Set<Entry<U, V>> propertiesSet ()

Return the curent entry set.

Returns
  • a the curent entry set.

public abstract V removeProperty (U name)

Remove the value associated with the property's name

Returns
  • true if removed