org.atmosphere.cpr
Interface FrameworkConfig


public interface FrameworkConfig

Request attribute a framework integrator can use to lookup Atmosphere internal objects.

Author:
Jeanfrancois Arcand

Field Summary
static String ASYNC_CONTEXT
          The AsyncContext.
static String ATMOSPHERE_CONFIG
          AtmosphereConfig instance.
static String ATMOSPHERE_HANDLER_WRAPPER
          A request attribute used to lookup the AtmosphereHandler.
static String ATMOSPHERE_RESOURCE
          A request attribute used to lookup the AtmosphereResource.
static String ATMOSPHERE_SERVLET
          A request attribute used to lookup the AtmosphereNativeCometServlet.
static String CALLBACK_JAVASCRIPT_PROTOCOL
          The callback for handshaking the JavaScriptProtocol.
static String CANCEL_SUSPEND_OPERATION
          Cancel suspending a connection.
static String CDI_INJECTOR
          CDI Injector
static String CONTAINER_RESPONSE
          A reference to the Jersey's ContainerResponse.
static String EXPECTED_CONTENT_TYPE
          Used by a container to tell Atmosphere Runtime what is the expected content type.
static String GUICE_INJECTOR
          Guice Injector
static String HAZELCAST_BROADCASTER
          The default Hazelcast Broadcaster class.
static String INJECTED_ATMOSPHERE_RESOURCE
          A request attribute used to lookup the AtmosphereResource created by an external component and injected inside the AsynchronousProcessor.
static String JERSEY_BROADCASTER
          The default Jersey Broadcaster class.
static String JERSEY_CONTAINER
          The default Jersey container class.
static String JERSEY_CONTAINER_RESPONSE_WRITER_INSTANCE
          Instance of Jersey's ContainerResponseWriter that can be configured by a Framework running on top of Atmosphere.
static String JERSEY_SCANNING_PACKAGE
          The Jersey package used for scanning annotation.
static String JERSEY2_SCANNING_PACKAGE
          The Jersey package used for scanning annotation.
static String JGROUPS_BROADCASTER
          The default JGroups Broadcaster class.
static String JMS_BROADCASTER
          The default JMS Broadcaster class.
static String MAPPED_PATH
          The path that mapped the AtmosphereHandler
static String MESSAGE_WRITTEN
          A flag indicating a message has been written on the resource.
static String NEW_MAPPING
          True if the AtmosphereFramework.AtmosphereHandlerWrapper has been modified by an AtmosphereInterceptor.
static String RABBITMQ_BROADCASTER
          The default RabbitMQ Broadcaster class.
static String REDIS_BROADCASTER
          The default Redis Broadcaster class.
static String RMI_BROADCASTER
          The default RMI Broadcaster class.
static String SECURITY_SUBJECT
          The subject for the current request.
static String SIMPLE_HTTP_OVER_WEBSOCKET
          The SimpleHttpProtocol.
static String SPRING_INJECTOR
          Spring Injector
static String SUPPORT_SESSION
          Tell a AsyncSupport it can support session or not.
static String THROW_EXCEPTION_ON_CLONED_REQUEST
          Throw Exception from cloned request.
static String TRANSPORT_IN_USE
          Current transport used.
static String WEBSOCKET_MESSAGE
          Tag for WebSocket's Message
static String WEBSOCKET_SUBPROTOCOL
          The name of the sub-protocol used.
static String WRITE_HEADERS
          Decide to write extra header.
static String XMPP_BROADCASTER
          The default XMPP Broadcaster class.
 

Field Detail

HAZELCAST_BROADCASTER

static final String HAZELCAST_BROADCASTER
The default Hazelcast Broadcaster class.

See Also:
Constant Field Values

JERSEY_BROADCASTER

static final String JERSEY_BROADCASTER
The default Jersey Broadcaster class.

See Also:
Constant Field Values

REDIS_BROADCASTER

static final String REDIS_BROADCASTER
The default Redis Broadcaster class.

See Also:
Constant Field Values

JMS_BROADCASTER

static final String JMS_BROADCASTER
The default JMS Broadcaster class.

See Also:
Constant Field Values

JGROUPS_BROADCASTER

static final String JGROUPS_BROADCASTER
The default JGroups Broadcaster class.

See Also:
Constant Field Values

RMI_BROADCASTER

static final String RMI_BROADCASTER
The default RMI Broadcaster class.

See Also:
Constant Field Values

RABBITMQ_BROADCASTER

static final String RABBITMQ_BROADCASTER
The default RabbitMQ Broadcaster class.

See Also:
Constant Field Values

XMPP_BROADCASTER

