org.sonatype.spice.jersey.client.ahc.config
Class DefaultAhcConfig

java.lang.Object
  extended by com.sun.jersey.api.client.config.DefaultClientConfig
      extended by org.sonatype.spice.jersey.client.ahc.config.DefaultAhcConfig
All Implemented Interfaces:
com.sun.jersey.api.client.config.ClientConfig, com.sun.jersey.core.util.FeaturesAndProperties, AhcConfig

public class DefaultAhcConfig
extends com.sun.jersey.api.client.config.DefaultClientConfig
implements AhcConfig


Field Summary
 
Fields inherited from interface com.sun.jersey.api.client.config.ClientConfig
PROPERTY_BUFFER_RESPONSE_ENTITY_ON_EXCEPTION, PROPERTY_CHUNKED_ENCODING_SIZE, PROPERTY_CONNECT_TIMEOUT, PROPERTY_FOLLOW_REDIRECTS, PROPERTY_READ_TIMEOUT, PROPERTY_THREADPOOL_SIZE
 
Fields inherited from interface com.sun.jersey.core.util.FeaturesAndProperties
FEATURE_DISABLE_XML_SECURITY, FEATURE_FORMATTED, FEATURE_PRE_1_4_PROVIDER_PRECEDENCE, FEATURE_XMLROOTELEMENT_PROCESSING
 
Constructor Summary
DefaultAhcConfig()
           
 
Method Summary
 com.ning.http.client.AsyncHttpClientConfig.Builder getAsyncHttpClientConfigBuilder()
          Get the AsyncHttpClientConfig.Builder config object.
 
Methods inherited from class com.sun.jersey.api.client.config.DefaultClientConfig
getClasses, getFeature, getFeatures, getProperties, getProperty, getPropertyAsFeature, getSingletons
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.jersey.api.client.config.ClientConfig
getClasses, getPropertyAsFeature, getSingletons
 
Methods inherited from interface com.sun.jersey.core.util.FeaturesAndProperties
getFeature, getFeatures, getProperties, getProperty
 

Constructor Detail

DefaultAhcConfig

public DefaultAhcConfig()
Method Detail

getAsyncHttpClientConfigBuilder

public com.ning.http.client.AsyncHttpClientConfig.Builder getAsyncHttpClientConfigBuilder()
Description copied from interface: AhcConfig
Get the AsyncHttpClientConfig.Builder config object. Credentials may be set on the it.

Specified by:
getAsyncHttpClientConfigBuilder in interface AhcConfig
Returns:
the AsyncHttpClientConfig.Builder


Copyright © 2012. All Rights Reserved.