A B C D E F G H I L M N O P Q R S T U V W

A

AtmosphereRequest - Class in org.atmosphere.wasync.impl
 
AtmosphereRequest(DefaultRequestBuilder) - Constructor for class org.atmosphere.wasync.impl.AtmosphereRequest
 
AtmosphereRequest.AtmosphereRequestBuilder - Class in org.atmosphere.wasync.impl
 
AtmosphereRequest.AtmosphereRequestBuilder() - Constructor for class org.atmosphere.wasync.impl.AtmosphereRequest.AtmosphereRequestBuilder
 

B

build() - Method in class org.atmosphere.wasync.impl.AtmosphereRequest.AtmosphereRequestBuilder
 
build() - Method in class org.atmosphere.wasync.impl.DefaultRequestBuilder
 
build() - Method in class org.atmosphere.wasync.Options.OptionsBuilder
 
build() - Method in class org.atmosphere.wasync.RequestBuilder
 
builder - Variable in class org.atmosphere.wasync.impl.DefaultRequest
 

C

cancel(boolean) - Method in class org.atmosphere.wasync.impl.DefaultFuture
 
canHandle(Request) - Method in interface org.atmosphere.wasync.Transport
Return true if the transport can handle the request.
canHandle(Request) - Method in class org.atmosphere.wasync.transport.StreamTransport
 
canHandle(Request) - Method in class org.atmosphere.wasync.transport.WebSocketTransport
 
charSet - Variable in class org.atmosphere.wasync.transport.StreamTransport
 
Client - Interface in org.atmosphere.wasync
An asynchronous client's implementation used to create Socket and Request.
ClientFactory - Class in org.atmosphere.wasync
Create a Client.
ClientFactory() - Constructor for class org.atmosphere.wasync.ClientFactory
 
close() - Method in class org.atmosphere.wasync.impl.DefaultSocket
 
close() - Method in class org.atmosphere.wasync.impl.DefaultSocket.InternalSocket
 
close() - Method in interface org.atmosphere.wasync.Socket
Close this Socket
close() - Method in interface org.atmosphere.wasync.Transport
Close the underlying transport}
close() - Method in class org.atmosphere.wasync.transport.StreamTransport
 
close() - Method in class org.atmosphere.wasync.transport.WebSocketTransport
 
close() - Method in class org.atmosphere.wasync.util.ReaderInputStream
Close the stream.
connect(RequestBuilder, List<Transport>) - Method in class org.atmosphere.wasync.impl.DefaultSocket
 
create() - Method in interface org.atmosphere.wasync.Client
Create a Socket
create(Options) - Method in interface org.atmosphere.wasync.Client
Create a Socket configured using the Options
create() - Method in class org.atmosphere.wasync.impl.DefaultClient
 
create(Options) - Method in class org.atmosphere.wasync.impl.DefaultClient
 

D

decode(U) - Method in interface org.atmosphere.wasync.Decoder
Decode the specified object of type U into object of type T
Decoder<U,T> - Interface in org.atmosphere.wasync
A decoder can be used to 'decode' the response's body.
decoder(Decoder) - Method in class org.atmosphere.wasync.RequestBuilder
Add a Decoder.
decoders() - Method in class org.atmosphere.wasync.impl.DefaultRequest
 
decoders() - Method in interface org.atmosphere.wasync.Request
The list of Decoder to use before the request is sent.
decoders - Variable in class org.atmosphere.wasync.RequestBuilder
 
DefaultClient - Class in org.atmosphere.wasync.impl
 
DefaultClient() - Constructor for class org.atmosphere.wasync.impl.DefaultClient
 
DefaultFunctionResolver - Class in org.atmosphere.wasync.impl
 
DefaultFunctionResolver() - Constructor for class org.atmosphere.wasync.impl.DefaultFunctionResolver
 
DefaultFuture - Class in org.atmosphere.wasync.impl
 
DefaultFuture(Socket) - Constructor for class org.atmosphere.wasync.impl.DefaultFuture
 
DefaultRequest - Class in org.atmosphere.wasync.impl
 
DefaultRequest(DefaultRequestBuilder) - Constructor for class org.atmosphere.wasync.impl.DefaultRequest
 
DefaultRequestBuilder - Class in org.atmosphere.wasync.impl
 
DefaultRequestBuilder() - Constructor for class org.atmosphere.wasync.impl.DefaultRequestBuilder
 
