|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ApplicationConfig
Web.xml init-param configuration supported by Atmosphere.
| Field Summary | |
|---|---|
static String |
ALLOW_QUERYSTRING_AS_REQUEST
Allow query string as set as request's header. |
static String |
ATMOSPHERE_EXCLUDED_FILE
Regex pattern for excluding file from being serviced by AtmosphereFilter |
static String |
ATMOSPHERE_HANDLER
Tell Atmosphere which AtmosphereHandler should be used. |
static String |
ATMOSPHERE_HANDLER_MAPPING
The AtmosphereHandler defined using the property will be mapped to that value. |
static String |
ATMOSPHERE_HANDLER_PATH
The location of classes implementing the AtmosphereHandler interface. |
static String |
ATMOSPHERE_INTERCEPTORS
A list of AtmosphereInterceptor class name that will be invoked before the AtmosphereResource
gets delivered to an application or framework |
static String |
ATMOSPHERE_RESOURCE
The Atmosphere resource to use. |
static String |
ATMOSPHERERESOURCE_INTERCEPTOR_METHOD
The method used that trigger automatic management of AtmosphereResource when the AtmosphereResourceLifecycleInterceptor
is used |
static String |
BACKWARD_COMPATIBLE_WEBSOCKET_BEHAVIOR
Before 1.0.12, WebSocket's AtmosphereResource manually added to Broadcaster where added without checking
if the parent, e.g the AtmosphereResource's created on the first request was already added to the Broadcaster. |
static String |
BROADCAST_FILTER_CLASSES
A list of BroadcastFilter separated with coma that will be added to every new Broadcaster |
static String |
BROADCASTER_ASYNC_WRITE_THREADPOOL_MAXSIZE
The maximum number of Thread created when writing requests BroadcasterConfig.setAsyncWriteService(java.util.concurrent.ExecutorService) |
static String |
BROADCASTER_CACHE
The default BroadcasterCache class. |
static String |
BROADCASTER_CACHE_STRATEGY
Define when a broadcasted message is cached. |
static String |
BROADCASTER_CLASS
The default Broadcaster class. |
static String |
BROADCASTER_FACTORY
The default BroadcasterFactory class. |
static String |
BROADCASTER_LIFECYCLE_POLICY
The BroadcasterLifeCyclePolicy policy to use |
static String |
BROADCASTER_LIFECYCLE_POLICY_IDLETIME
BroadcasterLifecycle max idle time before executing. |
static String |
BROADCASTER_MESSAGE_PROCESSING_THREADPOOL_MAXSIZE
The maximum number of Thread created when processing broadcast operations BroadcasterConfig.setExecutorService(java.util.concurrent.ExecutorService) |
static String |
BROADCASTER_SHARABLE_THREAD_POOLS
Configure Broadcaster to share the same ExecutorService instead among them. |
static String |
BROADCASTER_WAIT_TIME
The sleep time, in millisecond, before the DefaultBroadcaster release it's reactive thread for pushing message
and execute async write. |
static String |
DEFAULT_CONTENT_TYPE
The default content-type value used when Atmosphere requires one. |
static String |
DEFAULT_NAMED_DISPATCHER
The default Servlet used when forwarding request. |
static String |
DISABLE_ATMOSPHEREINTERCEPTOR
Disable au-discovery of pre-installed AtmosphereInterceptor |
static String |
DISABLE_ONSTATE_EVENT
Disable invoking AtmosphereHandler.onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent) when the connection times out or get cancelled |
static String |
DROP_ACCESS_CONTROL_ALLOW_ORIGIN_HEADER
Tell Atmosphere to not write the access-control header. |
static String |
FILTER_CLASS
The Filter's name where Meteor will be available |
static String |
FILTER_NAME
The Servlet's mapping value to the FILTER_CLASS |
static String |
JERSEY_CONTAINER_RESPONSE_WRITER_CLASS
Jersey's ContainerResponseWriter. |
static String |
MAPPING
The Servlet's mapping value to the SERVLET_CLASS |
static String |
MAX_INACTIVE
The maximum time, in milisecond, a connection gets idle. |
static String |
MESSAGE_DELIMITER
The token used to separate broadcasted messages. |
static String |
NO_CACHE_HEADERS
Tell Atmosphere to not write the no-cache header. |
static String |
OUT_OF_ORDER_BROADCAST
Set to true if order of message delivered to the client is not important |
static String |
PROPERTY_ATMOSPHERE_XML
The location of the atmosphere.xml file. |
static String |
PROPERTY_BLOCKING_COMETSUPPORT
Set Atmosphere to use the BlockingIOCometSupport, e.g blocking I/O |
static String |
PROPERTY_COMET_SUPPORT
Tell Atmosphere which AsyncSupport implementation to use. |
static String |
PROPERTY_NATIVE_COMETSUPPORT
Set Atmosphere to use the container native Comet support |
static String |
PROPERTY_SERVLET_MAPPING
The path that will be used to map request to Jersey |
static String |
PROPERTY_SESSION_SUPPORT
Tell Atmosphere to use HttpSession. |
static String |
PROPERTY_USE_STREAM
Force Atmosphere to use stream when writing bytes. |
static String |
RECOVER_DEAD_BROADCASTER
Recover from a Broadcaster that has been destroyed. |
static String |
RECYCLE_ATMOSPHERE_REQUEST_RESPONSE
Recycle (make them unusable) AtmosphereRequest/Response after wrapping a WebSocket message and delegating it to a Container |
static String |
RESUME_AND_KEEPALIVE
A request attribute used to tell AsyncSupport implementation to keep alive the connection or not. |
static String |
RESUME_ON_BROADCAST
Force Atmosphere to invoke AtmosphereResource.resume() after the first Broadcaster.broadcast(Object) invokation. |
static String |
RESUMED_ON_TIMEOUT
A request attribute telling a AsyncSupport if the AtmosphereResource was resumed on timeout or by an application. |
static String |
SERVLET_CLASS
The Servlet's name where Meteor will be available |
static String |
SHARED
Set to true if Atmosphere is used as a library and you don't want to destroy associated static factory when undeploying. |
static String |
SSE_CONTENT_TYPE
Tell Atmosphere the content-type to use when a WebSocket message is dispatched as an AtmosphereRequest |
static String |
STREAMING_PADDING_MODE
Configure the padding used when streaming is used. |
static String |
SUPPORT_LOCATION_HEADER
Support the Jersey location header for resuming. |
static String |
SUSPENDED_ATMOSPHERE_RESOURCE_UUID
The suspended UUID of the suspended connection which is the same as HeaderConfig.X_ATMOSPHERE_TRACKING_ID
but available to all transport. |
static String |
TOMCAT_CLOSE_STREAM
Prevent Tomcat from closing connection when inputStream#read() reach the end of the stream, as documented in the tomcat documentation |
static String |
UNIQUE_UUID_WEBSOCKET
Use a unique uuid for all WebSocket message delivered on the same connection. |
static String |
USE_SERVLET_WRAPPER
Wrap the request/response with associated HttpServletRequest and
HttpServletResponse |
static String |
WEB_SOCKET_BANNED_VERSION
WebSocket version to exclude and downgrade to comet. |
static String |
WEBSOCKET_BINARY_WRITE
Write binary instead of String |
static String |
WEBSOCKET_BUFFER_SIZE
Tell Atmosphere the WebSocket write buffer size. |
static String |
WEBSOCKET_CONTENT_TYPE
Tell Atmosphere the content-type to use when a WebSocket message is dispatched as an AtmosphereRequest |
static String |
WEBSOCKET_IDLETIME
Tell Atmosphere how long a WebSocket connection can stay idle. |
static String |
WEBSOCKET_MAXBINARYSIZE
Set the WebSocket mas text size: size<0 No aggregation of frames to messages, >=0 max size of text frame aggregation buffer in characters |
static String |
WEBSOCKET_MAXTEXTSIZE
Set the WebSocket mas text size: size<0 No aggregation of frames to messages, >=0 max size of text frame aggregation buffer in characters |
static String |
WEBSOCKET_METHOD
Tell Atmosphere the method to use when a WebSocket message is dispatched as an AtmosphereRequest |
static String |
WEBSOCKET_PATH_DELIMITER
Tell Atmosphere the path delimiter to use when a WebSocket message contains the path as it first line. |
static String |
WEBSOCKET_PROCESSOR
Tell Atmosphere the WebSocketProcessor to use. |
static String |
WEBSOCKET_PROTOCOL
Tell Atmosphere the WebSocketProcessor to use. |
static String |
WEBSOCKET_PROTOCOL_EXECUTION
Execute the WebSocketProtocol.onMessage(org.atmosphere.websocket.WebSocket, byte[], int, int) |
static String |
WEBSOCKET_REQUIRE_SAME_ORIGIN
Tell Atmosphere to enforce the same origin policy for all incoming WebSocket handshakes. |
static String |
WEBSOCKET_SUPPORT
Force Atmosphere to use WebSocket |
static String |
WEBSOCKET_SUPPORT_SERVLET3
Force Atmosphere to use WebSocket + Servlet 30 API |
static String |
WRITE_TIMEOUT
The write operation timeout |
| Field Detail |
|---|
static final String PROPERTY_ATMOSPHERE_XML
static final String PROPERTY_SERVLET_MAPPING
static final String PROPERTY_BLOCKING_COMETSUPPORT
BlockingIOCometSupport, e.g blocking I/O
static final String PROPERTY_NATIVE_COMETSUPPORT
static final String WEBSOCKET_SUPPORT
static final String WEBSOCKET_SUPPORT_SERVLET3
static final String PROPERTY_USE_STREAM
static final String BROADCASTER_FACTORY
BroadcasterFactory class.
static final String BROADCASTER_CLASS
Broadcaster class.
static final String BROADCASTER_CACHE
BroadcasterCache class.
static final String PROPERTY_COMET_SUPPORT
AsyncSupport implementation to use.
static final String PROPERTY_SESSION_SUPPORT
HttpSession. Default is false.
static final String RESUME_ON_BROADCAST
AtmosphereResource.resume() after the first Broadcaster.broadcast(Object) invokation.
static final String DEFAULT_NAMED_DISPATCHER
static final String NO_CACHE_HEADERS
static final String DROP_ACCESS_CONTROL_ALLOW_ORIGIN_HEADER
static final String BROADCASTER_LIFECYCLE_POLICY
BroadcasterLifeCyclePolicy policy to use
static final String WEBSOCKET_PROCESSOR
WebSocketProcessor to use.
static final String WEBSOCKET_PROTOCOL
WebSocketProcessor to use.
static final String WEBSOCKET_CONTENT_TYPE
static final String SSE_CONTENT_TYPE
static final String WEBSOCKET_METHOD
static final String WEBSOCKET_IDLETIME
static final String WEBSOCKET_BUFFER_SIZE
static final String WEBSOCKET_PATH_DELIMITER
static final String WEBSOCKET_MAXTEXTSIZE
static final String WEBSOCKET_MAXBINARYSIZE
static final String WEBSOCKET_REQUIRE_SAME_ORIGIN
static final String ATMOSPHERE_RESOURCE
static final String BROADCAST_FILTER_CLASSES
BroadcastFilter separated with coma that will be added to every new Broadcaster
static final String RESUME_AND_KEEPALIVE
AsyncSupport implementation to keep alive the connection or not. Default is to delegate the talk to the underlying WebServer.
static final String RESUMED_ON_TIMEOUT
AsyncSupport if the AtmosphereResource was resumed on timeout or by an application. This attribute is for WebServer that doesn't support times out (like Jetty 6)
static final String DISABLE_ONSTATE_EVENT
AtmosphereHandler.onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent) when the connection times out or get cancelled
static final String MAX_INACTIVE
static final String ALLOW_QUERYSTRING_AS_REQUEST
static final String STREAMING_PADDING_MODE
AtmosphereResourceImpl.createStreamingPadding(String) ()}
static final String BROADCASTER_SHARABLE_THREAD_POOLS
Broadcaster to share the same ExecutorService instead among them. Default is false.
static final String BROADCASTER_MESSAGE_PROCESSING_THREADPOOL_MAXSIZE
BroadcasterConfig.setExecutorService(java.util.concurrent.ExecutorService)
static final String BROADCASTER_ASYNC_WRITE_THREADPOOL_MAXSIZE
BroadcasterConfig.setAsyncWriteService(java.util.concurrent.ExecutorService)
static final String BROADCASTER_LIFECYCLE_POLICY_IDLETIME
static final String RECOVER_DEAD_BROADCASTER
Broadcaster that has been destroyed. Default is true.
static final String ATMOSPHERE_HANDLER
static final String ATMOSPHERE_HANDLER_MAPPING
static final String SERVLET_CLASS
Meteor will be available
static final String FILTER_CLASS
Meteor will be available
static final String MAPPING
static final String FILTER_NAME
static final String BROADCASTER_CACHE_STRATEGY
static final String SUPPORT_LOCATION_HEADER
static final String WEB_SOCKET_BANNED_VERSION
static final String TOMCAT_CLOSE_STREAM
static final String WEBSOCKET_BINARY_WRITE
static final String RECYCLE_ATMOSPHERE_REQUEST_RESPONSE
static final String ATMOSPHERE_HANDLER_PATH
AtmosphereHandler interface. Default to "/WEB-INF/classes".
static final String JERSEY_CONTAINER_RESPONSE_WRITER_CLASS
static final String WEBSOCKET_PROTOCOL_EXECUTION
WebSocketProtocol.onMessage(org.atmosphere.websocket.WebSocket, byte[], int, int)
static final String DEFAULT_CONTENT_TYPE
static final String USE_SERVLET_WRAPPER
HttpServletRequest and
HttpServletResponse
static final String ATMOSPHERE_INTERCEPTORS
AtmosphereInterceptor class name that will be invoked before the AtmosphereResource
gets delivered to an application or framework
static final String ATMOSPHERE_EXCLUDED_FILE
AtmosphereFilter
static final String MESSAGE_DELIMITER
static final String ATMOSPHERERESOURCE_INTERCEPTOR_METHOD
AtmosphereResource when the AtmosphereResourceLifecycleInterceptor
is used
static final String DISABLE_ATMOSPHEREINTERCEPTOR
AtmosphereInterceptor
static final String SHARED
static final String SUSPENDED_ATMOSPHERE_RESOURCE_UUID
HeaderConfig.X_ATMOSPHERE_TRACKING_ID
but available to all transport.
static final String UNIQUE_UUID_WEBSOCKET
static final String OUT_OF_ORDER_BROADCAST
static final String WRITE_TIMEOUT
static final String BROADCASTER_WAIT_TIME
DefaultBroadcaster release it's reactive thread for pushing message
and execute async write. Default is 1000
static final String BACKWARD_COMPATIBLE_WEBSOCKET_BEHAVIOR
Broadcaster where added without checking
if the parent, e.g the AtmosphereResource's created on the first request was already added to the Broadcaster. That caused
some messages to be written twice instead of one.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||