Uses of Class
org.atmosphere.cpr.AtmosphereResponse

Packages that use AtmosphereResponse
org.atmosphere.container   
org.atmosphere.container.version   
org.atmosphere.cpr   
org.atmosphere.handler   
org.atmosphere.interceptor   
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 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)
           
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 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 GlassFishWebSocketSupport.service(AtmosphereRequest request, AtmosphereResponse response)
           
 Action GlassFishv2CometSupport.service(AtmosphereRequest req, AtmosphereResponse res)
          Serve the AtmosphereRequest and the AtmosphereResponse and return the appropriate Action.
 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)
           
 

Uses of AtmosphereResponse in org.atmosphere.container.version
 

Methods in org.atmosphere.container.version with parameters of type AtmosphereResponse
 void TomcatWebSocket.close(AtmosphereResponse r)
           
 WebSocket TomcatWebSocket.flush(AtmosphereResponse r)
           
 WebSocket Jetty8WebSocket.flush(AtmosphereResponse r)
           
 WebSocket GrizzlyWebSocket.flush(AtmosphereResponse r)
           
 

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.delegateToNativeResponse(boolean delegateToNativeResponse)
           
 AtmosphereResponse AtmosphereResponse.destroyable(boolean destroyable)
           
 AtmosphereResponse AtmosphereResourceImpl.getResponse()
           
 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.
static AtmosphereResponse AtmosphereResponse.newInstance(AtmosphereRequest request)
          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)
           
 void AsyncIOWriter.close(AtmosphereResponse r)
          Close the underlying connection.
 AtmosphereFramework AtmosphereFramework.configureRequestResponse(AtmosphereRequest req, AtmosphereResponse res)
          Configure some attributes 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, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler, AtmosphereResource.TRANSPORT t)
          Create an AtmosphereResourceImpl.
 AtmosphereResource AtmosphereResourceFactory.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, 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)
           
 void 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)
          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 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)
           
 

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

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.interceptor
 

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

Constructors in org.atmosphere.interceptor with parameters of type AtmosphereResponse
PaddingAtmosphereInterceptor.ForcePreSuspend(AtmosphereResponse response)
           
 

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)
           
 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 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)
           
 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)
           
 

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



Copyright © 2014. All Rights Reserved.