DefaultSocket - Class in org.atmosphere.wasync.impl
 
DefaultSocket(AsyncHttpClient, Options) - Constructor for class org.atmosphere.wasync.impl.DefaultSocket
 
DefaultSocket.InternalSocket - Class in org.atmosphere.wasync.impl
 
DefaultSocket.InternalSocket(WebSocket) - Constructor for class org.atmosphere.wasync.impl.DefaultSocket.InternalSocket
 
DefaultSocket.InternalSocket(AsyncHttpClient) - Constructor for class org.atmosphere.wasync.impl.DefaultSocket.InternalSocket
 
disableCache() - Static method in class org.atmosphere.wasync.util.TypeResolver
Disables the internal caching of TypeVariables.
done() - Method in interface org.atmosphere.wasync.Future
Mark the future done.
done() - Method in class org.atmosphere.wasync.impl.DefaultFuture
 

E

enableCache() - Static method in class org.atmosphere.wasync.util.TypeResolver
Enables the internal caching of TypeVariables.
encode(U) - Method in interface org.atmosphere.wasync.Encoder
Encode the object of type U into an object of type T.
Encoder<U,T> - Interface in org.atmosphere.wasync
Encode the request's body (or transform) of type U into an object of type T.
encoder(Encoder) - Method in class org.atmosphere.wasync.RequestBuilder
Add an Encoder.
encoders() - Method in class org.atmosphere.wasync.impl.DefaultRequest
 
encoders() - Method in interface org.atmosphere.wasync.Request
The list of Encoder to use before the request is sent.
encoders - Variable in class org.atmosphere.wasync.RequestBuilder
 

F

f - Variable in class org.atmosphere.wasync.transport.StreamTransport
 
fire(Object) - Method in interface org.atmosphere.wasync.Future
Send data to the remote Server.
fire(Object) - Method in class org.atmosphere.wasync.impl.DefaultFuture
 
fire(Object) - Method in class org.atmosphere.wasync.impl.DefaultSocket
 
fire(Object) - Method in interface org.atmosphere.wasync.Socket
Send data to the remote Server.
Function<T> - Interface in org.atmosphere.wasync
A function is asynchronously invoked when a response is received, complete or not.
function() - Method in class org.atmosphere.wasync.FunctionWrapper
 
Function.MESSAGE - Enum in org.atmosphere.wasync
 
functionName() - Method in class org.atmosphere.wasync.FunctionWrapper
 
FunctionResolver - Interface in org.atmosphere.wasync
FunctionResolver are useful for mapping received message with a Function.
functionResolver() - Method in class org.atmosphere.wasync.impl.DefaultRequest
 
functionResolver() - Method in interface org.atmosphere.wasync.Request
The FunctionResolver associated with that request.
functions - Variable in class org.atmosphere.wasync.transport.StreamTransport
 
FunctionWrapper - Class in org.atmosphere.wasync
A tupple which contains a Function and its associated functionName.
FunctionWrapper(String, Function<?>) - Constructor for class org.atmosphere.wasync.FunctionWrapper
 
Future - Interface in org.atmosphere.wasync
An internal Future implementation used by Transport to notify Socket when the transport has connected and available.
future(Future) - Method in interface org.atmosphere.wasync.Transport
The current Socket's Future
future(Future) - Method in class org.atmosphere.wasync.transport.StreamTransport
 
future(Future) - Method in class org.atmosphere.wasync.transport.WebSocketTransport
 

G

get() - Method in class org.atmosphere.wasync.impl.DefaultFuture
 
get(long, TimeUnit) - Method in class org.atmosphere.wasync.impl.DefaultFuture
 
getDefault() - Static method in class org.atmosphere.wasync.ClientFactory
Return the default Factory.
getTransport(Request) - Method in class org.atmosphere.wasync.impl.DefaultSocket
 

H

header(String, String) - Method in class org.atmosphere.wasync.RequestBuilder
Add a header.
headers() - Method in class org.atmosphere.wasync.impl.DefaultRequest
 
headers() - Method in interface org.atmosphere.wasync.Request
Return the list of headers
headers - Variable in class org.atmosphere.wasync.RequestBuilder
 

I

internalSocket() - Method in class org.atmosphere.wasync.impl.DefaultSocket
 
isCancelled() - Method in class org.atmosphere.wasync.impl.DefaultFuture
 
isDone() - Method in class org.atmosphere.wasync.impl.DefaultFuture
 

L

