All Classes and Interfaces
Class
Description
Abstract
BroadcasterCache which is used to implement headers, query parameters or
session based caching.Abstract
Broadcaster that delegates the internal processing to a proxy.Simple
AtmosphereHandler that reflect every call to
Broadcaster.broadcast(java.lang.Object), eg sent the broadcasted event back to the remote client.
This default implementation does nothing when
AbstractReflectorAtmosphereHandler.Default.onRequest(org.atmosphere.cpr.AtmosphereResource) is called.An Action is used by
AtmosphereInterceptor, AsyncSupport and AtmosphereFramework to determine
what to do with a request, e.g suspend it, resume it, etc.The action's type.
A marker interface that does nothing except used by
AtmosphereInterceptor to modify the default
behavior of any functionality.Fix for the Android 2.2.x bogus HTTP implementation.
Marker class for an
AtmosphereHandler proxy of a POJO object.AnnotationDetector reads Java Class File (".class") files and reports the
encountered annotations via a simple, developer friendly API.A
Reporter for field annotations.A
Reporter for method annotations.Reporter is the base interface, used to report the detected annotations.A
Reporter for type annotations.A class that handles the results of an annotation scan.
An annotation processor for configuring the
AtmosphereFramework.A ServletContainerInitializer that scans for annotations, and places them in a map keyed by annotation type in the
servlet context.
Web.xml init-param configuration supported by Atmosphere.
An annotation for
Injectable used to decide when the injection must happens.Base class which implement the semantics of suspending and resuming of a Comet/WebSocket Request.
A filter-like API that allow an
AtmosphereInterceptor to intercept the response before it gets written back
to the client.An Adapter for
AsyncIOInterceptor.An Asynchronous I/O Writer is used by a
AtmosphereResponse when writing data.Adapter class for
AsyncIOWriter.Atmosphere's supported WebServer must implement this interface in order to be auto detected by the
AtmosphereFramework.A listener that can be used to track
AsyncSupport events like SUSPEND, RESUME, TIMEOUT, DESTROYED and CLOSEDA default implementation of
AsyncSupportListenerAn annotation for telling Atmosphere which
AsyncSupportListener class to use by default.This interface is used by
AtmosphereFramework to determine which AsyncSupport instance should be usedAn annotation for telling Atmosphere which
AsyncSupport class to use by default.This annotation is scanned by Atmosphere at runtime to determine
Processor implementation.This class contains information about the current state of the
AtmosphereFramework.A shutdown hook that will be called when the
AtmosphereFramework.destroy() method gets invoked.A Startup hook that will be called when the
AtmosphereFramework.init() method complete.Descriptor for an Atmosphere configuraton file.
Atmosphere has support for
Filters, delegating all work to AtmosphereServlet.Implementation of
javax.servlet.FilterChain used to manage
the execution of a set of filters for a particular request.The
AtmosphereFramework is the entry point for the framework.
This enumeration represents all possible actions to specify in a meta service file.
Lifecycle listener for
AtmosphereFrameworkAdapter for
AtmosphereFrameworkListenerAn annotation for installing
AtmosphereFrameworkListenerImplementation of
AtmosphereHandler allows creation of event-driven web applications which are hosted in
the browser.An implementation of
AtmosphereHandler that does nothing.An annotation for
AtmosphereHandlerIntercept the dispatch of
AtmosphereResource before they get dispatched to AtmosphereHandlers.A Simple
AtmosphereInterceptor that creates an AtmosphereInterceptorWriter and sets it as
the default AsyncIOWriter on an AtmosphereResponse.An annotation for telling Atmosphere which
AtmosphereInterceptor class to use by default.An
AsyncIOWriter that delegates the write operation to its AsyncIOInterceptor.Thrown when
AsynchronousProcessor is unable to map the request to an AtmosphereHandler.Customization point for Atmosphere to instantiate classes.
Atmosphere Internal Object Injection for DI supporting JSR 330
An Atmosphere request representation.
An Atmosphere request representation.
invalid input: '{@link /*missing*/}'AtmosphereResource} injection implementation support.
An
AtmosphereResource encapsulates the mechanism to AtmosphereResource.suspend(), AtmosphereResource.resume() and
broadcast (AtmosphereResource.getBroadcaster()) messages among suspended resources.An AtmosphereResourceEvent is created every time an event occurs, like when a
Broadcaster.broadcast(java.lang.Object) is executed, when a browser remotely closes the connection or
when a suspended resource times out or gets resumed.AtmosphereResourceEvent implementation.invalid input: '{@link /*missing*/}'AtmosphereResource} injection implementation support.
Receive notifications when resume, client disconnect or broadcast events occur.
An implementation of
AtmosphereResourceEventListener which just log events with log level TRACE.On Broadcast's Listener
On Close's Listener
On Disconnect's Listener
On Heartbeat's Listener
On PreSuspend's Listener
On Resume's Listener
On Suspend's Listener
On Throwable's Listener
A Factory used to manage
AtmosphereResource instances.An interface to use in order to retrieve an
AtmosphereResource inside a cluster.An annotation for telling Atmosphere which
AtmosphereResourceFactory class to use by default.Receive notifications when heartbeat events occur.
invalid input: '{@link /*missing*/}'AtmosphereResource} injection implementation support.
This
AtmosphereInterceptor implementation automatically suspends the intercepted
AtmosphereResource and takes care of managing the response's state (flushing, resuming,
etc.) when a Broadcaster.broadcast(java.lang.Object) is invoked.Listener for when
AtmosphereResource gets suspended and disconnected.Adapter for
AtmosphereResourceListenerInstall an
AtmosphereResourceListenerThe AtmosphereResourceSession is managed by the
AtmosphereResourceSessionFactory.Factory for
AtmosphereResourceSession instancesThis interceptor associates a
AtmosphereResource to all Broadcaster the resource was added before
the underlying connection got closed and resume.An Atmosphere's response representation.
An Atmosphere's response representation.
invalid input: '{@link /*missing*/}'AtmosphereResource} injection implementation support.
An annotation which acts like the
ManagedService annotated resource, but
that can be used with frameworks like Jersey, Wicket or any framework running the Atmosphere Framework.AtmosphereServlet that use Servlet 3.0 Async API when available, and fallback to native comet support if not available.
Simple interface that can be used to wrap a
Servlet from an AtmosphereHandler.An AtmosphereSession allow an application to keep track of the AtmosphereResource associated with a remote client.
This class is used when the
AtmosphereFramework fails to autodetect
the Servlet Container we are running on.An Bounder Broadcaster Pool Provider of
Broadcaster.A Broadcaster is responsible for delivering messages to its subscribed
AtmosphereResources, which are
representing suspended responses.A BroadcasterCache is a cache for broadcasted messages.
Inspect
BroadcastMessages before they get added to the BroadcasterCache.Annotation used to mark a
BroadcasterCacheInspector.Listener for
BroadcasterCacheAn annotation for installing
BroadcasterListenerAn annotation for telling Atmosphere which
BroadcasterCache class to use by default.Manipulate the message before and after they are getting filtered by
BroadcastFilterFactory for
Broadcaster used by Atmosphere when creating broadcasters.An annotation for telling Atmosphere which
BroadcasterFactory class to use by default.An annotation for telling Atmosphere to add the
BroadcastFilter to all created BroadcasterSimple
Future that can be used when awaiting for a Broadcaster to finish
its broadcast operation to AtmosphereHandler.Broadcaster and Named injection support.This class can be used to configure the life cycle of a
Broadcaster, eg.Simple listener to be used to track
BroadcasterLifeCyclePolicy events.Simple adapter listener to be used to track
BroadcasterLifeCyclePolicy events.A listener for a
Broadcaster's event lifecycle.Throw this exception to interrupt the
Broadcaster.destroy() operation.An implementation of
BroadcasterListener.An annotation for installing
BroadcasterListenerAn annotation for telling Atmosphere which
Broadcaster class to use by default.Transform a message before it get broadcasted to
AtmosphereHandler.onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent).Simple class that tells the
Broadcaster to broadcast or not the transformed value.Adapter for
PerRequestBroadcastFilter.Add lifecycle method to the
BroadcastFilter interface.A wrapper around an object passed to
Broadcaster.broadcast(Object)This read the request's body and invoke the associated
Broadcaster of an AtmosphereResource.An
AsyncIOWriter backed by an ByteArrayOutputStreamAt interceptor for customizing the following headers: Expire, Cache-Control, Pragma,
Access-Control-Origin and Access-Control-Allow-Credential.
A simple marker interface for for the CDI extension.
Creates a signle reader instance from a sequence of readers.
Specialize
BroadcastFilter used when clustering is enabled.The CompletionAware interface is used by a class implementing the
AtmosphereResponse interface
to be notified when writing to the response has been completed.Initializer for the AtmosphereFramework per servlet instance,
this initializer is called during web-application startup lifecycle (since Servlet 3.0).
This class is a cut invalid input: '&' paste from Tomcat's Cookie creation.
CORS support.
Decode a message in order to invoke a class annotated with
ManagedService with a method
annotated with Message.An
AnnotationProcessor that selects between a ServletContextInitializer based scanner, and
a bytecode based scanner based on .This is the default implementation of @link {AsyncSupportResolver}.
A Factory used to manage
AtmosphereResource instances.The default
Broadcaster implementation.This class is responsible for creating
Broadcaster instances.Default implementation of the
EndpointMapper used by the AsynchronousProcessor
and DefaultWebSocketProcessorBroadcast events to all or a subset of available
Broadcasters based on their Broadcaster.getID() value.Like the
AsynchronousProcessor class, this class is responsible for dispatching WebSocket request to the
proper WebSocket implementation.Use this annotation with the
ManagedService annotation.A Deliver is an
Broadcaster's internal token that is created before the message gets Broadcaster.Broadcast the returned value only to the calling resource
DeliverTo.DELIVER_TO.RESOURCE,
to its associated Broadcaster DeliverTo.DELIVER_TO.BROADCASTER
or to all created Broadcasters DeliverTo.DELIVER_TO.ALLUse this annotation with the
ManagedService annotation.Simple
WebSocketProcessor that invoke the Broadcaster.broadcast(java.lang.Object) API when a WebSocket message
is received.websocketd support.
Encode a message returned by a method annotated with
Message or a ManagedService
annotated class.This class is responsible for mapping request to handler like
AtmosphereHandler
or WebSocketHandlerAn annotation to use in order to replace the default
EndpointMapperAn implementation of
DefaultBroadcaster that exclude one or more AtmosphereResourceStateless Factory to create
ExecutorService used in all Atmosphere Component.FileIterator enables iteration over all files in a directory and all
its sub directories.FilterConfig implementation.Fork of https://code.google.com/p/jgoogleanalytics/
Focus point of the application.
Wrapper around a ForkJoinPool for JDK7+ support.
Request attribute a framework integrator can use to lookup Atmosphere internal objects.
Use this annotation with the
ManagedService annotation.Websocket Portable Runtime implementation on top of GlassFish 3.0.1 and up.
Comet Portable Runtime implementation on top of Grizzly API included with GlassFish v2.
Glassfish 3.2.x WebSocket support.
Websocket Portable Runtime implementation on top of GlassFish 3.0.1 and up.
Fork of https://code.google.com/p/jgoogleanalytics/
Comet Portable Runtime implementation on top of Grizzly 1.5 and up.
Comet Portable Runtime implementation on top of Grizzly 1.5 and up.
Websocket Portable Runtime implementation on top of GlassFish 3.0.1 and up.
This interface contains all Atmosphere headers shared between the client and the server.
Annotate a method that will get invoked when the client sends an heartbeat.
Specifies to the observable that
AtmosphereResourceHeartbeatEventListener.onHeartbeat(org.atmosphere.cpr.AtmosphereResourceEvent)
should be invoked when it fires event to observers.
An interceptor that send whitespace every in 60 seconds by default.
Fork of https://code.google.com/p/jgoogleanalytics/
Simple class peforming HTTP Get method on the requested url
An Interceptor that track idle
AtmosphereResource and close it.An Injectable class allow the
InjectableObjectFactory to assign a value to a field annotated with the
Inject annotation.Support injection of Atmosphere's Internal object using
AtmosphereConfig,AtmosphereFramework,
invalid @link
{@link org.atmosphere.cpr.BroadcasterFactory,
AtmosphereResourceFactory ,DefaultMetaBroadcaster and
AtmosphereResourceSessionFactory and classes implementing the Injectable defined inside
META_INF/services/org.atmosphere.inject.InjectAn Injectable class allow the
InjectableObjectFactory to inspect fields and methods before they get injected or executed.Adapter class for
InjectIntrospectorFileIterator enables iteration over all files in a directory and all
its sub directories.Utils for introspection and reflection
A simple marker class to use with
AtmosphereInterceptor in order to determine in which
position in the interceptor's chain the AtmosphereInterceptor must be installed.
An Interceptor that send back to a websocket and http client the value of
HeaderConfig.X_ATMOSPHERE_TRACKING_ID.JBoss's WebSocket support.
Comet Portable Runtime implementation on top of Tomcat AIO.
Adapts a JBoss
WebSocket to an Atmosphere WebSocket.Dispatches JBoss websocket events to Atmosphere's
WebSocketProcessor.Comet Portable Runtime implementation on top of Jetty's Continuation.
Jetty 8 WebSocket support.
Jetty 9 WebSocket support.
WebSocket Portable Runtime implementation on top of Jetty's.
Comet Portable Runtime implementation on top of Jetty's Continuation.
This class is the same as
JettyAsyncSupportWithWebSocket implementation and add Websocket support
to Servlet 3.0.Jetty 7 invalid input: '&' 8 WebSocket support.
Fork of https://code.google.com/p/jgoogleanalytics/
Main class for tracking google analytics data.
JSONP Transport Support.
Asynchronous based
Session websocketThe KeepOpenStreamAware interface is used by a class implementing the
AsyncIOWriter interface
to indicate the closing of the underlining stream is managed elsewhere and invoking the
AsyncIOWriter.close(AtmosphereResponse) method does not close the stream.An internal implementation of
AtmosphereHandler that implement support for Atmosphere 2.0 annotations.A Meta annotation that configure Atmosphere with
The
UUIDBroadcasterCachefor caching message.Handle
Singleton for ManagedService processing.Annotate a method that will get invoked when String messages are broadcasted using the
Broadcaster
associated with the class where the annotation is associated.Broadcast events to all or a subset of available
Broadcasters based on their Broadcaster.getID() value.Cache message if no
Broadcaster maps the MetaBroadcaster.broadcastTo(String, Object)Flush the cache every 30 seconds.
A
Meteor is a simple class that can be used from a Servlet
to suspend, broadcast and resume responses.Annotate a
Meteor implementation so Atmosphere can install it at runtime.Handle
Singleton,MeteorService
processing.Simple Servlet to use when Atmosphere
Meteor are used.Netty's Framework
AsyncSupport and framework running on top of it, like vert.x and Play!Add proper header for Nginx's buffering http://wiki.nginx.org/HttpProxyModule#proxy_buffering
This interceptor set the 'X-Accel-Buffering : No' on the
This interceptor set the 'X-Accel-Buffering : No' on the
AtmosphereResponse before it gets suspended.Old 8k Padding interceptor for Browser that needs whitespace when streaming is used.
When the browser close the connection, the atmosphere.js will send an unsubscribe message to tell
framework the browser is disconnecting.
Simple
AtmosphereHandler that must be used with the AtmosphereResourceLifecycleInterceptor
and BroadcastOnPostAtmosphereInterceptor to reduce the handling of the suspend/resume/disconnect and
broadcast operation.Padding interceptor for Browser that needs whitespace when streaming is used.
Use this annotation with the
ManagedService annotation.PathParam injection support.An extended
BroadcastFilter that can be used to filter based on AtmosphereResource.This class uses a
PoolableProvider to retrieve instance of Broadcaster.Implements this interface for provisioning the
PoolableBroadcasterFactory
with BroadcasterUse this annotation with the
ManagedService annotation.PostConstruct implementation support.
Class annotated with
AtmosphereAnnotation must implement this interface in order to get invoked
when the AtmosphereFramework.init() executes.Use this annotation with the
ManagedService annotation.Splits an HTTP query string into a path string and key-value parameter pairs.
InputStream implementation that reads a character stream from a Reader
and transforms it to a byte stream using a specified charset encoding.Use this annotation with the
ManagedService annotation.Deprecated.
An implementation of
AtmosphereHandler using the AtmosphereServletProcessor that delegate the AtmosphereHandler.onRequest(org.atmosphere.cpr.AtmosphereResource)
to a set of FilterChain and Servlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
and store the AtmosphereResource as a AtmosphereRequestImpl.getAttribute(String) attribute named
FrameworkConfig.ATMOSPHERE_RESOURCE.An annotation for
InjectIntrospector used to decide when the injection must happens.Use this annotation with the
ManagedService annotation.Serialize the
Object that was used as parameter to Broadcaster.broadcast(java.lang.Object).This class is used when the
AtmosphereFramework detect the container
detect Servlet 3.0 Asynch API.A simple Factory to get access to the .
A factory class that can be used to handle the Servlet API internal proxy.
A MethodHandler can be added to allow Frameworks using Atmosphere to customize internal behavior.
Simple
BroadcasterCache that use an HttpSession to cache
messages.An interceptor that create an
HttpSession on the fist received request so transport like long-polling
can share the session with request coming after the suspend operation.Capable of restoring HTTP session timeout to given value.
Allows invalidating and restoring HTTP session timeout.
Shiro Interceptor, it creates a request attribute (subject) that contains the true Subject.
Simple
Broadcaster implementation that use the calling thread when broadcasting events.Like the
AsynchronousProcessor class, this class is responsible for dispatching WebSocket messages to the
proper WebSocket implementation by wrapping the Websocket message's bytes within
an HttpServletRequest.An Atmosphere interceptor to enable a simple rest binding protocol.
A class annotated with this annotation will be instantiated only once.
HTML 5 Server-Sent Events implementation.
Like the
AsynchronousProcessor class, this class is responsible for dispatching WebSocket stream to the
proper WebSocket implementation by wrapping the Websocket message's bytes within
an HttpServletRequest.Adapted from Apache Commons code
Simple Aggregator that aggregate broadcasted String until it reach the
limit.
An interceptor that keep track of
AtmosphereResource.uuid() and disable invocation of AtmosphereResourceEventListenerAdapter.onSuspend(org.atmosphere.cpr.AtmosphereResourceEvent)
and AtmosphereResourceEventListenerAdapter.onPreSuspend(org.atmosphere.cpr.AtmosphereResourceEvent)This class has been highly inspired by the Jersey's 1.x.
Tomcat's WebSocket support.
Tomcat's WebSocket support.
Comet Portable Runtime implementation on top of Tomcat AIO.
Tomcat's WebSocket support.
Comet Portable Runtime implementation on top of Tomcat AIO.
Tomcat WebSocket Support
An
AtmosphereInterceptor that adds message size and delimiter, and encodes the message in Base64.A
PerRequestBroadcastFilter implementation that add the expected length of the message.An
AtmosphereInterceptor that add a message size and delimiter.Enhanced type resolution utilities.
An unknown type.
An Unbounded Broadcaster Pool Provider of
BroadcasterUniverse contains static reference to Atmosphere's Factories.
Utility class for validating, encoding and decoding components
of a URI.
The URI component type.
A URI pattern for matching a URI against a regular expression
and returning capturing group values for any capturing groups present in
the expression.
A URI template.
A URI template parser that parses JAX-RS specific URI templates.
Fork of https://code.google.com/p/jgoogleanalytics/
Interface for the URL building strategy
Utils class.
An improved
BroadcasterCache implementation that is based on the unique identifier (UUID) that all
AtmosphereResources have.An annotation to use in order to replace the default
UUIDProviderClass contains information about Atmosphere framework
An
AnnotationProcessor that does nothing.An
ExecutorService that does nothing and execute using the calling Thread.Represent a portable WebSocket implementation which can be used to write message.
A listener for monitoring what's occurring on a WebSocket, independently of the underlying implementation.
An implementation of
WebSocketEventListener with just log event as trace.A factory for retrieving
WebSocketAn annotation for telling Atmosphere which
WebSocketFactory class to use by default.A very simple interface adapter class that implements all methods and expose a WebSocket API
close to the JavaScript Counterpart.
Simple Adapter for
WebSocketHandlerAn annotation for telling Atmosphere which
WebSocketHandler class to use by default.A Servlet Filter for configuring which WebSocket protocol version an application want to support.
Mark WebSocket Message as suspended.
WebSocket Ping/Pong Listener.
Atmosphere's WebSocket Support implementation.
An exception that can be used to flag problems with the WebSocket processing.
Simple Adapter fpr
WebSocketProcessorFactory for
WebSocketProcessor.An annotation for telling Atmosphere which
WebSocketProcessor class to use by default.A WebSocket based protocol implementation.
An annotation for telling Atmosphere which
WebSocketProtocol class to use by default.A streaming API for WebServer that support WebSocket streaming.
A Streaming Interface for WebSocket.
An Adapter for
WebSocketStreamingHandlerAdapterSimple
BroadcastFilter which automatically filter
HTML/HTTP character into proper value, like \n replace by <br>.