org.atmosphere.wasync.impl
Class ClientUtil

java.lang.Object
  extended by org.atmosphere.wasync.impl.ClientUtil

public class ClientUtil
extends java.lang.Object

Util class for building AsyncHttpClient

Author:
Jeanfrancois Arcand

Constructor Summary
ClientUtil()
           
 
Method Summary
static Socket create()
           
static Socket create(java.lang.Class<? extends Socket> socket)
           
static Socket create(Options options)
           
static Socket create(Options options, java.lang.Class<? extends Socket> socket)
           
static com.ning.http.client.AsyncHttpClient createDefaultAsyncHttpClient(int requestTimeoutInSeconds, com.ning.http.client.AsyncHttpProviderConfig asyncHttpProviderConfig)
           
static com.ning.http.client.AsyncHttpClient createDefaultAsyncHttpClient(Options o)
           
static com.ning.http.client.AsyncHttpClient createDefaultAsyncHttpClient(Options o, com.ning.http.client.AsyncHttpProviderConfig asyncHttpProviderConfig)
           
static Socket getSocket(Options options, java.lang.Class<? extends Socket> socket)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientUtil

public ClientUtil()
Method Detail

createDefaultAsyncHttpClient

public static final com.ning.http.client.AsyncHttpClient createDefaultAsyncHttpClient(Options o)

createDefaultAsyncHttpClient

public static final com.ning.http.client.AsyncHttpClient createDefaultAsyncHttpClient(Options o,
                                                                                      com.ning.http.client.AsyncHttpProviderConfig asyncHttpProviderConfig)

createDefaultAsyncHttpClient

public static final com.ning.http.client.AsyncHttpClient createDefaultAsyncHttpClient(int requestTimeoutInSeconds,
                                                                                      com.ning.http.client.AsyncHttpProviderConfig asyncHttpProviderConfig)

create

public static Socket create(Options options)

create

public static Socket create(Options options,
                            java.lang.Class<? extends Socket> socket)

getSocket

public static final Socket getSocket(Options options,
                                     java.lang.Class<? extends Socket> socket)

create

public static Socket create(java.lang.Class<? extends Socket> socket)

create

public static Socket create()


Copyright © 2014. All Rights Reserved.