LongPollingTransport<T> - Class in org.atmosphere.wasync.transport
 
LongPollingTransport(Options, List<Decoder<?, ?>>, List<FunctionWrapper>, Request, AsyncHttpClient, FunctionResolver) - Constructor for class org.atmosphere.wasync.transport.LongPollingTransport
 

M

method() - Method in class org.atmosphere.wasync.impl.DefaultRequest
 
method() - Method in interface org.atmosphere.wasync.Request
The method
method - Variable in class org.atmosphere.wasync.RequestBuilder
 
method(Request.METHOD) - Method in class org.atmosphere.wasync.RequestBuilder
The method to use for connecting tho the remote server.

N

name() - Method in class org.atmosphere.wasync.transport.LongPollingTransport
 
name() - Method in interface org.atmosphere.wasync.Transport
The transport name
name() - Method in class org.atmosphere.wasync.transport.SSETransport
 
name() - Method in class org.atmosphere.wasync.transport.StreamTransport
 
name() - Method in class org.atmosphere.wasync.transport.WebSocketTransport
 
newClient() - Method in class org.atmosphere.wasync.ClientFactory
Return a new Client instance
newRequestBuilder() - Method in interface org.atmosphere.wasync.Client
Return a RequestBuilder
newRequestBuilder(Class<? extends RequestBuilder>) - Method in interface org.atmosphere.wasync.Client
Create a new RequestBuilder based on the class' implementation.
newRequestBuilder() - Method in class org.atmosphere.wasync.impl.DefaultClient
 
newRequestBuilder(Class<? extends RequestBuilder>) - Method in class org.atmosphere.wasync.impl.DefaultClient
 

O

on(T) - Method in interface org.atmosphere.wasync.Function
A function that will be invoked when a
on(Function<? extends Object>) - Method in class org.atmosphere.wasync.impl.DefaultSocket
 
on(String, Function<? extends Object>) - Method in class org.atmosphere.wasync.impl.DefaultSocket
 
on(Function<? extends Object>) - Method in interface org.atmosphere.wasync.Socket
Associate a Function with the Socket.
on(String, Function<? extends Object>) - Method in interface org.atmosphere.wasync.Socket
Associate a Function with the Socket.
onBodyPartReceived(HttpResponseBodyPart) - Method in class org.atmosphere.wasync.transport.StreamTransport
onBodyPartReceived(HttpResponseBodyPart) - Method in class org.atmosphere.wasync.transport.WebSocketTransport
onCompleted() - Method in class org.atmosphere.wasync.transport.StreamTransport
 
onCompleted() - Method in class org.atmosphere.wasync.transport.WebSocketTransport
onFailure(Throwable) - Method in class org.atmosphere.wasync.transport.WebSocketTransport
onHeadersReceived(HttpResponseHeaders) - Method in class org.atmosphere.wasync.transport.StreamTransport
onHeadersReceived(HttpResponseHeaders) - Method in class org.atmosphere.wasync.transport.WebSocketTransport
onStatusReceived(HttpResponseStatus) - Method in class org.atmosphere.wasync.transport.StreamTransport
onStatusReceived(HttpResponseStatus) - Method in class org.atmosphere.wasync.transport.WebSocketTransport
onSuccess(WebSocket) - Method in class org.atmosphere.wasync.transport.WebSocketTransport
onThrowable(Throwable) - Method in interface org.atmosphere.wasync.Transport
Called when an unexpected exception ocurred.
onThrowable(Throwable) - Method in class org.atmosphere.wasync.transport.StreamTransport
Called when an unexpected exception ocurred.
onThrowable(Throwable) - Method in class org.atmosphere.wasync.transport.WebSocketTransport
Called when an unexpected exception ocurred.
open(Request) - Method in class org.atmosphere.wasync.impl.DefaultSocket
 
open(Request) - Method in interface org.atmosphere.wasync.Socket
Connect to the remote Server using the Request's information.
Options - Class in org.atmosphere.wasync
Configure the underlying WebSocket/HTTP client.
Options.OptionsBuilder - Class in org.atmosphere.wasync
 
Options.OptionsBuilder() - Constructor for class org.atmosphere.wasync.Options.OptionsBuilder
 
org.atmosphere.wasync - package org.atmosphere.wasync
 
org.atmosphere.wasync.impl - package org.atmosphere.wasync.impl
 
org.atmosphere.wasync.transport - package org.atmosphere.wasync.transport
 
