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.TRANSPORT
builder
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. |
int |
getPaddingSize()
The padding size sent by Atmosphere
|
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, uri
protected 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.CACHE
public boolean isTrackMessageLength()
public boolean enableProtocol()
public String getTrackMessageLengthDelimiter()
public int getPaddingSize()
Copyright © 2015. All Rights Reserved.