Uses of Interface
org.atmosphere.cpr.AtmosphereResponse
-
-
Uses of AtmosphereResponse in org.atmosphere.container
Methods in org.atmosphere.container with parameters of type AtmosphereResponse Modifier and Type Method Description ActionBlockingIOCometSupport. cancelled(AtmosphereRequest req, AtmosphereResponse res)ActionGlassFishv2CometSupport. cancelled(AtmosphereRequest req, AtmosphereResponse res)ActionGrizzly2CometSupport. cancelled(AtmosphereRequest req, AtmosphereResponse res)ActionGrizzlyCometSupport. cancelled(AtmosphereRequest req, AtmosphereResponse res)ActionJBossWebCometSupport. cancelled(AtmosphereRequest req, AtmosphereResponse res)ActionJettyCometSupport. cancelled(AtmosphereRequest req, AtmosphereResponse res)ActionServlet30CometSupport. cancelled(AtmosphereRequest req, AtmosphereResponse res)ActionTomcat7CometSupport. cancelled(AtmosphereRequest req, AtmosphereResponse res)ActionTomcatCometSupport. cancelled(AtmosphereRequest req, AtmosphereResponse res)ActionJBossAsyncSupportWithWebSocket. doService(AtmosphereRequest req, AtmosphereResponse res)static ActionJettyWebSocketUtil. doService(AsynchronousProcessor cometSupport, AtmosphereRequest req, AtmosphereResponse res, org.eclipse.jetty.websocket.WebSocketFactory webSocketFactory)ActionTomcat7AsyncSupportWithWebSocket. doService(AtmosphereRequest req, AtmosphereResponse res)ActionTomcat7BIOSupportWithWebSocket. doService(AtmosphereRequest req, AtmosphereResponse res)ActionTomcat7Servlet30SupportWithWebSocket. doService(AtmosphereRequest req, AtmosphereResponse res)ActionTomcatWebSocketUtil.Delegate. doService(AtmosphereRequest req, AtmosphereResponse res)static ActionTomcatWebSocketUtil. doService(AtmosphereRequest req, AtmosphereResponse res, TomcatWebSocketUtil.Delegate delegate, AtmosphereConfig config, WebSocketProcessor webSocketProcessor)ActionBlockingIOCometSupport. service(AtmosphereRequest req, AtmosphereResponse res)ActionGlassFishServ30WebSocketSupport. service(AtmosphereRequest req, AtmosphereResponse res)ActionGlassFishServlet30WebSocketSupport. service(AtmosphereRequest request, AtmosphereResponse response)ActionGlassFishv2CometSupport. service(AtmosphereRequest req, AtmosphereResponse res)ActionGlassFishWebSocketSupport. service(AtmosphereRequest request, AtmosphereResponse response)ActionGrizzly2CometSupport. service(AtmosphereRequest req, AtmosphereResponse res)ActionGrizzly2WebSocketSupport. service(AtmosphereRequest req, AtmosphereResponse res)ActionGrizzlyCometSupport. service(AtmosphereRequest req, AtmosphereResponse res)ActionGrizzlyServlet30WebSocketSupport. service(AtmosphereRequest request, AtmosphereResponse response)ActionJBossAsyncSupportWithWebSocket. service(AtmosphereRequest req, AtmosphereResponse res)ActionJBossWebCometSupport. service(AtmosphereRequest req, AtmosphereResponse res)Invoked by the Tomcat AIO when a Comet request gets detected.ActionJetty7CometSupport. service(AtmosphereRequest req, AtmosphereResponse res)ActionJettyAsyncSupportWithWebSocket. service(AtmosphereRequest req, AtmosphereResponse res)ActionJettyCometSupport. service(AtmosphereRequest req, AtmosphereResponse response)ActionJettyServlet30AsyncSupportWithWebSocket. service(AtmosphereRequest req, AtmosphereResponse res)ActionNettyCometSupport. service(AtmosphereRequest req, AtmosphereResponse res)ActionServlet30CometSupport. service(AtmosphereRequest request, AtmosphereResponse response)ActionTomcat7AsyncSupportWithWebSocket. service(AtmosphereRequest req, AtmosphereResponse res)ActionTomcat7BIOSupportWithWebSocket. service(AtmosphereRequest req, AtmosphereResponse res)ActionTomcat7CometSupport. service(AtmosphereRequest req, AtmosphereResponse res)Invoked by the Tomcat AIO when a Comet request gets detected.ActionTomcat7Servlet30SupportWithWebSocket. service(AtmosphereRequest req, AtmosphereResponse res)ActionTomcatCometSupport. service(AtmosphereRequest req, AtmosphereResponse res)Invoked by the Tomcat AIO when a Comet request gets detected.protected voidBlockingIOCometSupport. suspend(Action action, AtmosphereRequest req, AtmosphereResponse res)Suspend the connection by blocking the currentThreadActionTomcatWebSocketUtil.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 Modifier and Type Method Description voidTomcatWebSocket. close(AtmosphereResponse r)WebSocketGrizzlyWebSocket. flush(AtmosphereResponse r)WebSocketJetty8WebSocket. flush(AtmosphereResponse r)WebSocketTomcatWebSocket. flush(AtmosphereResponse r) -
Uses of AtmosphereResponse in org.atmosphere.cpr
Classes in org.atmosphere.cpr that implement AtmosphereResponse Modifier and Type Class Description classAtmosphereResponseImplAn Atmosphere's response representation.Methods in org.atmosphere.cpr that return AtmosphereResponse Modifier and Type Method Description AtmosphereResponseAtmosphereResponse. asyncIOWriter(AsyncIOWriter asyncIOWriter)Set an implementation ofAsyncIOWriterthat will be invoked every time a write operation is ready to be processed.AtmosphereResponseAtmosphereResponseImpl. asyncIOWriter(AsyncIOWriter asyncIOWriter)AtmosphereResponseAtmosphereResponse.Builder. build()AtmosphereResponseAtmosphereResponseImpl.Builder. build()AtmosphereResponseAtmosphereResponse. delegateToNativeResponse(boolean delegateToNativeResponse)AtmosphereResponseAtmosphereResponseImpl. delegateToNativeResponse(boolean delegateToNativeResponse)AtmosphereResponseAtmosphereResponse. destroyable(boolean destroyable)AtmosphereResponseAtmosphereResponseImpl. destroyable(boolean destroyable)AtmosphereResponseAtmosphereResource. getResponse()Return theAtmosphereResponse.AtmosphereResponseAtmosphereResourceImpl. getResponse()AtmosphereResponseAtmosphereResourceImpl. getResponse(boolean enforceScope)static AtmosphereResponseAtmosphereResponseImpl. newInstance()Create an instance not associated with any response parent.static AtmosphereResponseAtmosphereResponseImpl. newInstance(AtmosphereConfig config, AtmosphereRequest request, WebSocket webSocket)Create a new instance to use with WebSocket.static AtmosphereResponseAtmosphereResponseImpl. newInstance(AtmosphereRequest request)Create a new instance to use with WebSocket.AtmosphereResponseAtmosphereResponse. request(AtmosphereRequest atmosphereRequest)Set the associatedAtmosphereRequest.AtmosphereResponseAtmosphereResponseImpl. request(AtmosphereRequest atmosphereRequest)static AtmosphereResponseAtmosphereResponseImpl. wrap(javax.servlet.http.HttpServletResponse response)Wrap anHttpServletResponseAtmosphereResponseAtmosphereResponse. write(byte[] data)Write the bytes by either using thePrintWriterorOutputStream.AtmosphereResponseAtmosphereResponse. write(byte[] data, boolean writeUsingOriginalResponse)Write the String by either using thePrintWriterorOutputStream.AtmosphereResponseAtmosphereResponse. write(byte[] data, int offset, int length)Write the bytes by either using thePrintWriterorOutputStream.AtmosphereResponseAtmosphereResponse. write(byte[] data, int offset, int length, boolean writeUsingOriginalResponse)Write the String by either using thePrintWriterorOutputStream.AtmosphereResponseAtmosphereResponse. write(java.lang.String data)Write the String by either using thePrintWriterorOutputStream.AtmosphereResponseAtmosphereResponse. write(java.lang.String data, boolean writeUsingOriginalResponse)Write the String by either using thePrintWriterorOutputStream.AtmosphereResponseAtmosphereResponseImpl. write(byte[] data)AtmosphereResponseAtmosphereResponseImpl. write(byte[] data, boolean writeUsingOriginalResponse)AtmosphereResponseAtmosphereResponseImpl. write(byte[] data, int offset, int length)AtmosphereResponseAtmosphereResponseImpl. write(byte[] data, int offset, int length, boolean writeUsingOriginalResponse)AtmosphereResponseAtmosphereResponseImpl. write(java.lang.String data)AtmosphereResponseAtmosphereResponseImpl. write(java.lang.String data, boolean writeUsingOriginalResponse)Methods in org.atmosphere.cpr with parameters of type AtmosphereResponse Modifier and Type Method Description ActionAsynchronousProcessor. cancelled(AtmosphereRequest req, AtmosphereResponse res)All proprietary Comet basedServletmust invoke the cancelled method when the underlying WebServer detect that the client closed the connection.voidAsyncIOWriter. close(AtmosphereResponse r)Close the underlying connection.voidAsyncIOWriterAdapter. close(AtmosphereResponse r)voidAtmosphereInterceptorWriter. close(AtmosphereResponse response)AtmosphereFrameworkAtmosphereFramework. configureRequestResponse(AtmosphereRequest req, AtmosphereResponse res)Configure some attributes on theAtmosphereRequest.AtmosphereResourceAtmosphereResourceFactory. create(AtmosphereConfig config, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a)Create anAtmosphereResourceImplAtmosphereResourceAtmosphereResourceFactory. create(AtmosphereConfig config, AtmosphereResponse response, AsyncSupport<?> a)Create anAtmosphereResourceImpl.AtmosphereResourceAtmosphereResourceFactory. create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler)Create anAtmosphereResourceImpl.AtmosphereResourceAtmosphereResourceFactory. create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler, AtmosphereResource.TRANSPORT t)Create anAtmosphereResourceImpl.AtmosphereResourceAtmosphereResourceFactory. create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler)Create anAtmosphereResourceImpl.AtmosphereResourceAtmosphereResourceFactory. create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler, AtmosphereResource.TRANSPORT t)AtmosphereResourceDefaultAtmosphereResourceFactory. create(AtmosphereConfig config, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a)Create anAtmosphereResourceImplAtmosphereResourceDefaultAtmosphereResourceFactory. create(AtmosphereConfig config, AtmosphereResponse response, AsyncSupport<?> a)Create anAtmosphereResourceImpl.AtmosphereResourceDefaultAtmosphereResourceFactory. create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler)Create anAtmosphereResourceImpl.AtmosphereResourceDefaultAtmosphereResourceFactory. create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler, AtmosphereResource.TRANSPORT t)Create anAtmosphereResourceImpl.AtmosphereResourceDefaultAtmosphereResourceFactory. create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler)Create anAtmosphereResourceImpl.AtmosphereResourceDefaultAtmosphereResourceFactory. create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler, AtmosphereResource.TRANSPORT t)ActionAtmosphereFramework. doCometSupport(AtmosphereRequest req, AtmosphereResponse res)Invoke the proprietaryAsyncSupport.byte[]AsyncIOInterceptor. error(AtmosphereResponse response, int statusCode, java.lang.String reasonPhrase)byte[]AsyncIOInterceptorAdapter. error(AtmosphereResponse response, int statusCode, java.lang.String reasonPhrase)AsyncIOWriterAsyncIOWriter. flush(AtmosphereResponse r)Flush the buffered content.AsyncIOWriterAsyncIOWriterAdapter. flush(AtmosphereResponse r)AsyncIOWriterAtmosphereInterceptorWriter. flush(AtmosphereResponse response)AtmosphereResourceAtmosphereResource. initialize(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest req, AtmosphereResponse response, AsyncSupport asyncSupport, AtmosphereHandler atmosphereHandler)Initialize anAtmosphereResource.AtmosphereResourceAtmosphereResourceImpl. initialize(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest req, AtmosphereResponse response, AsyncSupport asyncSupport, AtmosphereHandler atmosphereHandler)Initialize anAtmosphereResource.protected voidAtmosphereInterceptorWriter. invokeInterceptor(AtmosphereResponse response, byte[] data, int offset, int length)AtmosphereFrameworkAtmosphereFramework. notify(Action.TYPE type, AtmosphereRequest request, AtmosphereResponse response)voidAsyncSupportListener. onClose(AtmosphereRequest request, AtmosphereResponse response)Invoked when anAtmosphereResourcegets closed.voidAsyncSupportListenerAdapter. onClose(AtmosphereRequest request, AtmosphereResponse response)voidAsyncSupportListener. onDestroyed(AtmosphereRequest request, AtmosphereResponse response)Invoked when anAtmosphereResourcegets destroyed.voidAsyncSupportListenerAdapter. onDestroyed(AtmosphereRequest request, AtmosphereResponse response)voidAsyncSupportListener. onResume(AtmosphereRequest request, AtmosphereResponse response)Invoked when anAtmosphereResourcegets resumed.voidAsyncSupportListenerAdapter. onResume(AtmosphereRequest request, AtmosphereResponse response)voidAsyncSupportListener. onSuspend(AtmosphereRequest request, AtmosphereResponse response)Invoked when anAtmosphereResourcegets suspended.voidAsyncSupportListenerAdapter. onSuspend(AtmosphereRequest request, AtmosphereResponse response)voidAsyncSupportListener. onTimeout(AtmosphereRequest request, AtmosphereResponse response)Invoked when anAtmosphereResourcetimes out.voidAsyncSupportListenerAdapter. onTimeout(AtmosphereRequest request, AtmosphereResponse response)voidAsyncIOInterceptor. postPayload(AtmosphereResponse response, byte[] data, int offset, int length)voidAsyncIOInterceptorAdapter. postPayload(AtmosphereResponse response, byte[] data, int offset, int length)voidAsyncIOInterceptor. prePayload(AtmosphereResponse response, byte[] data, int offset, int length)voidAsyncIOInterceptorAdapter. prePayload(AtmosphereResponse response, byte[] data, int offset, int length)voidAsyncIOInterceptor. redirect(AtmosphereResponse response, java.lang.String location)voidAsyncIOInterceptorAdapter. redirect(AtmosphereResponse response, java.lang.String location)AsyncIOWriterAsyncIOWriter. redirect(AtmosphereResponse r, java.lang.String location)Redirect a WebSocket request to another location.AsyncIOWriterAsyncIOWriterAdapter. redirect(AtmosphereResponse r, java.lang.String location)AsyncIOWriterAtmosphereInterceptorWriter. redirect(AtmosphereResponse response, java.lang.String location)ActionAsynchronousProcessor. resumed(AtmosphereRequest request, AtmosphereResponse response)All proprietary Comet basedServletmust invoke the resume method when the Atmosphere's application decide to resume theAtmosphereResponse.ActionAsyncSupport. service(AtmosphereRequest req, AtmosphereResponse res)ActionAsynchronousProcessor. suspended(AtmosphereRequest request, AtmosphereResponse response)All proprietary Comet basedServletmust invoke the suspended method when the first request comes in.ActionAsynchronousProcessor. timedout(AtmosphereRequest req, AtmosphereResponse res)All proprietary Comet basedServletmust invoke the timedout method when the underlying WebServer time out theAtmosphereResponse.byte[]AsyncIOInterceptor. transformPayload(AtmosphereResponse response, byte[] responseDraft, byte[] data)byte[]AsyncIOInterceptorAdapter. transformPayload(AtmosphereResponse response, byte[] responseDraft, byte[] data)AsyncIOWriterAsyncIOWriter. write(AtmosphereResponse r, byte[] data)Write a WebSocket message.AsyncIOWriterAsyncIOWriter. write(AtmosphereResponse r, byte[] data, int offset, int length)Write a WebSocket message.AsyncIOWriterAsyncIOWriter. write(AtmosphereResponse r, java.lang.String data)Write a WebSocket message.AsyncIOWriterAsyncIOWriterAdapter. write(AtmosphereResponse r, byte[] data)AsyncIOWriterAsyncIOWriterAdapter. write(AtmosphereResponse r, byte[] data, int offset, int length)AsyncIOWriterAsyncIOWriterAdapter. write(AtmosphereResponse r, java.lang.String data)AsyncIOWriterAtmosphereInterceptorWriter. write(AtmosphereResponse response, byte[] data)AsyncIOWriterAtmosphereInterceptorWriter. write(AtmosphereResponse response, byte[] data, int offset, int length)AsyncIOWriterAtmosphereInterceptorWriter. write(AtmosphereResponse response, java.lang.String data)AsyncIOWriterAsyncIOWriter. writeError(AtmosphereResponse r, int errorCode, java.lang.String message)Write an error code.AsyncIOWriterAsyncIOWriterAdapter. writeError(AtmosphereResponse r, int errorCode, java.lang.String message)AsyncIOWriterAtmosphereInterceptorWriter. writeError(AtmosphereResponse response, int errorCode, java.lang.String message)protected voidAtmosphereInterceptorWriter. writeReady(AtmosphereResponse response, byte[] responseDraft)Constructors in org.atmosphere.cpr with parameters of type AtmosphereResponse Constructor Description 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 Modifier and Type Method Description voidOnMessage. onDisconnect(AtmosphereResponse response)This method will be invoked when the underlying WebServer detects a connection has been closed.abstract voidOnMessage. onMessage(AtmosphereResponse response, T message)Implement this method to get invoked every time a newBroadcaster.broadcast(Object)occurs.voidOnMessage. onResume(AtmosphereResponse response)This method will be invoked during the process of resuming a connection.voidOnMessage. 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.inject
Methods in org.atmosphere.inject that return AtmosphereResponse Modifier and Type Method Description AtmosphereResponseAtmosphereResponseIntrospector. injectable(AtmosphereResource r) -
Uses of AtmosphereResponse in org.atmosphere.interceptor
Methods in org.atmosphere.interceptor with parameters of type AtmosphereResponse Modifier and Type Method Description HeartbeatInterceptorHeartbeatInterceptor. 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 booleanSimpleRestInterceptor. isLastResponse(AtmosphereRequest request, AtmosphereResponse response)Constructors in org.atmosphere.interceptor with parameters of type AtmosphereResponse Constructor Description ForcePreSuspend(AtmosphereResponse response) -
Uses of AtmosphereResponse in org.atmosphere.util
Methods in org.atmosphere.util with parameters of type AtmosphereResponse Modifier and Type Method Description voidByteArrayAsyncWriter. close(AtmosphereResponse r)AsyncIOWriterByteArrayAsyncWriter. write(AtmosphereResponse r, byte[] data)AsyncIOWriterByteArrayAsyncWriter. write(AtmosphereResponse r, byte[] data, int offset, int length)AsyncIOWriterByteArrayAsyncWriter. write(AtmosphereResponse r, java.lang.String data) -
Uses of AtmosphereResponse in org.atmosphere.websocket
Methods in org.atmosphere.websocket that return AtmosphereResponse Modifier and Type Method Description AtmosphereResponseWebSocketProcessor.WebSocketException. response()Methods in org.atmosphere.websocket with parameters of type AtmosphereResponse Modifier and Type Method Description voidWebSocket. close(AtmosphereResponse r)voidDefaultWebSocketProcessor. dispatch(WebSocket webSocket, AtmosphereRequest request, AtmosphereResponse r)Dispatch to request/response to theAsyncSupportimplementation as it was a normal HTTP request.WebSocketWebSocket. flush(AtmosphereResponse r)static voidWebSocket. notSupported(AtmosphereRequest request, AtmosphereResponse response)voidDefaultWebSocketProcessor. open(WebSocket webSocket, AtmosphereRequest request, AtmosphereResponse response)voidWebSocketProcessor. open(WebSocket webSocket, AtmosphereRequest request, AtmosphereResponse response)Invoked when a WebSocket gets opened by the underlying containervoidWebSocketProcessorAdapter. open(WebSocket webSocket, AtmosphereRequest request, AtmosphereResponse response)WebSocketWebSocket. redirect(AtmosphereResponse r, java.lang.String location)protected byte[]WebSocket. transform(AtmosphereResponse response, byte[] b, int offset, int length)WebSocketWebSocket. write(AtmosphereResponse r, byte[] data)WebSocketWebSocket. write(AtmosphereResponse r, byte[] b, int offset, int length)WebSocketWebSocket. write(AtmosphereResponse r, java.lang.String data)WebSocketWebSocket. writeError(AtmosphereResponse r, int errorCode, java.lang.String message)Constructors in org.atmosphere.websocket with parameters of type AtmosphereResponse Constructor Description WebSocketException(java.lang.String s, AtmosphereResponse r)WebSocketException(java.lang.Throwable throwable, AtmosphereResponse r)
-