org.atmosphere.wasync.util - package org.atmosphere.wasync.util
 

P

pauseBeforeReconnectInSeconds(int) - Method in class org.atmosphere.wasync.Options.OptionsBuilder
The time in second, before the reconnection occurs.

Q

queryString() - Method in class org.atmosphere.wasync.impl.DefaultRequest
 
queryString() - Method in interface org.atmosphere.wasync.Request
Return the list of query params
queryString - Variable in class org.atmosphere.wasync.RequestBuilder
 
queryString(String, String) - Method in class org.atmosphere.wasync.RequestBuilder
Add a query param.

R

read(byte[], int, int) - Method in class org.atmosphere.wasync.util.ReaderInputStream
Read the specified number of bytes into an array.
read(byte[]) - Method in class org.atmosphere.wasync.util.ReaderInputStream
Read the specified number of bytes into an array.
read() - Method in class org.atmosphere.wasync.util.ReaderInputStream
Read a single byte.
ReaderInputStream - Class in org.atmosphere.wasync.util
InputStream implementation that reads a character stream from a Reader and transforms it to a byte stream using a specified charset encoding.
ReaderInputStream(Reader, CharsetEncoder) - Constructor for class org.atmosphere.wasync.util.ReaderInputStream
Construct a new ReaderInputStream.
ReaderInputStream(Reader, CharsetEncoder, int) - Constructor for class org.atmosphere.wasync.util.ReaderInputStream
Construct a new ReaderInputStream.
ReaderInputStream(Reader, Charset, int) - Constructor for class org.atmosphere.wasync.util.ReaderInputStream
Construct a new ReaderInputStream.
ReaderInputStream(Reader, Charset) - Constructor for class org.atmosphere.wasync.util.ReaderInputStream
Construct a new ReaderInputStream with a default input buffer size of 1024 characters.
ReaderInputStream(Reader, String, int) - Constructor for class org.atmosphere.wasync.util.ReaderInputStream
Construct a new ReaderInputStream.
ReaderInputStream(Reader, String) - Constructor for class org.atmosphere.wasync.util.ReaderInputStream
Construct a new ReaderInputStream with a default input buffer size of 1024 characters.
ReaderInputStream(Reader) - Constructor for class org.atmosphere.wasync.util.ReaderInputStream
Construct a new ReaderInputStream that uses the default character encoding with a default input buffer size of 1024 characters.
reconnect(boolean) - Method in class org.atmosphere.wasync.Options.OptionsBuilder
Automatically reconnect in case the connection get closed.
reconnect() - Method in class org.atmosphere.wasync.Options
 
reconnectInSeconds() - Method in class org.atmosphere.wasync.Options
 
registerF(FunctionWrapper) - Method in interface org.atmosphere.wasync.Transport
Register a new FunctionResolver
registerF(FunctionWrapper) - Method in class org.atmosphere.wasync.transport.StreamTransport
 
registerF(FunctionWrapper) - Method in class org.atmosphere.wasync.transport.WebSocketTransport
 
registerTransport(Transport) - Method in class org.atmosphere.wasync.Options.OptionsBuilder
Register a new Transport implementation.
request() - Method in class org.atmosphere.wasync.impl.DefaultSocket
 
Request - Interface in org.atmosphere.wasync
Define a request for Socket.
Request.METHOD - Enum in org.atmosphere.wasync
 
Request.TRANSPORT - Enum in org.atmosphere.wasync
 
RequestBuilder - Class in org.atmosphere.wasync
Construct a Request
RequestBuilder() - Constructor for class org.atmosphere.wasync.RequestBuilder
 
resolve(String, Object, FunctionWrapper) - Method in interface org.atmosphere.wasync.FunctionResolver
Resolve the current message with
resolve(String, Object, FunctionWrapper) - Method in class org.atmosphere.wasync.impl.DefaultFunctionResolver
 
