public class AtmosphereRequest extends DefaultRequest<AtmosphereRequest.AtmosphereRequestBuilder>
Request implementation to use with the Atmosphere Framework. Functionality
like track message length, broadcaster cache, etc. can be configured using this object. Make sure your server
is properly configured before changing the default.
AtmosphereRequest MUST NOT be shared between Socket instance because they hold information about the
Atmosphere Protocol like the UUID.| Modifier and Type | Class and Description |
|---|---|
static class |
AtmosphereRequest.AtmosphereRequestBuilder
A builder for
AtmosphereRequest. |
static class |
AtmosphereRequest.CACHE |
Request.METHOD, Request.TRANSPORTbuilder| Modifier | Constructor and Description |
|---|---|
protected |
AtmosphereRequest(AtmosphereRequest.AtmosphereRequestBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
enableProtocol()
True if the Atmosphere Protocol is enabled
|
AtmosphereRequest.CACHE |
getCacheType()
Return the
AtmosphereRequest.CACHE used. |
String |
getTrackMessageLengthDelimiter()
The delimiter used by the Atmosphere Framework when sending message length and message's size.
|
boolean |
isTrackMessageLength()
Is tracking message's length enabled.
|
decoders, encoders, functionResolver, headers, method, queryString, transport, uriprotected AtmosphereRequest(AtmosphereRequest.AtmosphereRequestBuilder builder)
public AtmosphereRequest.CACHE getCacheType()
AtmosphereRequest.CACHE used. The value must match the Atmosphere's Broadcaster cache implementation
of the server.AtmosphereRequest.CACHEpublic boolean isTrackMessageLength()
public boolean enableProtocol()
public String getTrackMessageLengthDelimiter()
Copyright © 2014. All Rights Reserved.