- 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
-
- ReaderInputStream(Reader, CharsetEncoder, int) - Constructor for class org.atmosphere.wasync.util.ReaderInputStream
-
- ReaderInputStream(Reader, Charset, int) - Constructor for class org.atmosphere.wasync.util.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
-
- 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() - Method in class org.atmosphere.wasync.impl.DefaultOptions
-
Reconnect after a network failure or when the server close the connection.
- reconnect() - Method in interface org.atmosphere.wasync.Options
-
Reconnect after a network failure or when the server close the connection.
- reconnect(boolean) - Method in class org.atmosphere.wasync.OptionsBuilder
-
Automatically reconnect in case the connection get closed.
- reconnect() - Method in class org.atmosphere.wasync.OptionsBuilder
-
Reconnect after a network failure or when the server close the connection.
- reconnectAttempts() - Method in class org.atmosphere.wasync.impl.DefaultOptions
-
Maximum reconnection attempts that will run in the interval defined by #reconnectInSeconds
- reconnectAttempts() - Method in interface org.atmosphere.wasync.Options
-
Maximum reconnection attempts that will run in the interval defined by #reconnectInSeconds
- reconnectAttempts(int) - Method in class org.atmosphere.wasync.OptionsBuilder
-
Maximum reconnection attempts that will be executed if the connection is lost.
- reconnectAttempts() - Method in class org.atmosphere.wasync.OptionsBuilder
-
Maximum reconnection attempts that will be executed if the connection is lost.
- reconnectTimeoutInMilliseconds() - Method in class org.atmosphere.wasync.impl.DefaultOptions
-
The delay, in milliseconds, before reconnecting.
- reconnectTimeoutInMilliseconds() - Method in interface org.atmosphere.wasync.Options
-
The delay, in milliseconds, before reconnecting.
- reconnectTimeoutInMilliseconds() - Method in class org.atmosphere.wasync.OptionsBuilder
-
The delay, in milliseconds, before reconnecting.
- registerF(FunctionWrapper) - Method in interface org.atmosphere.wasync.Transport
-
- 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.OptionsBuilder
-
- ReplayDecoder - Interface in org.atmosphere.wasync
-
A
Decoder
that always return a List of message to be dispatched one by one to the remaining list of Decoder.
- request - Variable in class org.atmosphere.wasync.impl.DefaultSocket
-
- request() - Method in class org.atmosphere.wasync.impl.DefaultSocket
-
- Request - Interface in org.atmosphere.wasync
-
- request - Variable in class org.atmosphere.wasync.transport.StreamTransport
-
- Request.METHOD - Enum in org.atmosphere.wasync
-
- Request.TRANSPORT - Enum in org.atmosphere.wasync
-
- RequestBuilder<T extends RequestBuilder<T>> - Class in org.atmosphere.wasync
-
- RequestBuilder(Class<T>) - Constructor for class org.atmosphere.wasync.RequestBuilder
-
- requestBuilder - Variable in class org.atmosphere.wasync.transport.StreamTransport
-
- requestTimeoutInSeconds() - Method in class org.atmosphere.wasync.impl.DefaultOptions
-
The time, in seconds to wait before closing the connection.
- requestTimeoutInSeconds() - Method in interface org.atmosphere.wasync.Options
-
The time, in seconds to wait before closing the connection.
- requestTimeoutInSeconds(int) - Method in class org.atmosphere.wasync.OptionsBuilder
-
The time, in seconds, the connection will stay open when waiting for new messages.
- requestTimeoutInSeconds() - Method in class org.atmosphere.wasync.OptionsBuilder
-
The time, in seconds to wait before closing the connection.
- reset() - Method in class org.atmosphere.wasync.impl.DefaultFuture
-
- resolve(String, Object, FunctionWrapper) - Method in interface org.atmosphere.wasync.FunctionResolver
-
Resolve the current message
- 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
-
- resolver() - Method in class org.atmosphere.wasync.RequestBuilder
-
- resolver - Variable in class org.atmosphere.wasync.transport.StreamTransport
-
- rootFuture - Variable in class org.atmosphere.wasync.impl.SocketRuntime
-
- runtime() - Method in class org.atmosphere.wasync.impl.DefaultOptions
-
The AsyncHttpClient
used to communicate with server.
- runtime(AsyncHttpClient) - Method in class org.atmosphere.wasync.impl.DefaultOptions
-
- runtime() - Method in interface org.atmosphere.wasync.Options
-
The AsyncHttpClient
used to communicate with server.
- runtime(AsyncHttpClient) - Method in interface org.atmosphere.wasync.Options
-
Set the AsyncHttpClient
.
- runtime(AsyncHttpClient) - Method in class org.atmosphere.wasync.OptionsBuilder
-
Allow an application that want to share AsyncHttpClient
or configure it before it gets used
by the library.
- runtime(AsyncHttpClient, boolean) - Method in class org.atmosphere.wasync.OptionsBuilder
-
Allow an application that want to share AsyncHttpClient
or configure it before it gets used
by the library.
- runtime() - Method in class org.atmosphere.wasync.OptionsBuilder
-
The AsyncHttpClient
used to communicate with server.
- runtimeShared() - Method in class org.atmosphere.wasync.impl.DefaultOptions
-
Return true is the
AsyncHttpClient
is shared between
Socket
.
- runtimeShared() - Method in interface org.atmosphere.wasync.Options
-
Return true is the
AsyncHttpClient
is shared between
Socket
.
- runtimeShared(boolean) - Method in class org.atmosphere.wasync.OptionsBuilder
-
Set to true if your AsyncHttpClient is shared between clients.
- runtimeShared() - Method in class org.atmosphere.wasync.OptionsBuilder
-
Return true is the
AsyncHttpClient
is shared between
Socket
.
- valueOf(String) - Static method in enum org.atmosphere.wasync.Decoder.Decoded.ACTION
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.atmosphere.wasync.Event
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.atmosphere.wasync.impl.AtmosphereRequest.CACHE
-
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.STATUS
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.atmosphere.wasync.Decoder.Decoded.ACTION
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.atmosphere.wasync.Event
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.atmosphere.wasync.impl.AtmosphereRequest.CACHE
-
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.STATUS
-
Returns an array containing the constants of this enum type, in
the order they are declared.