resolveArgument(Class<I>, Class<T>) - Static method in class org.atmosphere.wasync.util.TypeResolver
Returns the raw class representing the type argument for the targetType resolved upwards from the initialType.
resolveArgument(Type, Class<?>) - Static method in class org.atmosphere.wasync.util.TypeResolver
Resolves the type argument for the genericType using type variable information from the sourceType.
resolveArguments(Class<I>, Class<T>) - Static method in class org.atmosphere.wasync.util.TypeResolver
Returns an array of raw classes representing type arguments for the targetType resolved upwards from the initialType.
resolveArguments(Type, Class<?>) - Static method in class org.atmosphere.wasync.util.TypeResolver
Resolves the arguments for the genericType using the type variable information for the targetType.
resolveBound(TypeVariable<?>) - Static method in class org.atmosphere.wasync.util.TypeResolver
Resolves the first bound for the typeVariable, returning Unknown.class if none can be resolved.
resolveClass(Type, Class<?>) - Static method in class org.atmosphere.wasync.util.TypeResolver
Resolves the raw class for the given genericType, using the type variable information from the targetType.
resolveGenericType(Type, Class<?>) - Static method in class org.atmosphere.wasync.util.TypeResolver
Resolves the generic Type for the targetType by walking the type hierarchy upwards from the initialType.
resolver - Variable in class org.atmosphere.wasync.RequestBuilder
 
resolver(FunctionResolver) - Method in class org.atmosphere.wasync.RequestBuilder
Add a FunctionResolver

S

socket() - Method in class org.atmosphere.wasync.impl.DefaultFuture
 
Socket - Interface in org.atmosphere.wasync
A Socket represent a connection to a remote server.
Socket.EVENT - Enum in org.atmosphere.wasync
 
SSETransport<T> - Class in org.atmosphere.wasync.transport
 
SSETransport(Options, List<Decoder<?, ?>>, List<FunctionWrapper>, FunctionResolver) - Constructor for class org.atmosphere.wasync.transport.SSETransport
 
StreamTransport<T> - Class in org.atmosphere.wasync.transport
 
StreamTransport(Options, List<Decoder<? extends Object, ?>>, List<FunctionWrapper>, FunctionResolver) - Constructor for class org.atmosphere.wasync.transport.StreamTransport
 

T

transport(Request.TRANSPORT) - Method in class org.atmosphere.wasync.impl.AtmosphereRequest.AtmosphereRequestBuilder
 
transport() - Method in class org.atmosphere.wasync.impl.DefaultRequest
 
transport() - Method in class org.atmosphere.wasync.Options
 
transport() - Method in interface org.atmosphere.wasync.Request
The list of transports to try
transport(Request.TRANSPORT) - Method in class org.atmosphere.wasync.RequestBuilder
The Request.TRANSPORT to use.
Transport<T> - Interface in org.atmosphere.wasync
Define a supported Transport.
transports - Variable in class org.atmosphere.wasync.RequestBuilder
 
TransportsUtil - Class in org.atmosphere.wasync.transport
 
TransportsUtil() - Constructor for class org.atmosphere.wasync.transport.TransportsUtil
 
TypeResolver - Class in org.atmosphere.wasync.util
Enhanced type resolution utilities.
TypeResolver.Unknown - Class in org.atmosphere.wasync.util
An unknown type.

U

uri() - Method in class org.atmosphere.wasync.impl.DefaultRequest
 
uri() - Method in interface org.atmosphere.wasync.Request
The targetted URI
uri - Variable in class org.atmosphere.wasync.RequestBuilder
 
uri(String) - Method in class org.atmosphere.wasync.RequestBuilder
The URI to connect to.

V

valueOf(String) - Static method in enum org.atmosphere.wasync.Function.MESSAGE
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.atmosphere.wasync.Request.METHOD
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.atmosphere.wasync.Request.TRANSPORT
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.atmosphere.wasync.Socket.EVENT
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.atmosphere.wasync.Function.MESSAGE
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.atmosphere.wasync.Request.METHOD
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.atmosphere.wasync.Request.TRANSPORT
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.atmosphere.wasync.Socket.EVENT
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitBeforeUnlocking - Variable in class org.atmosphere.wasync.Options.OptionsBuilder
 
waitBeforeUnlocking(long) - Method in class org.atmosphere.wasync.Options.OptionsBuilder
For streaming and long-polling, the server may not send the headers so the client never knows if the connection succeeded or not.
waitBeforeUnlocking() - Method in class org.atmosphere.wasync.Options
 
WebSocketTransport - Class in org.atmosphere.wasync.transport
 
WebSocketTransport(Options, List<Decoder<?, ?>>, List<FunctionWrapper>, FunctionResolver) - Constructor for class org.atmosphere.wasync.transport.WebSocketTransport
 
write(Request, Object) - Method in class org.atmosphere.wasync.impl.DefaultSocket.InternalSocket
 

A B C D E F G H I L M N O P Q R S T U V W

Copyright © 2012. All Rights Reserved.