|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
AtmosphereHandler that relect every call to
Broadcaster.broadcast(F).AtmosphereServlet.Action from an ActionEvent operation like suspend, resume or timed out.
AtmosphereServlet.Action from an ActionEvent operation like suspend, resume or timed out.
AtmosphereServlet.Action from an ActionEvent operation like suspend, resume or timed out.
AtmosphereServlet.Action from an ActionEvent operation like suspend, resume or timed out.
AtmosphereServlet.Action from an ActionEvent operation like suspend, resume or timed out.
AtmosphereServlet.Action from an ActionEvent operation like suspend, resume or timed out.
AtmosphereServlet.Action from an ActionEvent operation like suspend, resume or timed out.
AtmosphereServlet.Action from an ActionEvent operation like suspend, resume or timed out.
AtmosphereServlet.Action from an ActionEvent operation like suspend, resume or timed out.
AtmosphereServlet.Action which represent the state of the response,
e.g.
AtmosphereServlet.Action from an ActionEvent operation like suspend, resume or timed out.
Broadcaster to the list.
AtmosphereEvent to the list of item to be notified when
the Broadcaster.broadcast(F) is invoked.
AtmosphereEvent to the list of item to be notified when
the Broadcaster.broadcast(F) is invoked.
AtmosphereHandler serviced by the Servlet
This API is exposed to allow embedding an Atmosphere application.
MessageTransformer
Dom element from META-INF/atmosphere.xml
AtmosphereEvent encapsulates the mechanism to AtmosphereEvent.suspend(),
AtmosphereEvent.resume() and broadcast (AtmosphereEvent.getBroadcaster()) messages among
suspended response.AtmosphereEvent implementation for supporting HttpServletRequest
and HttpServletResponse.AtmosphereEvent.
AtmosphereHandler allows creation of
event-driven web applications which are hosted in the browser.AtmosphereHandler and their associated mapping.
AtmosphereServlet acts as a dispatcher for AtmosphereHandler
defined in META-INF/atmosphere.xml, or if atmosphere.xml is missing, all classes
that implements AtmosphereHandler will be discovered and mapped using
the class's name.Servlet from an
AtmosphereHandlerAtmosphereHandler in case META-INF/atmosphere.xml
is missing.
AtmosphereServlet fails to autodetect
the Servlet Container we have been deployed.F to all suspended response, e.g.
F to all suspended response, e.g.
F to all suspended response, e.g.
F to all suspended response, e.g.
F to all suspended response, e.g.
F to all suspended response, e.g.
AtmosphereEvent, which are representing a suspended response.Broadcaster configuration like ExecutorService and
MessageTransformerBroadcaster
based on the returned value of Broadcaster.getName() and
Broadcaster.getScope()Servlet must invoke the cancelled
method when the underlying WebServer detect that the client closed
the connection.
AtmosphereServlet.Broadcaster implementation.AtmosphereServletProcessor
ExecutorServices
ExecutorServices
CometSupport
CometSupport
CometSupport
CometSupport
CometSupport
CometSupport
CometSupport
AtmosphereServlet.AtmosphereConfig
AtmosphereServlet.AtmosphereConfig
AtmosphereEvent
AtmosphereEvent
AtmosphereHandler associated with this config.
Map which contains the context-oath as a key with its
associated AtmosphereHandler, loaded from META-INF/atmosphere.xml
Broadcaster
Broadcaster
Broadcaster, or null.
BroadcasterConfig
BroadcasterConfig
BroadcasterLookup
ExecutorService.
ExecutorService this Broadcaster support.
ArrayList which maps to the AtmosphereServlet
Broadcaster.broadcast(java.lang.Object)
Broadcaster.broadcast(java.lang.Object)
Broadcaster
Broadcaster
AtmosphereHandler
Broadcaster#SCOPE
Broadcaster#SCOPE
CometContext that will be used to suspend and
resume the response.
CometContext that will be used to suspend and
resume the response.
AtmosphereHandler associated with this AtmosphereServlet.
AtmosphereServletProcessor using the E
ServletConfig
AtmosphereEvent.resume() has been
invoked
AtmosphereEvent.resume() has been
invoked
AtmosphereEvent.suspend() has been
invoked and set to true
AtmosphereEvent.suspend() has been
invoked and set to true
Logger used by the Atmosphere.Broadcaster instance using Broadcaster.getName().
AtmosphereHandler.onMessage(org.atmosphere.cpr.AtmosphereEvent)
See XSSHtmlTransformer for an example.AtmosphereHandler, it can decide
if the underlying connection can be suspended (creating a Continuation)
or handle the connection synchronously.
AtmosphereEvent
to the HttpServletRequest#setAttribute(java.lang.String, java.lang.Object)).
Broadcaster execute a broadcast
operations.
AtmosphereEvent.getMessage() back to the client using
the ServletResponse.getOutputStream() or ServletResponse.getWriter()
By default, this method will try to use ServletResponse.getWriter().
AtmosphereServletProcessor that delegate the AtmosphereHandler.onEvent(org.atmosphere.cpr.AtmosphereEvent)
to the Servlet#service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
and storing the {@link AtmosphereEvent} as a {@link HttpServletRequest} attribute named
org.atmosphere.cpr.AtmosphereEvent.Broadcaster to the list.
AtmosphereEvent from the list of item to be notified when
the Broadcaster.broadcast(F) is invoked.
AtmosphereEvent from the list of item to be notified when
the Broadcaster.broadcast(F) is invoked.
MessageTransformer
HttpServletResponse and finish/commit it.
HttpServletResponse and finish/commit it.
Servlet must invoke the resume
method when the Atmosphere's application decide to resume the HttpServletResponse.
HttpServletRequest and the HttpServletResponse.
HttpServletRequest and the HttpServletResponse.
HttpServletRequest and the HttpServletResponse.
HttpServletRequest and the HttpServletResponse.
HttpServletRequest and the HttpServletResponse.
HttpServletRequest and the HttpServletResponse.
HttpServletRequest and the HttpServletResponse.
HttpServletRequest and the HttpServletResponse.
AtmosphereServlet detect the container
detect Servlet 3.0 Asynch API.Broadcaster
Broadcaster
BroadcasterConfig instance.
BroadcasterConfig instance.
ExecutorService which can be used to dispatch
AtmosphereEvent.
Broadcaster.broadcast(java.lang.Object)
Broadcaster
Broadcaster
Broadcaster#SCOPE
Broadcaster#SCOPE
HttpServletResponse indefinitely.
HttpServletResponse.
HttpServletResponse indefinitely.
HttpServletResponse.
Servlet must invoke the suspended
method when the first request comes in.
Servlet must invoke the timedout
method when the underlying WebServer time out the HttpServletResponse.
Dom element from WEB-INF/web.xml
MessageTransformer which automatically transform
HTML/HTTP character into proper value, like \n replace by <br>.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||