public interface AsyncSupport<E extends AtmosphereResource>
| Modifier and Type | Method and Description |
|---|---|
void |
action(E actionEvent)
Process an
Action from an ActionEvent operation like suspend, resume or timed out. |
AsyncSupport |
complete(E r)
Complete and close the connection associated with an implementation of
AtmosphereResource |
String |
getContainerName()
Return the name of the Java Web Server.
|
void |
init(javax.servlet.ServletConfig sc)
Initialize the WebServer using the
ServletConfig |
Action |
service(AtmosphereRequest req,
AtmosphereResponse res)
|
boolean |
supportWebSocket()
Return true if this implementation supports the websocket protocol.
|
String getContainerName()
void init(javax.servlet.ServletConfig sc) throws javax.servlet.ServletException
ServletConfigsc - the ServletConfigjavax.servlet.ServletExceptionAction service(AtmosphereRequest req, AtmosphereResponse res) throws IOException, javax.servlet.ServletException
req - the AtmosphereRequestres - the AtmosphereResponseAction that was manipulated by the AtmosphereHandlerIOExceptionjavax.servlet.ServletExceptionvoid action(E actionEvent)
Action from an ActionEvent operation like suspend, resume or timed out.actionEvent - An instance of Actionboolean supportWebSocket()
AsyncSupport complete(E r)
AtmosphereResourcer - AtmosphereResourceCopyright © 2017. All Rights Reserved.