| Package | Description |
|---|---|
| org.atmosphere.cpr | |
| org.atmosphere.handler |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AtmosphereServletProcessor
Simple interface that can be used to wrap a
Servlet from an
AtmosphereHandler |
| Modifier and Type | Field and Description |
|---|---|
AtmosphereHandler |
AtmosphereFramework.AtmosphereHandlerWrapper.atmosphereHandler |
| Modifier and Type | Method and Description |
|---|---|
AtmosphereHandler |
AtmosphereResourceImpl.getAtmosphereHandler()
Return the associated
AtmosphereHandler associated with this resource. |
AtmosphereHandler |
AtmosphereResource.getAtmosphereHandler()
Return the associated
AtmosphereHandler associated with this resource. |
| Modifier and Type | Method and Description |
|---|---|
AtmosphereFramework |
AtmosphereFramework.addAtmosphereHandler(java.lang.String mapping,
AtmosphereHandler h)
Add an
AtmosphereHandler serviced by the Servlet
This API is exposed to allow embedding an Atmosphere application. |
AtmosphereFramework |
AtmosphereFramework.addAtmosphereHandler(java.lang.String mapping,
AtmosphereHandler h,
Broadcaster broadcaster)
Add an
AtmosphereHandler serviced by the Servlet
This API is exposed to allow embedding an Atmosphere application. |
AtmosphereFramework |
AtmosphereFramework.addAtmosphereHandler(java.lang.String mapping,
AtmosphereHandler h,
Broadcaster broadcaster,
java.util.List<AtmosphereInterceptor> l)
Add an
AtmosphereHandler serviced by the Servlet
This API is exposed to allow embedding an Atmosphere application. |
AtmosphereFramework |
AtmosphereFramework.addAtmosphereHandler(java.lang.String mapping,
AtmosphereHandler h,
java.util.List<AtmosphereInterceptor> l)
Add an
AtmosphereHandler serviced by the Servlet
This API is exposed to allow embedding an Atmosphere application. |
AtmosphereFramework |
AtmosphereFramework.addAtmosphereHandler(java.lang.String mapping,
AtmosphereHandler h,
java.lang.String broadcasterId)
Add an
AtmosphereHandler serviced by the Servlet
This API is exposed to allow embedding an Atmosphere application. |
AtmosphereFramework |
AtmosphereFramework.addAtmosphereHandler(java.lang.String mapping,
AtmosphereHandler h,
java.lang.String broadcasterId,
java.util.List<AtmosphereInterceptor> l)
Add an
AtmosphereHandler serviced by the Servlet
This API is exposed to allow embedding an Atmosphere application. |
AtmosphereResourceImpl |
AtmosphereResourceImpl.atmosphereHandler(AtmosphereHandler atmosphereHandler) |
AtmosphereResource |
AtmosphereResourceFactory.create(AtmosphereConfig config,
Broadcaster broadcaster,
AtmosphereRequest request,
AtmosphereResponse response,
AsyncSupport<?> a,
AtmosphereHandler handler)
Create an
AtmosphereResourceImpl |
AtmosphereResource |
AtmosphereResourceFactory.create(AtmosphereConfig config,
Broadcaster broadcaster,
AtmosphereResponse response,
AsyncSupport<?> a,
AtmosphereHandler handler)
Create an
AtmosphereResourceImpl |
| Constructor and Description |
|---|
AtmosphereFramework.AtmosphereHandlerWrapper(AtmosphereHandler atmosphereHandler,
Broadcaster broadcaster) |
AtmosphereFramework.AtmosphereHandlerWrapper(BroadcasterFactory broadcasterFactory,
AtmosphereHandler atmosphereHandler,
java.lang.String mapping) |
AtmosphereResourceImpl(AtmosphereConfig config,
Broadcaster broadcaster,
AtmosphereRequest req,
AtmosphereResponse response,
AsyncSupport asyncSupport,
AtmosphereHandler atmosphereHandler)
Create an
AtmosphereResource. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractReflectorAtmosphereHandler
Simple
AtmosphereHandler that reflect every call to
Broadcaster.broadcast(T), e.g sent the broadcasted event back to the remote client. |
class |
OnMessage<T>
Simple
AtmosphereHandler that can be used with the AtmosphereResourceLifecycleInterceptor
and BroadcastOnPostAtmosphereInterceptor to reduce the handling of the suspend/resume/disconnect and
broadcast operation. |
class |
ReflectorServletProcessor
An implementation of
AtmosphereHandler using the AtmosphereServletProcessor that delegate the 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 AtmosphereRequest.getAttribute(String) attribute named
FrameworkConfig.ATMOSPHERE_RESOURCE. |
class |
SimpleWebSocketAtmosphereHandler
Simple
AtmosphereHandler which redirect the first request to the web application welcome page. |
Copyright © 2018. All Rights Reserved.