org.apache.wink.client
Class AsyncHttpClientConfiguration

java.lang.Object
  extended by org.apache.wink.client.ClientConfig
      extended by org.apache.wink.client.AsyncHttpClientConfiguration
All Implemented Interfaces:
java.lang.Cloneable, org.apache.wink.common.internal.WinkConfiguration

public class AsyncHttpClientConfiguration
extends ClientConfig

Configure the AsyncHttpClient


Constructor Summary
AsyncHttpClientConfiguration()
           
AsyncHttpClientConfiguration(com.ning.http.client.AsyncHttpClient client)
           
 
Method Summary
protected  ConnectionHandler getConnectionHandler()
          Returns the client handler that acts as the connection handler.
 
Methods inherited from class org.apache.wink.client.ClientConfig
acceptHeaderAutoSet, applications, clone, connectTimeout, followRedirects, getApplications, getBypassHostnameVerification, getConnectTimeout, getHandlers, getProperties, getProxyHost, getProxyPort, getReadTimeout, handlers, isAcceptHeaderAutoSet, isFollowRedirects, isLoadWinkApplications, isSupportDTDExpansion, proxyHost, proxyPort, readTimeout, setBypassHostnameVerification, setLoadWinkApplications, setProperties, supportDTDExpansion
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncHttpClientConfiguration

public AsyncHttpClientConfiguration()

AsyncHttpClientConfiguration

public AsyncHttpClientConfiguration(com.ning.http.client.AsyncHttpClient client)
Method Detail

getConnectionHandler

protected ConnectionHandler getConnectionHandler()
Description copied from class: ClientConfig
Returns the client handler that acts as the connection handler. This handler is always the last handler on the chain and is automatically added to the end of the defined list of handlers.

This method should be overridden in order to provide an alternate connection handler.

Overrides:
getConnectionHandler in class ClientConfig
Returns:
the connection handler


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.