Modifier and Type | Method and Description |
---|---|
Action |
TomcatCometSupport.cancelled(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
Tomcat7CometSupport.cancelled(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
Servlet30CometSupport.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) |
Action |
JBossAsyncSupportWithWebSocket.doService(AtmosphereRequest req,
AtmosphereResponse res) |
static Action |
TomcatWebSocketUtil.doService(AtmosphereRequest req,
AtmosphereResponse res,
TomcatWebSocketUtil.Delegate delegate,
AtmosphereConfig config,
WebSocketProcessor webSocketProcessor) |
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 |
JBossAsyncSupportWithWebSocket.service(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
GrizzlyServlet30WebSocketSupport.service(AtmosphereRequest request,
AtmosphereResponse response) |
Action |
GrizzlyCometSupport.service(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
Grizzly2WebSocketSupport.service(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
Grizzly2CometSupport.service(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
GlassFishv2CometSupport.service(AtmosphereRequest req,
AtmosphereResponse res)
|
Action |
GlassFishWebSocketSupport.service(AtmosphereRequest request,
AtmosphereResponse response) |
Action |
GlassFishServlet30WebSocketSupport.service(AtmosphereRequest request,
AtmosphereResponse response) |
Action |
GlassFishServ30WebSocketSupport.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) |
Modifier and Type | Method and Description |
---|---|
void |
TomcatWebSocket.close(AtmosphereResponse r) |
WebSocket |
TomcatWebSocket.flush(AtmosphereResponse r) |
WebSocket |
Jetty8WebSocket.flush(AtmosphereResponse r) |
WebSocket |
GrizzlyWebSocket.flush(AtmosphereResponse r) |
Modifier and Type | Class and Description |
---|---|
class |
AtmosphereResponseImpl
An Atmosphere's response representation.
|
Modifier and Type | Method and Description |
---|---|
AtmosphereResponse |
AtmosphereResponseImpl.asyncIOWriter(AsyncIOWriter asyncIOWriter) |
AtmosphereResponse |
AtmosphereResponse.asyncIOWriter(AsyncIOWriter asyncIOWriter)
Set an implementation of
AsyncIOWriter that will be invoked every time a write operation is ready to be
processed. |
AtmosphereResponse |
AtmosphereResponseImpl.Builder.build() |
AtmosphereResponse |
AtmosphereResponse.Builder.build() |
AtmosphereResponse |
AtmosphereResponseImpl.delegateToNativeResponse(boolean delegateToNativeResponse) |
AtmosphereResponse |
AtmosphereResponse.delegateToNativeResponse(boolean delegateToNativeResponse) |
AtmosphereResponse |
AtmosphereResponseImpl.destroyable(boolean destroyable) |
AtmosphereResponse |
AtmosphereResponse.destroyable(boolean destroyable) |
AtmosphereResponse |
AtmosphereResourceImpl.getResponse() |
AtmosphereResponse |
AtmosphereResource.getResponse()
Return the
AtmosphereResponse . |
AtmosphereResponse |
AtmosphereResourceImpl.getResponse(boolean enforceScope) |
static AtmosphereResponse |
AtmosphereResponseImpl.newInstance()
Create an instance not associated with any response parent.
|
static AtmosphereResponse |
AtmosphereResponseImpl.newInstance(AtmosphereConfig config,
AtmosphereRequest request,
WebSocket webSocket)
Create a new instance to use with WebSocket.
|
static AtmosphereResponse |
AtmosphereResponseImpl.newInstance(AtmosphereRequest request)
Create a new instance to use with WebSocket.
|
AtmosphereResponse |
AtmosphereResponseImpl.request(AtmosphereRequest atmosphereRequest) |
AtmosphereResponse |
AtmosphereResponse.request(AtmosphereRequest atmosphereRequest)
Set the associated
AtmosphereRequest . |
static AtmosphereResponse |
AtmosphereResponseImpl.wrap(javax.servlet.http.HttpServletResponse response)
Wrap an
HttpServletResponse |
AtmosphereResponse |
AtmosphereResponseImpl.write(byte[] data) |
AtmosphereResponse |
AtmosphereResponse.write(byte[] data)
Write the bytes by either using the
PrintWriter or OutputStream . |
AtmosphereResponse |
AtmosphereResponseImpl.write(byte[] data,
boolean writeUsingOriginalResponse) |
AtmosphereResponse |
AtmosphereResponse.write(byte[] data,
boolean writeUsingOriginalResponse)
Write the String by either using the
PrintWriter or OutputStream . |
AtmosphereResponse |
AtmosphereResponseImpl.write(byte[] data,
int offset,
int length) |
AtmosphereResponse |
AtmosphereResponse.write(byte[] data,
int offset,
int length)
Write the bytes by either using the
PrintWriter or OutputStream . |
AtmosphereResponse |
AtmosphereResponseImpl.write(byte[] data,
int offset,
int length,
boolean writeUsingOriginalResponse) |
AtmosphereResponse |
AtmosphereResponse.write(byte[] data,
int offset,
int length,
boolean writeUsingOriginalResponse)
Write the String by either using the
PrintWriter or OutputStream . |
AtmosphereResponse |
AtmosphereResponseImpl.write(String data) |
AtmosphereResponse |
AtmosphereResponse.write(String data)
Write the String by either using the
PrintWriter or OutputStream . |
AtmosphereResponse |
AtmosphereResponseImpl.write(String data,
boolean writeUsingOriginalResponse) |
AtmosphereResponse |
AtmosphereResponse.write(String data,
boolean writeUsingOriginalResponse)
Write the String by either using the
PrintWriter or OutputStream . |
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. |
void |
AtmosphereInterceptorWriter.close(AtmosphereResponse response) |
void |
AsyncIOWriterAdapter.close(AtmosphereResponse r) |
void |
AsyncIOWriter.close(AtmosphereResponse r)
Close the underlying connection.
|
AtmosphereFramework |
AtmosphereFramework.configureRequestResponse(AtmosphereRequest req,
AtmosphereResponse res)
Configure some attributes on the
AtmosphereRequest . |
AtmosphereResource |
DefaultAtmosphereResourceFactory.create(AtmosphereConfig config,
AtmosphereRequest request,
AtmosphereResponse response,
AsyncSupport<?> a)
Create an
AtmosphereResourceImpl |
AtmosphereResource |
AtmosphereResourceFactory.create(AtmosphereConfig config,
AtmosphereRequest request,
AtmosphereResponse response,
AsyncSupport<?> a)
Create an
AtmosphereResourceImpl |
AtmosphereResource |
DefaultAtmosphereResourceFactory.create(AtmosphereConfig config,
AtmosphereResponse response,
AsyncSupport<?> a)
Create an
AtmosphereResourceImpl . |
AtmosphereResource |
AtmosphereResourceFactory.create(AtmosphereConfig config,
AtmosphereResponse response,
AsyncSupport<?> a)
Create an
AtmosphereResourceImpl . |
AtmosphereResource |
DefaultAtmosphereResourceFactory.create(AtmosphereConfig config,
Broadcaster broadcaster,
AtmosphereRequest request,
AtmosphereResponse response,
AsyncSupport<?> a,
AtmosphereHandler handler)
Create an
AtmosphereResourceImpl . |
AtmosphereResource |
AtmosphereResourceFactory.create(AtmosphereConfig config,
Broadcaster broadcaster,
AtmosphereRequest request,
AtmosphereResponse response,
AsyncSupport<?> a,
AtmosphereHandler handler)
Create an
AtmosphereResourceImpl . |
AtmosphereResource |
DefaultAtmosphereResourceFactory.create(AtmosphereConfig config,
Broadcaster broadcaster,
AtmosphereRequest request,
AtmosphereResponse response,
AsyncSupport<?> a,
AtmosphereHandler handler,
AtmosphereResource.TRANSPORT t)
Create an
AtmosphereResourceImpl . |
AtmosphereResource |
AtmosphereResourceFactory.create(AtmosphereConfig config,
Broadcaster broadcaster,
AtmosphereRequest request,
AtmosphereResponse response,
AsyncSupport<?> a,
AtmosphereHandler handler,
AtmosphereResource.TRANSPORT t)
Create an
AtmosphereResourceImpl . |
AtmosphereResource |
DefaultAtmosphereResourceFactory.create(AtmosphereConfig config,
Broadcaster broadcaster,
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 . |
AtmosphereResource |
DefaultAtmosphereResourceFactory.create(AtmosphereConfig config,
Broadcaster broadcaster,
AtmosphereResponse response,
AsyncSupport<?> a,
AtmosphereHandler handler,
AtmosphereResource.TRANSPORT t) |
AtmosphereResource |
AtmosphereResourceFactory.create(AtmosphereConfig config,
Broadcaster broadcaster,
AtmosphereResponse response,
AsyncSupport<?> a,
AtmosphereHandler handler,
AtmosphereResource.TRANSPORT t) |
Action |
AtmosphereFramework.doCometSupport(AtmosphereRequest req,
AtmosphereResponse res)
Invoke the proprietary
AsyncSupport . |
byte[] |
AsyncIOInterceptorAdapter.error(AtmosphereResponse response,
int statusCode,
String reasonPhrase) |
byte[] |
AsyncIOInterceptor.error(AtmosphereResponse response,
int statusCode,
String reasonPhrase) |
AsyncIOWriter |
AtmosphereInterceptorWriter.flush(AtmosphereResponse response) |
AsyncIOWriter |
AsyncIOWriterAdapter.flush(AtmosphereResponse r) |
AsyncIOWriter |
AsyncIOWriter.flush(AtmosphereResponse r)
Flush the buffered content.
|
AtmosphereResource |
AtmosphereResourceImpl.initialize(AtmosphereConfig config,
Broadcaster broadcaster,
AtmosphereRequest req,
AtmosphereResponse response,
AsyncSupport asyncSupport,
AtmosphereHandler atmosphereHandler)
Initialize an
AtmosphereResource . |
AtmosphereResource |
AtmosphereResource.initialize(AtmosphereConfig config,
Broadcaster broadcaster,
AtmosphereRequest req,
AtmosphereResponse response,
AsyncSupport asyncSupport,
AtmosphereHandler atmosphereHandler)
Initialize an
AtmosphereResource . |
protected void |
AtmosphereInterceptorWriter.invokeInterceptor(AtmosphereResponse response,
byte[] data,
int offset,
int length) |
AtmosphereFramework |
AtmosphereFramework.notify(Action.TYPE type,
AtmosphereRequest request,
AtmosphereResponse response) |
void |
AsyncSupportListenerAdapter.onClose(AtmosphereRequest request,
AtmosphereResponse response) |
void |
AsyncSupportListener.onClose(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an
AtmosphereResource gets closed. |
void |
AsyncSupportListenerAdapter.onDestroyed(AtmosphereRequest request,
AtmosphereResponse response) |
void |
AsyncSupportListener.onDestroyed(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an
AtmosphereResource gets destroyed. |
void |
AsyncSupportListenerAdapter.onResume(AtmosphereRequest request,
AtmosphereResponse response) |
void |
AsyncSupportListener.onResume(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an
AtmosphereResource gets resumed. |
void |
AsyncSupportListenerAdapter.onSuspend(AtmosphereRequest request,
AtmosphereResponse response) |
void |
AsyncSupportListener.onSuspend(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an
AtmosphereResource gets suspended. |
void |
AsyncSupportListenerAdapter.onTimeout(AtmosphereRequest request,
AtmosphereResponse response) |
void |
AsyncSupportListener.onTimeout(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an
AtmosphereResource times out. |
void |
AsyncIOInterceptorAdapter.postPayload(AtmosphereResponse response,
byte[] data,
int offset,
int length) |
void |
AsyncIOInterceptor.postPayload(AtmosphereResponse response,
byte[] data,
int offset,
int length) |
void |
AsyncIOInterceptorAdapter.prePayload(AtmosphereResponse response,
byte[] data,
int offset,
int length) |
void |
AsyncIOInterceptor.prePayload(AtmosphereResponse response,
byte[] data,
int offset,
int length) |
AsyncIOWriter |
AtmosphereInterceptorWriter.redirect(AtmosphereResponse response,
String location) |
AsyncIOWriter |
AsyncIOWriterAdapter.redirect(AtmosphereResponse r,
String location) |
AsyncIOWriter |
AsyncIOWriter.redirect(AtmosphereResponse r,
String location)
Redirect a WebSocket request to another location.
|
void |
AsyncIOInterceptorAdapter.redirect(AtmosphereResponse response,
String location) |
void |
AsyncIOInterceptor.redirect(AtmosphereResponse response,
String location) |
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 . |
byte[] |
AsyncIOInterceptorAdapter.transformPayload(AtmosphereResponse response,
byte[] responseDraft,
byte[] data) |
byte[] |
AsyncIOInterceptor.transformPayload(AtmosphereResponse response,
byte[] responseDraft,
byte[] data) |
AsyncIOWriter |
AtmosphereInterceptorWriter.write(AtmosphereResponse response,
byte[] data) |
AsyncIOWriter |
AsyncIOWriterAdapter.write(AtmosphereResponse r,
byte[] data) |
AsyncIOWriter |
AsyncIOWriter.write(AtmosphereResponse r,
byte[] data)
Write a WebSocket message.
|
AsyncIOWriter |
AtmosphereInterceptorWriter.write(AtmosphereResponse response,
byte[] data,
int offset,
int length) |
AsyncIOWriter |
AsyncIOWriterAdapter.write(AtmosphereResponse r,
byte[] data,
int offset,
int length) |
AsyncIOWriter |
AsyncIOWriter.write(AtmosphereResponse r,
byte[] data,
int offset,
int length)
Write a WebSocket message.
|
AsyncIOWriter |
AtmosphereInterceptorWriter.write(AtmosphereResponse response,
String data) |
AsyncIOWriter |
AsyncIOWriterAdapter.write(AtmosphereResponse r,
String data) |
AsyncIOWriter |
AsyncIOWriter.write(AtmosphereResponse r,
String data)
Write a WebSocket message.
|
AsyncIOWriter |
AtmosphereInterceptorWriter.writeError(AtmosphereResponse response,
int errorCode,
String message) |
AsyncIOWriter |
AsyncIOWriterAdapter.writeError(AtmosphereResponse r,
int errorCode,
String message) |
AsyncIOWriter |
AsyncIOWriter.writeError(AtmosphereResponse r,
int errorCode,
String message)
Write an error code.
|
protected void |
AtmosphereInterceptorWriter.writeReady(AtmosphereResponse response,
byte[] responseDraft) |
Constructor and Description |
---|
AtmosphereResourceImpl(AtmosphereConfig config,
Broadcaster broadcaster,
AtmosphereRequest req,
AtmosphereResponse response,
AsyncSupport asyncSupport,
AtmosphereHandler atmosphereHandler)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
OnMessage.onDisconnect(AtmosphereResponse response)
This method will be invoked when the underlying WebServer detects a connection has been closed.
|
abstract void |
OnMessage.onMessage(AtmosphereResponse response,
T message)
Implement this method to get invoked every time a new
Broadcaster.broadcast(Object)
occurs. |
void |
OnMessage.onResume(AtmosphereResponse response)
This method will be invoked during the process of resuming a connection.
|
void |
OnMessage.onTimeout(AtmosphereResponse response)
This method will be invoked when a suspended connection times out, e.g no activity has occurred for the
specified time used when suspending.
|
Modifier and Type | Method and Description |
---|---|
AtmosphereResponse |
AtmosphereResponseIntrospector.injectable(AtmosphereResource r) |
Modifier and Type | Method and Description |
---|---|
HeartbeatInterceptor |
HeartbeatInterceptor.clock(int interval,
AtmosphereResource r,
AtmosphereRequest request,
AtmosphereResponse response)
Configures the heartbeat sent by the server in an interval in seconds specified in parameter for the given
resource.
|
protected byte[] |
SimpleRestInterceptor.createResponse(AtmosphereResponse response,
byte[] payload) |
protected static boolean |
SimpleRestInterceptor.isLastResponse(AtmosphereRequest request,
AtmosphereResponse response) |
Constructor and Description |
---|
ForcePreSuspend(AtmosphereResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
ByteArrayAsyncWriter.close(AtmosphereResponse r) |
AsyncIOWriter |
ByteArrayAsyncWriter.write(AtmosphereResponse r,
byte[] data) |
AsyncIOWriter |
ByteArrayAsyncWriter.write(AtmosphereResponse r,
byte[] data,
int offset,
int length) |
AsyncIOWriter |
ByteArrayAsyncWriter.write(AtmosphereResponse r,
String data) |
Modifier and Type | Method and Description |
---|---|
AtmosphereResponse |
WebSocketProcessor.WebSocketException.response() |
Modifier and Type | Method and Description |
---|---|
void |
WebSocket.close(AtmosphereResponse r) |
void |
DefaultWebSocketProcessor.dispatch(WebSocket webSocket,
AtmosphereRequest request,
AtmosphereResponse r)
Dispatch to request/response to the
AsyncSupport implementation as it was a normal HTTP request. |
WebSocket |
WebSocket.flush(AtmosphereResponse r) |
static void |
WebSocket.notSupported(AtmosphereRequest request,
AtmosphereResponse response) |
void |
WebSocketProcessorAdapter.open(WebSocket webSocket,
AtmosphereRequest request,
AtmosphereResponse response) |
void |
WebSocketProcessor.open(WebSocket webSocket,
AtmosphereRequest request,
AtmosphereResponse response)
Invoked when a WebSocket gets opened by the underlying container
|
void |
DefaultWebSocketProcessor.open(WebSocket webSocket,
AtmosphereRequest request,
AtmosphereResponse response) |
WebSocket |
WebSocket.redirect(AtmosphereResponse r,
String location) |
protected byte[] |
WebSocket.transform(AtmosphereResponse response,
byte[] b,
int offset,
int length) |
WebSocket |
WebSocket.write(AtmosphereResponse r,
byte[] data) |
WebSocket |
WebSocket.write(AtmosphereResponse r,
byte[] b,
int offset,
int length) |
WebSocket |
WebSocket.write(AtmosphereResponse r,
String data) |
WebSocket |
WebSocket.writeError(AtmosphereResponse r,
int errorCode,
String message) |
Constructor and Description |
---|
WebSocketException(String s,
AtmosphereResponse r) |
WebSocketException(Throwable throwable,
AtmosphereResponse r) |
Copyright © 2016. All rights reserved.