static final String XMPP_BROADCASTER
The default XMPP Broadcaster class.

See Also:
Constant Field Values

JERSEY_CONTAINER

static final String JERSEY_CONTAINER
The default Jersey container class.

See Also:
Constant Field Values

ATMOSPHERE_SERVLET

static final String ATMOSPHERE_SERVLET
A request attribute used to lookup the AtmosphereNativeCometServlet. This attribute is for framework integrators and not recommend for normal applications.

See Also:
Constant Field Values

ATMOSPHERE_RESOURCE

static final String ATMOSPHERE_RESOURCE
A request attribute used to lookup the AtmosphereResource. This attribute is for framework integrators and not recommend for normal applications.


INJECTED_ATMOSPHERE_RESOURCE

static final String INJECTED_ATMOSPHERE_RESOURCE
A request attribute used to lookup the AtmosphereResource created by an external component and injected inside the AsynchronousProcessor.


SUPPORT_SESSION

static final String SUPPORT_SESSION
Tell a AsyncSupport it can support session or not.


ATMOSPHERE_HANDLER_WRAPPER

static final String ATMOSPHERE_HANDLER_WRAPPER
A request attribute used to lookup the AtmosphereHandler. This attribute is for framework integrator and not recommend for normal application.


NEW_MAPPING

static final String NEW_MAPPING
True if the AtmosphereFramework.AtmosphereHandlerWrapper has been modified by an AtmosphereInterceptor.


CONTAINER_RESPONSE

static final String CONTAINER_RESPONSE
A reference to the Jersey's ContainerResponse.

See Also:
Constant Field Values

WRITE_HEADERS

static final String WRITE_HEADERS
Decide to write extra header.


EXPECTED_CONTENT_TYPE

static final String EXPECTED_CONTENT_TYPE
Used by a container to tell Atmosphere Runtime what is the expected content type.


WEBSOCKET_SUBPROTOCOL

static final String WEBSOCKET_SUBPROTOCOL
The name of the sub-protocol used.

See Also:
Constant Field Values

SIMPLE_HTTP_OVER_WEBSOCKET

static final String SIMPLE_HTTP_OVER_WEBSOCKET
The SimpleHttpProtocol.

See Also:
Constant Field Values

CANCEL_SUSPEND_OPERATION

static final String CANCEL_SUSPEND_OPERATION
Cancel suspending a connection.

See Also:
Constant Field Values

ATMOSPHERE_CONFIG

static final String ATMOSPHERE_CONFIG
AtmosphereConfig instance.


JERSEY_CONTAINER_RESPONSE_WRITER_INSTANCE

static final String JERSEY_CONTAINER_RESPONSE_WRITER_INSTANCE
Instance of Jersey's ContainerResponseWriter that can be configured by a Framework running on top of Atmosphere.

See Also:
Constant Field Values

TRANSPORT_IN_USE

static final String TRANSPORT_IN_USE
Current transport used.


CALLBACK_JAVASCRIPT_PROTOCOL

static final String CALLBACK_JAVASCRIPT_PROTOCOL
The callback for handshaking the JavaScriptProtocol.


JERSEY_SCANNING_PACKAGE

static final String JERSEY_SCANNING_PACKAGE
The Jersey package used for scanning annotation.

See Also:
Constant Field Values

JERSEY2_SCANNING_PACKAGE

static final String JERSEY2_SCANNING_PACKAGE
The Jersey package used for scanning annotation.

See Also:
Constant Field Values

THROW_EXCEPTION_ON_CLONED_REQUEST

static final String THROW_EXCEPTION_ON_CLONED_REQUEST
Throw Exception from cloned request.


SECURITY_SUBJECT

static final String SECURITY_SUBJECT
The subject for the current request.


ASYNC_CONTEXT

static final String ASYNC_CONTEXT
The AsyncContext.

See Also:
Constant Field Values

MESSAGE_WRITTEN

static final String MESSAGE_WRITTEN
A flag indicating a message has been written on the resource. This is useful to know if a resource must be resumed for transport like long-polling.


GUICE_INJECTOR

static final String GUICE_INJECTOR
Guice Injector

See Also:
Constant Field Values

SPRING_INJECTOR

static final String SPRING_INJECTOR
Spring Injector

See Also:
Constant Field Values

CDI_INJECTOR

static final String CDI_INJECTOR
CDI Injector

See Also:
Constant Field Values

MAPPED_PATH

static final String MAPPED_PATH
The path that mapped the AtmosphereHandler


WEBSOCKET_MESSAGE

static final String WEBSOCKET_MESSAGE
Tag for WebSocket's Message



Copyright © 2014. All Rights Reserved.