public interface ApplicationConfig
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALLOW_CORE_THREAD_TIMEOUT
Time out threads created by the
ExecutorsFactory. |
static java.lang.String |
ALLOW_QUERYSTRING_AS_REQUEST
Allow query string as set as request's header.
|
static java.lang.String |
ANALYTICS
Disable Google Analytics.
|
static java.lang.String |
ANNOTATION_PACKAGE
A list, separated by comma, of package name to scan when looking for Atmosphere's component annotated with Atmosphere's annotation.
|
static java.lang.String |
ANNOTATION_PROCESSOR
The annotation processor.
|
static java.lang.String |
ATMOSPHERE_EXCLUDED_FILE
Regex pattern for excluding file from being serviced by
AtmosphereFilter. |
static java.lang.String |
ATMOSPHERE_HANDLER
Tell Atmosphere which AtmosphereHandler should be used.
|
static java.lang.String |
ATMOSPHERE_HANDLER_MAPPING
The AtmosphereHandler defined using the property will be mapped to that value.
|
static java.lang.String |
ATMOSPHERE_HANDLER_PATH
The location of classes implementing the
AtmosphereHandler interface. |
static java.lang.String |
ATMOSPHERE_INTERCEPTORS
A list of
AtmosphereInterceptor class name that will be invoked before the AtmosphereResource
gets delivered to an application or framework. |
static java.lang.String |
ATMOSPHERE_RESOURCE
The
AtmosphereResource. |
static java.lang.String |
ATMOSPHERERESOURCE_INTERCEPTOR_METHOD
The method used that trigger automatic management of
AtmosphereResource when the AtmosphereResourceLifecycleInterceptor
is used. |
static java.lang.String |
ATMOSPHERERESOURCE_INTERCEPTOR_TIMEOUT
The timeout, in second, for configuring the time an AtmosphereResource is suspended.
|
static java.lang.String |
AUTODETECT_BROADCASTER
Scan the classpath to find
Broadcaster
Default: true)Value: org.atmosphere.cpr.Broadcaster.scanClassPath |
static java.lang.String |
BACKWARD_COMPATIBLE_WEBSOCKET_BEHAVIOR
Before 1.0.12, WebSocket's AtmosphereResource manually added to
Broadcaster were added without checking
if the parent, e.g the AtmosphereResource's created on the first request was already added to the Broadcaster. |
static java.lang.String |
BROADCAST_FILTER_CLASSES
A list of
BroadcastFilter separated by comma that will be added to every new Broadcaster. |
static java.lang.String |
BROADCASTER_ASYNC_WRITE_THREADPOOL_MAXSIZE
The maximum number of Thread created when writing requests
BroadcasterConfig.setAsyncWriteService(java.util.concurrent.ExecutorService). |
static java.lang.String |
BROADCASTER_CACHE
The default
BroadcasterCache class. |
static java.lang.String |
BROADCASTER_CACHE_STRATEGY
Define when a broadcasted message is cached.
|
static java.lang.String |
BROADCASTER_CLASS
The default
Broadcaster class. |
static java.lang.String |
BROADCASTER_FACTORY
The default
BroadcasterFactory class. |
static java.lang.String |
BROADCASTER_FACTORY_EMPTY_WAIT_TIME_IN_SECONDS
The time, in second, to wait for a new object from the
BoundedApachePoolableProvider
Default: 10 seconds
Value: org.atmosphere.pool.BoundedApachePoolableProvider.waitingTime |
static java.lang.String |
BROADCASTER_FACTORY_POOL_SIZE
The size of the pool powering
BoundedApachePoolableProvider
Default: 200
Value: org.atmosphere.pool.BoundedApachePoolableProvider.size |
static java.lang.String |
BROADCASTER_LIFECYCLE_POLICY
The
BroadcasterLifeCyclePolicy policy to use. |
static java.lang.String |
BROADCASTER_LIFECYCLE_POLICY_IDLETIME
BroadcasterLifecycle max idle time before executing.
|
static java.lang.String |
BROADCASTER_MESSAGE_PROCESSING_THREADPOOL_MAXSIZE
The maximum number of Thread created when processing broadcast operations
BroadcasterConfig.setExecutorService(java.util.concurrent.ExecutorService). |
static java.lang.String |
BROADCASTER_POLICY
Allow defining the Broadcaster's Suspend Policy
Broadcaster.setSuspendPolicy(long, org.atmosphere.cpr.Broadcaster.POLICY). |
static java.lang.String |
BROADCASTER_POLICY_TIMEOUT
Allow defining the Broadcaster's maximum Suspended Atmosphere Policy
Broadcaster.setSuspendPolicy(long, org.atmosphere.cpr.Broadcaster.POLICY). |
static java.lang.String |
BROADCASTER_SHARABLE_THREAD_POOLS
Configure
Broadcaster to share the same ExecutorService among them. |
static java.lang.String |
BROADCASTER_SHAREABLE_LISTENERS
Share between Broadcaster the same List of
BroadcasterListener and BroadcasterLifeCyclePolicyListener. |
static java.lang.String |
BROADCASTER_WAIT_TIME
The sleep time, in millisecond, before the
DefaultBroadcaster release its reactive thread for pushing message
and execute async write. |
static java.lang.String |
BUILT_IN_SESSION
Use a build in
HttpSession when using native WebSocket implementation. |
static java.lang.String |
BYTECODE_PROCESSOR
For use of (@link BytecodeBasedAnnotationProcessor}
Default: false
Value: org.atmosphere.cpr.annotation.useBytecodeProcessor
|
static java.lang.String |
CACHE_MESSAGE_ON_IO_FLUSH_EXCEPTION
If a I/O exception occurs during a flush() or flushBuffer() exception, cache the bytes that was previously written.
|
static java.lang.String |
CLIENT_HEARTBEAT_INTERVAL_IN_SECONDS
Configuration key for client heartbeat.
|
static java.lang.String |
CLOSE_STREAM_ON_CANCEL
Close the
AtmosphereResponse.getOutputStream() when AtmosphereResource.close()
gets invoked, or when the underlying server close the connection. |
static java.lang.String |
CLOSED_ATMOSPHERE_THINK_TIME
Wait X milliseconds before considering the
AtmosphereResource closed. |
static java.lang.String |
CUSTOM_ANNOTATION_PACKAGE
A list, separated by comma, of package name to scan when looking for @AtmosphereAnnotation custom Annotation.
|
static java.lang.String |
DEFAULT_CONTENT_TYPE
The default content-type value used when Atmosphere requires one.
|
static java.lang.String |
DEFAULT_NAMED_DISPATCHER
The default Servlet used when forwarding request.
|
static java.lang.String |
DEFAULT_SERIALIZER
Set the default
Serializer implementation AtmosphereResources use
to serialize broadcasted objects. |
static java.lang.String |
DISABLE_ATMOSPHERE_INITIALIZER
Disable container managed framework auto initialization during startup lifecycle (Servlet 3.0).
|
static java.lang.String |
DISABLE_ATMOSPHEREINTERCEPTOR
Disable au-discovery of pre-installed
AtmosphereInterceptors. |
static java.lang.String |
DISABLE_ATMOSPHEREINTERCEPTORS
Disables the list of
AtmosphereInterceptors. |
static java.lang.String |
DISABLE_ONSTATE_EVENT
Disable invoking
AtmosphereHandler.onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent) when the connection times out or get cancelled. |
static java.lang.String |
DISALLOW_MODIFY_QUERYSTRING
Disallow Atmosphere to modify the query string of incoming connections.
|
static java.lang.String |
DROP_ACCESS_CONTROL_ALLOW_ORIGIN_HEADER
Tell Atmosphere to not write the access-control header.
|
static java.lang.String |
ENDPOINT_MAPPER
Define an implementation of the
EndpointMapper. |
static java.lang.String |
ENFORCE_ATMOSPHERE_VERSION
Disable the Atmosphere Protocol version check.
|
static java.lang.String |
EXCLUDED_CONTENT_TYPES
The list of content-type to exclude when delimiting message.
|
static java.lang.String |
EXECUTORFACTORY_KEEP_ALIVE
The maximum number of time, in seconds, thread will be stay alive when created with
ExecutorsFactory. |
static java.lang.String |
FILTER_CLASS
The Filter's name where
Meteor will be available. |
static java.lang.String |
FILTER_NAME
The Servlet's mapping value to the FILTER_CLASS.
|
static java.lang.String |
HANDLER_MAPPING_REGEX
Change the default regex used when mapping AtmosphereHandler.
|
static java.lang.String |
HEARTBEAT_INTERVAL_IN_SECONDS
The heartbeat frequency, in seconds.
|
static java.lang.String |
HEARTBEAT_PADDING_CHAR
The heartbeat padding String.
|
static java.lang.String |
IN_MEMORY_STREAMING_BUFFER_SIZE
In Memory WebSocket buffered message size;
Default: 2097152 (2 mg)
Value: org.atmosphere.websocket.webSocketBufferingMaxSize |
static java.lang.String |
INVOKE_ATMOSPHERE_INTERCEPTOR_ON_WEBSOCKET_MESSAGE
Invoke Atmosphere interceptor for on every websocket message.
|
static java.lang.String |
JERSEY_CONTAINER_RESPONSE_WRITER_CLASS
Jersey's ContainerResponseWriter.
|
static java.lang.String |
JETTY_WEBSOCKET_MIN_VERSION
Set the minimum WebSocket version that Jetty should accept.
|
static java.lang.String |
JSR356_MAPPING_PATH
The JSR 356 WebSocket root path.
|
static java.lang.String |
JSR356_PATH_MAPPING_LENGTH
jsr356 Path mapping length for add(ServerEndpointConfig.Builder.create(JSR356Endpoint.class, "/{path}/{path/...}").
|
static java.lang.String |
MAPPING
The Servlet's mapping value to the SERVLET_CLASS.
|
static java.lang.String |
MAX_INACTIVE
The maximum time, in milliseconds, a connection gets idle or when the WIFI disconnection wasn't detected by the underlying container.
|
static java.lang.String |
MESSAGE_DELIMITER
The token used to separate broadcasted messages.
|
static java.lang.String |
META_SERVICE_PATH
The path to the org.atmosphere.cpr.AtmosphereFramework configuration file
Default: META-INF/services
Value: org.atmosphere.cpr.metaServicePath
|
static java.lang.String |
NO_CACHE_HEADERS
Tell Atmosphere to not write the no-cache header.
|
static java.lang.String |
OBJECT_FACTORY
The default
AtmosphereObjectFactory class. |
static java.lang.String |
OUT_OF_ORDER_BROADCAST
Set to true if order of message delivered to the client is not important.
|
static java.lang.String |
POOLEABLE_PROVIDER
The
PoolableProvider used by the
Default: org.atmosphere.pool.UnboundedApachePoolableProvider
Value: org.atmosphere.pool.poolableProvider |
static java.lang.String |
PROPERTY_ALLOW_SESSION_TIMEOUT_REMOVAL
Tell Atmosphere to set session max inactive interval to -1 when an atmosphere connection exists.
|
static java.lang.String |
PROPERTY_ATMOSPHERE_XML
The location of the atmosphere.xml file.
|
static java.lang.String |
PROPERTY_BLOCKING_COMETSUPPORT
Set Atmosphere to use the
BlockingIOCometSupport, e.g blocking I/O. |
static java.lang.String |
PROPERTY_COMET_SUPPORT
Tell Atmosphere which
AsyncSupport implementation to use. |
static java.lang.String |
PROPERTY_NATIVE_COMETSUPPORT
Set Atmosphere to use the container native Comet support.
|
static java.lang.String |
PROPERTY_SERVLET_MAPPING
The path that will be used to map request to Jersey.
|
static java.lang.String |
PROPERTY_SESSION_CREATE
Tell Atmosphere to create a new
HttpSession when starting and when PROPERTY_SESSION_SUPPORT is set to true. |
static java.lang.String |
PROPERTY_SESSION_SUPPORT
Tell Atmosphere to use
HttpSession. |
static java.lang.String |
PROPERTY_THROW_EXCEPTION_ON_CLONED_REQUEST
Set Atmosphere to throw exception on cloned request
Default: false
Value: org.atmosphere.throwExceptionOnClonedRequest |
static java.lang.String |
PROPERTY_USE_STREAM
Force Atmosphere to use stream when writing bytes.
|
static java.lang.String |
READ_GET_BODY
Try to read a HTTP GET body.
|
static java.lang.String |
RECOVER_DEAD_BROADCASTER
Recover from a
Broadcaster that has been destroyed. |
static java.lang.String |
RECYCLE_ATMOSPHERE_REQUEST_RESPONSE
Recycle (make them unusable) AtmosphereRequest/Response after wrapping a WebSocket message and delegating it to
a Container.
|
static java.lang.String |
RESUME_ON_BROADCAST
Force Atmosphere to invoke
AtmosphereResource.resume() after the first Broadcaster.broadcast(Object) invocation. |
static java.lang.String |
RESUME_ON_HEARTBEAT
Resume the long-polling or jsonp connection on every heartbeat (I/O operations).
|
static java.lang.String |
RESUMED_ON_TIMEOUT
A request attribute telling a
AsyncSupport if the AtmosphereResource was resumed on timeout or by an application. |
static java.lang.String |
REWRITE_WEBSOCKET_REQUESTURI
Rewrite the original handshake request URI when websocket is used, trimming the http://host:port from the value.
|
static java.lang.String |
SCAN_CLASSPATH
Set to false if you want Atmosphere to scan the entire classpath looking for annotation.
|
static java.lang.String |
SCHEDULER_THREADPOOL_MAXSIZE
The maximum number of Thread created by the
ExecutorsFactory.getScheduler(AtmosphereConfig). |
static java.lang.String |
SERVLET_CLASS
The Servlet's name where
Meteor will be available. |
static java.lang.String |
SERVLET_NAME
The web.xml servlet-name.
|
static java.lang.String |
SESSION_MAX_INACTIVE_INTERVAL
The default
HttpSession.setMaxInactiveInterval(int)
Default: -1Value: org.atmosphere.cpr.session.maxInactiveInterval |
static java.lang.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 java.lang.String |
SSE_CONTENT_TYPE
Tell Atmosphere the content-type to use when a WebSocket message is dispatched as an AtmosphereRequest.
|
static java.lang.String |
SSE_DEFAULT_CONTENTTYPE
Default Server-Sent Event content type.
|
static java.lang.String |
STATE_RECOVERY_TIMEOUT
The timeout, in milliseconds, before an
AtmosphereResource's state get discarded. |
static java.lang.String |
SUPPORT_LOCATION_HEADER
Support the Jersey location header for resuming.
|
static java.lang.String |
SUPPORT_TRACKED_BROADCASTER
When the
PoolableBroadcasterFactory is enabled, set to true
for tracking created Broadcaster and their associated id, preventing duplicate. |
static java.lang.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 java.lang.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 java.lang.String |
TWO_STEPS_WRITE
Writes the given data to the given outputstream in two steps with extra flushes to make servers notice if the connection has been closed.
|
static java.lang.String |
UNIQUE_UUID_WEBSOCKET
Use a unique UUID for all WebSocket message delivered on the same connection.
|
static java.lang.String |
USE_FORJOINPOOL
Use
ForkJoinPool for dispatching messages and executing async I/O) operation
Default: true
Value: org.atmosphere.useForkJoinPool |
static java.lang.String |
USE_SERVLET_CONTEXT_PARAMETERS
Use init parameters specified for servlet context in addition to servlet config
Default: false
Value: org.atmosphere.cpr.AtmosphereConfig.getInitParameter
|
static java.lang.String |
UUIDBROADCASTERCACHE_CLIENT_IDLETIME
The maximum time, in seconds, for a message to stay cached when using the
UUIDBroadcasterCache
Default: 60Value: org.atmosphere.cache.UUIDBroadcasterCache.clientIdleTime |
static java.lang.String |
UUIDBROADCASTERCACHE_IDLE_CACHE_INTERVAL
The frequency, in seconds, for the
UUIDBroadcasterCache is pruning cached messages. |
static java.lang.String |
WEB_SOCKET_BANNED_VERSION
WebSocket version to exclude and downgrade to comet.
|
static java.lang.String |
WEBSOCKET_BINARY_WRITE
Write binary instead of String.
|
static java.lang.String |
WEBSOCKET_BUFFER_SIZE
Tell Atmosphere the WebSocket write buffer size.
|
static java.lang.String |
WEBSOCKET_CONTENT_TYPE
Tell Atmosphere the content-type to use when a WebSocket message is dispatched as an AtmosphereRequest.
|
static java.lang.String |
WEBSOCKET_IDLETIME
Tell Atmosphere how long a WebSocket connection can stay idle.
|
static java.lang.String |
WEBSOCKET_MAXBINARYSIZE
Set the WebSocket max text size.
|
static java.lang.String |
WEBSOCKET_MAXTEXTSIZE
Set the WebSocket max text size.
|
static java.lang.String |
WEBSOCKET_METHOD
Tell Atmosphere the method to use when a WebSocket message is dispatched as an AtmosphereRequest.
|
static java.lang.String |
WEBSOCKET_PATH_DELIMITER
Tell Atmosphere the path delimiter to use when a WebSocket message contains the path as it first line.
|
static java.lang.String |
WEBSOCKET_PROCESSOR
Tell Atmosphere the
WebSocketProcessor to use. |
static java.lang.String |
WEBSOCKET_PROTOCOL
Tell Atmosphere the
WebSocketProtocol to use. |
static java.lang.String |
WEBSOCKET_PROTOCOL_EXECUTION
|
static java.lang.String |
WEBSOCKET_REQUIRE_SAME_ORIGIN
Tell Atmosphere to enforce the same origin policy for all incoming WebSocket handshakes.
|
static java.lang.String |
WEBSOCKET_SUPPORT
Force Atmosphere to use WebSocket.
|
static java.lang.String |
WEBSOCKET_SUPPORT_SERVLET3
Force Atmosphere to use WebSocket + Servlet 3.0 API.
|
static java.lang.String |
WEBSOCKET_WRITE_TIMEOUT
Timeout of JSR356 write operation.
|
static java.lang.String |
WRITE_TIMEOUT
The write operation timeout, in millisecond, when using the
DefaultBroadcaster. |
static final java.lang.String PROPERTY_ATMOSPHERE_XML
static final java.lang.String PROPERTY_SERVLET_MAPPING
static final java.lang.String PROPERTY_BLOCKING_COMETSUPPORT
BlockingIOCometSupport, e.g blocking I/O.
Default: falseValue: org.atmosphere.useBlocking
static final java.lang.String PROPERTY_THROW_EXCEPTION_ON_CLONED_REQUEST
static final java.lang.String PROPERTY_NATIVE_COMETSUPPORT
static final java.lang.String WEBSOCKET_SUPPORT
static final java.lang.String WEBSOCKET_SUPPORT_SERVLET3
static final java.lang.String PROPERTY_USE_STREAM
static final java.lang.String BROADCASTER_FACTORY
BroadcasterFactory class.
Default: org.atmosphere.cpr.DefaultBroadcasterFactorystatic final java.lang.String BROADCASTER_CLASS
Broadcaster class.
Default: org.atmosphere.cpr.DefaultBroadcasterstatic final java.lang.String BROADCASTER_CACHE
BroadcasterCache class.
Default: org.atmosphere.cache.DefaultBroadcasterCache (Doing nothing, not caching anything)static final java.lang.String PROPERTY_COMET_SUPPORT
AsyncSupport implementation to use.
Default: "" (Auto detected by Atmosphere)static final java.lang.String PROPERTY_SESSION_SUPPORT
HttpSession.
Default: falsestatic final java.lang.String PROPERTY_SESSION_CREATE
HttpSession when starting and when PROPERTY_SESSION_SUPPORT is set to true.
Default: truestatic final java.lang.String PROPERTY_ALLOW_SESSION_TIMEOUT_REMOVAL
HttpSession.setMaxInactiveInterval(int)
Default: truestatic final java.lang.String RESUME_ON_BROADCAST
AtmosphereResource.resume() after the first Broadcaster.broadcast(Object) invocation.
Default: falsestatic final java.lang.String DEFAULT_NAMED_DISPATCHER
static final java.lang.String NO_CACHE_HEADERS
static final java.lang.String DROP_ACCESS_CONTROL_ALLOW_ORIGIN_HEADER
static final java.lang.String BROADCASTER_LIFECYCLE_POLICY
BroadcasterLifeCyclePolicy policy to use.
Default: BroadcasterLifeCyclePolicy.NEVERstatic final java.lang.String WEBSOCKET_PROCESSOR
WebSocketProcessor to use.
Default: org.atmosphere.websocket.DefaultWebSocketProcessorstatic final java.lang.String WEBSOCKET_PROTOCOL
WebSocketProtocol to use.
Default: org.atmosphere.websocket.SimpleHttpProtocolstatic final java.lang.String WEBSOCKET_CONTENT_TYPE
static final java.lang.String SSE_CONTENT_TYPE
static final java.lang.String WEBSOCKET_METHOD
static final java.lang.String WEBSOCKET_IDLETIME
static final java.lang.String WEBSOCKET_WRITE_TIMEOUT
RemoteEndpoint.Async.setSendTimeout(long)
Default: 1 minutestatic final java.lang.String WEBSOCKET_BUFFER_SIZE
static final java.lang.String WEBSOCKET_PATH_DELIMITER
static final java.lang.String WEBSOCKET_MAXTEXTSIZE
static final java.lang.String WEBSOCKET_MAXBINARYSIZE
static final java.lang.String WEBSOCKET_REQUIRE_SAME_ORIGIN
static final java.lang.String JETTY_WEBSOCKET_MIN_VERSION
static final java.lang.String ATMOSPHERE_RESOURCE
AtmosphereResource.
Default: org.atmosphere.cpr.AtmosphereResourceImplstatic final java.lang.String BROADCAST_FILTER_CLASSES
BroadcastFilter separated by comma that will be added to every new Broadcaster.
Default: ""static final java.lang.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 time-outs (like Jetty 6)
Default: falsestatic final java.lang.String DISABLE_ONSTATE_EVENT
AtmosphereHandler.onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent) when the connection times out or get cancelled.
Default: falsestatic final java.lang.String MAX_INACTIVE
IdleResourceInterceptor, e.g you must install that interceptor in order to use the property.
Default: -1 (not enabled)static final java.lang.String ALLOW_QUERYSTRING_AS_REQUEST
static final java.lang.String DISALLOW_MODIFY_QUERYSTRING
static final java.lang.String BROADCASTER_SHARABLE_THREAD_POOLS
Broadcaster to share the same ExecutorService among them.
Default: truestatic final java.lang.String BROADCASTER_MESSAGE_PROCESSING_THREADPOOL_MAXSIZE
BroadcasterConfig.setExecutorService(java.util.concurrent.ExecutorService).
Default: unlimitedstatic final java.lang.String BROADCASTER_ASYNC_WRITE_THREADPOOL_MAXSIZE
BroadcasterConfig.setAsyncWriteService(java.util.concurrent.ExecutorService).
Default: 200static final java.lang.String ALLOW_CORE_THREAD_TIMEOUT
ExecutorsFactory.
Default: true} ThreadPoolExecutor.allowCoreThreadTimeOutstatic final java.lang.String SCHEDULER_THREADPOOL_MAXSIZE
ExecutorsFactory.getScheduler(AtmosphereConfig).
Default: Runtime.availableProcessors() static final java.lang.String BROADCASTER_LIFECYCLE_POLICY_IDLETIME
static final java.lang.String RECOVER_DEAD_BROADCASTER
Broadcaster that has been destroyed.
Default: truestatic final java.lang.String ATMOSPHERE_HANDLER
static final java.lang.String ATMOSPHERE_HANDLER_MAPPING
static final java.lang.String SERVLET_CLASS
Meteor will be available.
Default: ""static final java.lang.String FILTER_CLASS
Meteor will be available.
Default: ""static final java.lang.String MAPPING
static final java.lang.String FILTER_NAME
static final java.lang.String BROADCASTER_CACHE_STRATEGY
static final java.lang.String SUPPORT_LOCATION_HEADER
static final java.lang.String WEB_SOCKET_BANNED_VERSION
static final java.lang.String TOMCAT_CLOSE_STREAM
static final java.lang.String WEBSOCKET_BINARY_WRITE
static final java.lang.String RECYCLE_ATMOSPHERE_REQUEST_RESPONSE
static final java.lang.String ATMOSPHERE_HANDLER_PATH
AtmosphereHandler interface.
Default: "/WEB-INF/classes".static final java.lang.String JERSEY_CONTAINER_RESPONSE_WRITER_CLASS
static final java.lang.String WEBSOCKET_PROTOCOL_EXECUTION
WebSocketProtocol.onMessage(org.atmosphere.websocket.WebSocket, byte[], int, int).
Default: falsestatic final java.lang.String DEFAULT_CONTENT_TYPE
static final java.lang.String ATMOSPHERE_INTERCEPTORS
AtmosphereInterceptor class name that will be invoked before the AtmosphereResource
gets delivered to an application or framework.
Default: ""static final java.lang.String ATMOSPHERE_EXCLUDED_FILE
AtmosphereFilter.
Default: AtmosphereFilter.EXCLUDE_FILESstatic final java.lang.String MESSAGE_DELIMITER
static final java.lang.String ATMOSPHERERESOURCE_INTERCEPTOR_METHOD
AtmosphereResource when the AtmosphereResourceLifecycleInterceptor
is used.
Default: "GET"static final java.lang.String ATMOSPHERERESOURCE_INTERCEPTOR_TIMEOUT
AtmosphereResource.suspend(long, java.util.concurrent.TimeUnit) when the AtmosphereResourceLifecycleInterceptor
is used.
Default: "-1"static final java.lang.String DISABLE_ATMOSPHEREINTERCEPTOR
AtmosphereInterceptors.
Default: falsestatic final java.lang.String SHARED
static final java.lang.String SUSPENDED_ATMOSPHERE_RESOURCE_UUID
HeaderConfig.X_ATMOSPHERE_TRACKING_ID
but available to all transport.
Value: org.atmosphere.cpr.AtmosphereResource.suspended.uuidstatic final java.lang.String UNIQUE_UUID_WEBSOCKET
static final java.lang.String OUT_OF_ORDER_BROADCAST
static final java.lang.String WRITE_TIMEOUT
DefaultBroadcaster. When the timeout occurs, the calling thread gets interrupted.
Default: 5 * 60 * 1000 (5 minutes)static final java.lang.String BROADCASTER_WAIT_TIME
DefaultBroadcaster release its reactive thread for pushing message
and execute async write. Setting this value too high may create too many threads.
Default: 1000static final java.lang.String BACKWARD_COMPATIBLE_WEBSOCKET_BEHAVIOR
Broadcaster were 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 once.
Default: falsestatic final java.lang.String ANNOTATION_PACKAGE
static final java.lang.String ANNOTATION_PROCESSOR
static final java.lang.String ENDPOINT_MAPPER
EndpointMapper.
Default: org.atmosphere.cpr.DefaultEndpointMapperstatic final java.lang.String EXCLUDED_CONTENT_TYPES
static final java.lang.String BROADCASTER_POLICY
Broadcaster.setSuspendPolicy(long, org.atmosphere.cpr.Broadcaster.POLICY).
Default: FIFOstatic final java.lang.String BROADCASTER_POLICY_TIMEOUT
Broadcaster.setSuspendPolicy(long, org.atmosphere.cpr.Broadcaster.POLICY).
Default: -1 (unlimited)static final java.lang.String HANDLER_MAPPING_REGEX
AtmosphereFramework.MAPPING_REGEX
Default: "[a-zA-Z0-9-&.*_=@;\?]+"static final java.lang.String STATE_RECOVERY_TIMEOUT
AtmosphereResource's state get discarded.
Default: 300000 (5 minutes)static final java.lang.String JSR356_PATH_MAPPING_LENGTH
static final java.lang.String SSE_DEFAULT_CONTENTTYPE
static final java.lang.String CUSTOM_ANNOTATION_PACKAGE
static final java.lang.String SCAN_CLASSPATH
static final java.lang.String BUILT_IN_SESSION
HttpSession when using native WebSocket implementation.
Default: falsestatic final java.lang.String OBJECT_FACTORY
AtmosphereObjectFactory class.
Default: DefaultAtmosphereObjectFactory (calls newInstance() on class)static final java.lang.String EXECUTORFACTORY_KEEP_ALIVE
ExecutorsFactory. Those Executor.
are used by the DefaultBroadcaster's Thread Pool. See also BROADCASTER_ASYNC_WRITE_THREADPOOL_MAXSIZE and BROADCASTER_MESSAGE_PROCESSING_THREADPOOL_MAXSIZE
Default: 10 secondsstatic final java.lang.String IN_MEMORY_STREAMING_BUFFER_SIZE
static final java.lang.String AUTODETECT_BROADCASTER
Broadcaster
Default: true)static final java.lang.String DISABLE_ATMOSPHEREINTERCEPTORS
AtmosphereInterceptors.
Default: falsestatic final java.lang.String JSR356_MAPPING_PATH
static final java.lang.String SESSION_MAX_INACTIVE_INTERVAL
HttpSession.setMaxInactiveInterval(int)
Default: -1static final java.lang.String CLOSED_ATMOSPHERE_THINK_TIME
AtmosphereResource closed. This is useful when org.atmosphere.util.Utils#atmosphereProtocol(AtmosphereRequest r))
return true, and let the client send the HeaderConfig.DISCONNECT_TRANSPORT_MESSAGE message.
Default: 500static final java.lang.String UUIDBROADCASTERCACHE_CLIENT_IDLETIME
UUIDBroadcasterCache
Default: 60static final java.lang.String UUIDBROADCASTERCACHE_IDLE_CACHE_INTERVAL
UUIDBroadcasterCache is pruning cached messages.
Default: 30static final java.lang.String INVOKE_ATMOSPHERE_INTERCEPTOR_ON_WEBSOCKET_MESSAGE
static final java.lang.String ENFORCE_ATMOSPHERE_VERSION
static final java.lang.String REWRITE_WEBSOCKET_REQUESTURI
static final java.lang.String HEARTBEAT_PADDING_CHAR
static final java.lang.String HEARTBEAT_INTERVAL_IN_SECONDS
static final java.lang.String CLIENT_HEARTBEAT_INTERVAL_IN_SECONDS
static final java.lang.String RESUME_ON_HEARTBEAT
static final java.lang.String DEFAULT_SERIALIZER
Serializer implementation AtmosphereResources use
to serialize broadcasted objects.
Default: empty (no Serialize class used)static final java.lang.String DISABLE_ATMOSPHERE_INITIALIZER
<init-param> <param-name>org.atmosphere.cpr.AtmosphereInitializer.disabled</param-name> <param-value>true</param-value> </init-param>
https://github.com/Atmosphere/atmosphere/issues/1695},
Constant Field Valuesstatic final java.lang.String ANALYTICS
static final java.lang.String BYTECODE_PROCESSOR
static final java.lang.String SERVLET_NAME
static final java.lang.String READ_GET_BODY
static final java.lang.String CACHE_MESSAGE_ON_IO_FLUSH_EXCEPTION
static final java.lang.String BROADCASTER_SHAREABLE_LISTENERS
BroadcasterListener and BroadcasterLifeCyclePolicyListener.
Setting the value to true may significantly reduce the memory used by those listeners if a lot of Broadcaster are created.
Listeners MUST be Thread-Safe to use that feature.
Default: false static final java.lang.String SUPPORT_TRACKED_BROADCASTER
PoolableBroadcasterFactory is enabled, set to true
for tracking created Broadcaster and their associated id, preventing duplicate.
Default: false
Value:org.atmosphere.pool.trackPooledBroadcasterstatic final java.lang.String POOLEABLE_PROVIDER
PoolableProvider used by the
Default: org.atmosphere.pool.UnboundedApachePoolableProvider
Value: org.atmosphere.pool.poolableProviderstatic final java.lang.String BROADCASTER_FACTORY_POOL_SIZE
BoundedApachePoolableProvider
Default: 200
Value: org.atmosphere.pool.BoundedApachePoolableProvider.sizestatic final java.lang.String BROADCASTER_FACTORY_EMPTY_WAIT_TIME_IN_SECONDS
BoundedApachePoolableProvider
Default: 10 seconds
Value: org.atmosphere.pool.BoundedApachePoolableProvider.waitingTimestatic final java.lang.String META_SERVICE_PATH
static final java.lang.String CLOSE_STREAM_ON_CANCEL
AtmosphereResponse.getOutputStream() when AtmosphereResource.close()
gets invoked, or when the underlying server close the connection.
Default: false
Value: org.atmosphere.cpr.AsynchronousProcessor.closeOnCancelstatic final java.lang.String USE_SERVLET_CONTEXT_PARAMETERS
static final java.lang.String USE_FORJOINPOOL
ForkJoinPool for dispatching messages and executing async I/O) operation
Default: true
Value: org.atmosphere.useForkJoinPoolstatic final java.lang.String TWO_STEPS_WRITE
Copyright © 2018. All Rights Reserved.