com.sun.jersey.client.apache.config
Class DefaultApacheHttpClientConfig

java.lang.Object
  extended by com.sun.jersey.api.client.config.DefaultClientConfig
      extended by com.sun.jersey.client.apache.config.DefaultApacheHttpClientConfig
All Implemented Interfaces:
ClientConfig, ApacheHttpClientConfig, FeaturesAndProperties

public class DefaultApacheHttpClientConfig
extends DefaultClientConfig
implements ApacheHttpClientConfig

A default client configuration for clients that utilizes the Apache HTTP client to send and receive HTTP request and responses.

This class may be extended for specific configuration purposes.

Author:
jorgeluisw@mac.com, Paul.Sandoz@Sun.Com

Field Summary
 
Fields inherited from interface com.sun.jersey.client.apache.config.ApacheHttpClientConfig
PROPERTY_CREDENTIALS_PROVIDER, PROPERTY_HANDLE_COOKIES, PROPERTY_HTTP_STATE, PROPERTY_INTERACTIVE, PROPERTY_PREEMPTIVE_AUTHENTICATION, PROPERTY_PROXY_URI
 
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
 
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
DefaultApacheHttpClientConfig()
           
 
Method Summary
 ApacheHttpClientState getState()
          Get the HTTP state.
 
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

DefaultApacheHttpClientConfig

public DefaultApacheHttpClientConfig()
Method Detail

getState

public ApacheHttpClientState getState()
Description copied from interface: ApacheHttpClientConfig
Get the HTTP state. Credentials may be set on the HTTP state.

If no state exists then an instance is created and added as the property ApacheHttpClientConfig.PROPERTY_HTTP_STATE.

Specified by:
getState in interface ApacheHttpClientConfig
Returns:
the HTTP state.


Copyright © 2013 Oracle Corporation. All Rights Reserved.