| Package | Description |
|---|---|
| org.atmosphere.container | |
| org.atmosphere.cpr | |
| org.atmosphere.websocket | |
| org.atmosphere.websocket.protocol |
| Modifier and Type | Method and Description |
|---|---|
Action |
TomcatCometSupport.cancelled(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
Tomcat7CometSupport.cancelled(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
JettyCometSupport.cancelled(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
JBossWebCometSupport.cancelled(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
GrizzlyCometSupport.cancelled(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
Grizzly2CometSupport.cancelled(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
GlassFishv2CometSupport.cancelled(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
BlockingIOCometSupport.cancelled(AtmosphereRequest req,
AtmosphereResponse res) |
static Action |
JettyWebSocketUtil.doService(AsynchronousProcessor cometSupport,
AtmosphereRequest req,
AtmosphereResponse res,
org.eclipse.jetty.websocket.WebSocketFactory webSocketFactory) |
Action |
TomcatWebSocketUtil.Delegate.doService(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
Tomcat7Servlet30SupportWithWebSocket.doService(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
Tomcat7BIOSupportWithWebSocket.doService(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
Tomcat7AsyncSupportWithWebSocket.doService(AtmosphereRequest req,
AtmosphereResponse res) |
static Action |
TomcatWebSocketUtil.doService(AtmosphereRequest req,
AtmosphereResponse res,
TomcatWebSocketUtil.Delegate delegate,
AtmosphereConfig config,
WebSocketProcessor webSocketProcessor) |
protected org.eclipse.jetty.continuation.Continuation |
Jetty7CometSupport.getContinuation(AtmosphereRequest req) |
Action |
TomcatCometSupport.service(AtmosphereRequest req,
AtmosphereResponse res)
Invoked by the Tomcat AIO when a Comet request gets detected.
|
Action |
Tomcat7Servlet30SupportWithWebSocket.service(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
Tomcat7CometSupport.service(AtmosphereRequest req,
AtmosphereResponse res)
Invoked by the Tomcat AIO when a Comet request gets detected.
|
Action |
Tomcat7BIOSupportWithWebSocket.service(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
Tomcat7AsyncSupportWithWebSocket.service(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
Servlet30CometSupport.service(AtmosphereRequest request,
AtmosphereResponse response)
|
Action |
NettyCometSupport.service(AtmosphereRequest req,
AtmosphereResponse res)
|
Action |
JettyServlet30AsyncSupportWithWebSocket.service(AtmosphereRequest req,
AtmosphereResponse res)
|
Action |
JettyCometSupport.service(AtmosphereRequest req,
AtmosphereResponse response)
|
Action |
JettyAsyncSupportWithWebSocket.service(AtmosphereRequest req,
AtmosphereResponse res)
|
Action |
Jetty9AsyncSupportWithWebSocket.service(AtmosphereRequest req,
AtmosphereResponse res)
|
Action |
Jetty7CometSupport.service(AtmosphereRequest req,
AtmosphereResponse res)
|
Action |
JBossWebCometSupport.service(AtmosphereRequest req,
AtmosphereResponse res)
Invoked by the Tomcat AIO when a Comet request gets detected.
|
Action |
GrizzlyCometSupport.service(AtmosphereRequest req,
AtmosphereResponse res)
|
Action |
Grizzly2WebSocketSupport.service(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
Grizzly2CometSupport.service(AtmosphereRequest req,
AtmosphereResponse res)
|
Action |
GlassFishWebSocketSupport.service(AtmosphereRequest request,
AtmosphereResponse response)
|
Action |
GlassFishv2CometSupport.service(AtmosphereRequest req,
AtmosphereResponse res)
|
Action |
BlockingIOCometSupport.service(AtmosphereRequest req,
AtmosphereResponse res)
|
protected void |
BlockingIOCometSupport.suspend(Action action,
AtmosphereRequest req,
AtmosphereResponse res)
Suspend the connection by blocking the current
Thread |
Action |
TomcatWebSocketUtil.Delegate.suspended(AtmosphereRequest request,
AtmosphereResponse response) |
| Constructor and Description |
|---|
JettyWebSocketHandler(AtmosphereRequest request,
AtmosphereFramework framework,
WebSocketProcessor webSocketProcessor) |
TomcatWebSocketHandler(AtmosphereRequest request,
AtmosphereFramework framework,
WebSocketProcessor webSocketProcessor) |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.concurrent.ConcurrentHashMap<AtmosphereRequest,AtmosphereResource> |
AsynchronousProcessor.aliveRequests |
| Modifier and Type | Method and Description |
|---|---|
AtmosphereRequest |
AtmosphereRequest.body(java.lang.String body) |
AtmosphereRequest |
AtmosphereRequest.Builder.build() |
static AtmosphereRequest |
AtmosphereRequest.cloneRequest(javax.servlet.http.HttpServletRequest request,
boolean loadInMemory,
boolean copySession,
boolean isDestroyable)
Copy the HttpServletRequest content inside an AtmosphereRequest.
|
AtmosphereRequest |
AtmosphereRequest.contentType(java.lang.String m) |
static AtmosphereRequest |
AtmosphereRequest.create()
Create an instance of this class without an associated
HttpServletRequest |
AtmosphereRequest |
AtmosphereRequest.destroyable(boolean destroyable) |
AtmosphereRequest |
AtmosphereResourceImpl.getRequest()
Return the underlying
AtmosphereRequest Request. |
AtmosphereRequest |
AtmosphereResource.getRequest()
Return the underlying
AtmosphereRequest Request. |
AtmosphereRequest |
AtmosphereResourceImpl.getRequest(boolean enforceScope) |
AtmosphereRequest |
AtmosphereRequest.header(java.lang.String name,
java.lang.String value)
Add a header.
|
AtmosphereRequest |
AtmosphereRequest.headers(java.util.Map<java.lang.String,java.lang.String> headers)
Add all headers contained with the Map.
|
AtmosphereRequest |
AtmosphereRequest.method(java.lang.String m) |
AtmosphereRequest |
AtmosphereRequest.pathInfo(java.lang.String pathInfo) |
AtmosphereRequest |
AtmosphereResponse.request()
Return the associated
AtmosphereRequest |
AtmosphereRequest |
AtmosphereRequest.servletPath(java.lang.String servletPath) |
static AtmosphereRequest |
AtmosphereRequest.wrap(javax.servlet.http.HttpServletRequest request)
Wrap an
HttpServletRequest. |
| Modifier and Type | Method and Description |
|---|---|
Action |
AsynchronousProcessor.cancelled(AtmosphereRequest req,
AtmosphereResponse res)
All proprietary Comet based
Servlet must invoke the cancelled
method when the underlying WebServer detect that the client closed
the connection. |
protected java.util.Map<java.lang.String,java.lang.String> |
AtmosphereFramework.configureQueryStringAsRequest(AtmosphereRequest request) |
AtmosphereResource |
AtmosphereResourceFactory.create(AtmosphereConfig config,
AtmosphereRequest request,
AtmosphereResponse response,
AsyncSupport<?> a)
Create an
AtmosphereResourceImpl |
AtmosphereResource |
AtmosphereResourceFactory.create(AtmosphereConfig config,
Broadcaster broadcaster,
AtmosphereRequest request,
AtmosphereResponse response,
AsyncSupport<?> a,
AtmosphereHandler handler)
Create an
AtmosphereResourceImpl |
Action |
AtmosphereFramework.doCometSupport(AtmosphereRequest req,
AtmosphereResponse res)
Invoke the proprietary
AsyncSupport |
protected boolean |
AtmosphereFramework.isIECandidate(AtmosphereRequest request) |
protected AtmosphereFramework.AtmosphereHandlerWrapper |
AsynchronousProcessor.map(AtmosphereRequest req)
Return the
AtmosphereHandler mapped to the passed servlet-path. |
protected void |
AtmosphereFramework.notify(Action.TYPE type,
AtmosphereRequest request,
AtmosphereResponse response) |
void |
AsyncSupportListenerAdapter.onClose(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an
AtmosphereResource gets closed |
void |
AsyncSupportListener.onClose(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an
AtmosphereResource gets closed |
void |
AsyncSupportListenerAdapter.onDestroyed(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an
AtmosphereResource gets destroyed |
void |
AsyncSupportListener.onDestroyed(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an
AtmosphereResource gets destroyed |
void |
AsyncSupportListenerAdapter.onResume(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an
AtmosphereResource gets resumed |
void |
AsyncSupportListener.onResume(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an
AtmosphereResource gets resumed |
void |
AsyncSupportListenerAdapter.onSuspend(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an
AtmosphereResource gets suspended. |
void |
AsyncSupportListener.onSuspend(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an
AtmosphereResource gets suspended. |
void |
AsyncSupportListenerAdapter.onTimeout(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an
AtmosphereResource gets timed out |
void |
AsyncSupportListener.onTimeout(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an
AtmosphereResource gets timed out |
AtmosphereResponse |
AtmosphereResponse.request(AtmosphereRequest atmosphereRequest)
Set the associated
AtmosphereRequest |
AtmosphereResponse.Builder |
AtmosphereResponse.Builder.request(AtmosphereRequest atmosphereRequest) |
Action |
AsynchronousProcessor.resumed(AtmosphereRequest request,
AtmosphereResponse response)
All proprietary Comet based
Servlet must invoke the resume
method when the Atmosphere's application decide to resume the AtmosphereResponse. |
Action |
AsyncSupport.service(AtmosphereRequest req,
AtmosphereResponse res)
|
Action |
AsynchronousProcessor.suspended(AtmosphereRequest request,
AtmosphereResponse response)
All proprietary Comet based
Servlet must invoke the suspended
method when the first request comes in. |
Action |
AsynchronousProcessor.timedout(AtmosphereRequest req,
AtmosphereResponse res)
All proprietary Comet based
Servlet must invoke the timedout
method when the underlying WebServer time out the AtmosphereResponse. |
protected boolean |
AsynchronousProcessor.trackActiveRequest(AtmosphereRequest req) |
| Constructor and Description |
|---|
AtmosphereResourceImpl(AtmosphereConfig config,
Broadcaster broadcaster,
AtmosphereRequest req,
AtmosphereResponse response,
AsyncSupport asyncSupport,
AtmosphereHandler atmosphereHandler)
Create an
AtmosphereResource. |
AtmosphereResponse(AsyncIOWriter asyncIOWriter,
AtmosphereRequest atmosphereRequest,
boolean destroyable) |
AtmosphereResponse(javax.servlet.http.HttpServletResponse r,
AsyncIOWriter asyncIOWriter,
AtmosphereRequest atmosphereRequest,
boolean destroyable) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AtmosphereRequest> |
WebSocketProtocol.onMessage(WebSocket webSocket,
byte[] data,
int offset,
int length)
Parse the WebSocket message, and delegate the processing to the
AtmosphereFramework.asyncSupport or
to any existing technology. |
java.util.List<AtmosphereRequest> |
WebSocketHandler.onMessage(WebSocket webSocket,
byte[] data,
int offset,
int length) |
java.util.List<AtmosphereRequest> |
WebSocketProtocol.onMessage(WebSocket webSocket,
java.lang.String data)
Parse the WebSocket message, and delegate the processing to the
AtmosphereFramework.asyncSupport or
to any existing technology. |
java.util.List<AtmosphereRequest> |
WebSocketHandler.onMessage(WebSocket webSocket,
java.lang.String data) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<java.lang.String,java.lang.String> |
DefaultWebSocketProcessor.configureHeader(AtmosphereRequest request) |
void |
DefaultWebSocketProcessor.dispatch(WebSocket webSocket,
AtmosphereRequest request,
AtmosphereResponse r)
Dispatch to request/response to the
AsyncSupport implementation as it was a normal HTTP request. |
void |
WebSocketProcessor.open(WebSocket webSocket,
AtmosphereRequest request)
Invoked when a WebSocket gets opened by the underlying container
|
void |
DefaultWebSocketProcessor.open(WebSocket webSocket,
AtmosphereRequest request)
Invoked when a WebSocket gets opened by the underlying container
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AtmosphereRequest> |
SimpleHttpProtocol.onMessage(WebSocket webSocket,
byte[] d,
int offset,
int length)
Parse the WebSocket message, and delegate the processing to the
AtmosphereFramework.asyncSupport or
to any existing technology. |
java.util.List<AtmosphereRequest> |
EchoProtocol.onMessage(WebSocket webSocket,
byte[] data,
int offset,
int length)
Parse the WebSocket message, and delegate the processing to the
AtmosphereFramework.asyncSupport or
to any existing technology. |
java.util.List<AtmosphereRequest> |
SimpleHttpProtocol.onMessage(WebSocket webSocket,
java.lang.String d)
Parse the WebSocket message, and delegate the processing to the
AtmosphereFramework.asyncSupport or
to any existing technology. |
java.util.List<AtmosphereRequest> |
EchoProtocol.onMessage(WebSocket webSocket,
java.lang.String data)
Parse the WebSocket message, and delegate the processing to the
AtmosphereFramework.asyncSupport or
to any existing technology. |
Copyright © 2018. All Rights Reserved.