Uses of Class
org.atmosphere.cpr.AtmosphereResponse

Packages that use AtmosphereResponse
org.atmosphere.container   
org.atmosphere.cpr   
org.atmosphere.handler   
org.atmosphere.util   
org.atmosphere.websocket   
 

Uses of AtmosphereResponse in org.atmosphere.container
 

Methods in org.atmosphere.container with parameters of type AtmosphereResponse
 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)
           
 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)
          Serve the AtmosphereRequest and the AtmosphereResponse and return the appropriate Action.
 Action NettyCometSupport.service(AtmosphereRequest req, AtmosphereResponse res)
          Serve the AtmosphereRequest and the AtmosphereResponse and return the appropriate Action.
 Action JettyServlet30AsyncSupportWithWebSocket.service(AtmosphereRequest req, AtmosphereResponse res)
          Serve the AtmosphereRequest and the AtmosphereResponse and return the appropriate Action.
 Action JettyCometSupport.service(AtmosphereRequest req, AtmosphereResponse response)
          Serve the AtmosphereRequest and the AtmosphereResponse and return the appropriate Action.
 Action JettyAsyncSupportWithWebSocket.service(AtmosphereRequest req, AtmosphereResponse res)
          Serve the AtmosphereRequest and the AtmosphereResponse and return the appropriate Action.
 Action Jetty9AsyncSupportWithWebSocket.service(AtmosphereRequest req, AtmosphereResponse res)
          Serve the AtmosphereRequest and the AtmosphereResponse and return the appropriate Action.
 Action Jetty7CometSupport.service(AtmosphereRequest req, AtmosphereResponse res)
          Serve the AtmosphereRequest and the AtmosphereResponse and return the appropriate Action.
 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)
          Serve the AtmosphereRequest and the AtmosphereResponse and return the appropriate Action.
 Action Grizzly2WebSocketSupport.service(AtmosphereRequest req, AtmosphereResponse res)
           
 Action Grizzly2CometSupport.service(AtmosphereRequest req, AtmosphereResponse res)
          Serve the AtmosphereRequest and the AtmosphereResponse and return the appropriate Action.
 Action GlassFishWebSocketSupport.service(AtmosphereRequest request, AtmosphereResponse response)
          Serve the AtmosphereRequest and the AtmosphereResponse and return the appropriate Action.
 Action GlassFishv2CometSupport.service(AtmosphereRequest req, AtmosphereResponse res)
          Serve the AtmosphereRequest and the AtmosphereResponse and return the appropriate Action.
 Action BlockingIOCometSupport.service(AtmosphereRequest req, AtmosphereResponse res)
          Serve the AtmosphereRequest and the AtmosphereResponse and return the appropriate Action.
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)
           
 

Uses of AtmosphereResponse in org.atmosphere.cpr
 

Methods in org.atmosphere.cpr that return AtmosphereResponse
 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 AtmosphereResponse.Builder.build()
           
 AtmosphereResponse AtmosphereResponse.destroyable(boolean destroyable)
           
 AtmosphereResponse AtmosphereResourceImpl.getResponse()
          Return the AtmosphereResponse
 AtmosphereResponse AtmosphereResource.getResponse()
          Return the AtmosphereResponse
 AtmosphereResponse AtmosphereResourceImpl.getResponse(boolean enforceScope)
          
static AtmosphereResponse AtmosphereResponse.newInstance()
          Create an instance not associated with any response parent.
static AtmosphereResponse AtmosphereResponse.newInstance(AtmosphereConfig config, AtmosphereRequest request, WebSocket webSocket)
          Create a new instance to use with WebSocket.
 AtmosphereResponse AtmosphereResponse.request(AtmosphereRequest atmosphereRequest)
          Set the associated AtmosphereRequest
static AtmosphereResponse AtmosphereResponse.wrap(javax.servlet.http.HttpServletResponse response)
          Wrap an HttpServletResponse
 AtmosphereResponse AtmosphereResponse.write(byte[] data)
          Write the bytes by either using the PrintWriter or OutputStream.
 AtmosphereResponse AtmosphereResponse.write(byte[] data, boolean writeUsingOriginalResponse)
          Write the String by either using the PrintWriter or OutputStream.
 AtmosphereResponse AtmosphereResponse.write(byte[] data, int offset, int length)
          Write the bytes by either using the PrintWriter or OutputStream.
 AtmosphereResponse AtmosphereResponse.write(byte[] data, int offset, int length, boolean writeUsingOriginalResponse)
          Write the String by either using the PrintWriter or OutputStream.
 AtmosphereResponse AtmosphereResponse.write(String data)
          Write the String by either using the PrintWriter or OutputStream.
 AtmosphereResponse AtmosphereResponse.write(String data, boolean writeUsingOriginalResponse)
          Write the String by either using the PrintWriter or OutputStream.
 

Methods in org.atmosphere.cpr with parameters of type AtmosphereResponse
 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)
          No OPS
 void AsyncIOWriter.close(AtmosphereResponse r)
          Close the underlying connection.
 AtmosphereFramework AtmosphereFramework.configureRequestResponse(AtmosphereRequest req, AtmosphereResponse res)
          Configure some Attribute on the AtmosphereRequest
 AtmosphereResource AtmosphereResourceFactory.create(AtmosphereConfig config, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a)
          Create an AtmosphereResourceImpl
 AtmosphereResource AtmosphereResourceFactory.create(AtmosphereConfig config, 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
 AtmosphereResource AtmosphereResourceFactory.create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler)
          Create an AtmosphereResourceImpl
 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)
          No OPS
 AsyncIOWriter AsyncIOWriter.flush(AtmosphereResponse r)
          Flush the buffered content
protected  void AtmosphereInterceptorWriter.invokeInterceptor(AtmosphereResponse response, byte[] data, int offset, int length)
           
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
 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)
          No OPS
 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)
          Serve the AtmosphereRequest and the AtmosphereResponse and return the appropriate Action.
 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 request, AtmosphereResponse response)
          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)
          No OPS
 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)
          No OPS
 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)
          No OPS
 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)
          No OPS
 AsyncIOWriter AsyncIOWriter.writeError(AtmosphereResponse r, int errorCode, String message)
          Write an error code
protected  void AtmosphereInterceptorWriter.writeReady(AtmosphereResponse response, byte[] responseDraft)
           
 

Constructors in org.atmosphere.cpr with parameters of type AtmosphereResponse
AtmosphereResourceImpl(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest req, AtmosphereResponse response, AsyncSupport asyncSupport, AtmosphereHandler atmosphereHandler)
          Create an AtmosphereResource.
 

Uses of AtmosphereResponse in org.atmosphere.handler
 

Methods in org.atmosphere.handler with parameters of type AtmosphereResponse
 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.
 

Uses of AtmosphereResponse in org.atmosphere.util
 

Methods in org.atmosphere.util with parameters of type AtmosphereResponse
 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)
           
 

Uses of AtmosphereResponse in org.atmosphere.websocket
 

Methods in org.atmosphere.websocket that return AtmosphereResponse
 AtmosphereResponse WebSocketProcessor.WebSocketException.response()
           
 

Methods in org.atmosphere.websocket with parameters of type AtmosphereResponse
 void WebSocket.close(AtmosphereResponse r)
          No OPS
 void DefaultWebSocketProcessor.dispatch(WebSocket webSocket, AtmosphereRequest request, AtmosphereResponse r)
          Dispatch to request/response to the AsyncSupport implementation as it was a normal HTTP request.
 byte[] WebSocketResponseFilter.filter(AtmosphereResponse r, byte[] message)
          Deprecated. Transform of filter the message, return a new one or the same
 byte[] WebSocketResponseFilter.NoOpsWebSocketResponseFilter.filter(AtmosphereResponse r, byte[] message)
           
 byte[] WebSocketResponseFilter.filter(AtmosphereResponse r, byte[] message, int offset, int length)
          Deprecated. Transform of filter the message, return a new one or the same
 byte[] WebSocketResponseFilter.NoOpsWebSocketResponseFilter.filter(AtmosphereResponse r, byte[] message, int offset, int length)
           
 String WebSocketResponseFilter.filter(AtmosphereResponse r, String message)
          Deprecated. Transform of filter the message, return a new one or the same
 String WebSocketResponseFilter.NoOpsWebSocketResponseFilter.filter(AtmosphereResponse r, String message)
           
 WebSocket WebSocket.flush(AtmosphereResponse r)
          No OPS
 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)
          Invoked when a WebSocket gets opened by the underlying container
 WebSocket WebSocket.redirect(AtmosphereResponse r, String location)
          No OPS
 WebSocket WebSocket.write(AtmosphereResponse r, byte[] data)
          No OPS
 WebSocket WebSocket.write(AtmosphereResponse r, byte[] b, int offset, int length)
          No OPS
 WebSocket WebSocket.write(AtmosphereResponse r, String data)
          No OPS
 WebSocket WebSocket.writeError(AtmosphereResponse r, int errorCode, String message)
          No OPS
 

Constructors in org.atmosphere.websocket with parameters of type AtmosphereResponse
WebSocketProcessor.WebSocketException(String s, AtmosphereResponse r)
           
WebSocketProcessor.WebSocketException(Throwable throwable, AtmosphereResponse r)
           
 



Copyright © 2012. All Rights Reserved.