Uses of Class
org.atmosphere.websocket.WebSocket
Packages that use WebSocket
Package
Description
-
Uses of WebSocket in org.atmosphere.container.version
Subclasses of WebSocket in org.atmosphere.container.versionModifier and TypeClassDescriptionclassfinal classclassAdapts a JBossWebSocketto an AtmosphereWebSocket.classJetty 8 WebSocket support.classclassAsynchronous basedSessionwebsocketclassTomcat WebSocket SupportclassMethods in org.atmosphere.container.version that return WebSocketModifier and TypeMethodDescriptionGrizzlyWebSocket.flush(AtmosphereResponse r) Jetty8WebSocket.flush(AtmosphereResponse r) TomcatWebSocket.flush(AtmosphereResponse r) Grizzly2WebSocket.write(byte[] data, int offset, int length) GrizzlyWebSocket.write(byte[] data, int offset, int length) JBossWebSocket.write(byte[] b, int offset, int length) Jetty8WebSocket.write(byte[] b, int offset, int length) Jetty9WebSocket.write(byte[] b, int offset, int length) JSR356WebSocket.write(byte[] data, int offset, int length) TomcatWebSocket.write(byte[] b, int offset, int length) WebLogicWebSocket.write(byte[] b, int offset, int length) -
Uses of WebSocket in org.atmosphere.cpr
Methods in org.atmosphere.cpr that return WebSocketMethods in org.atmosphere.cpr with parameters of type WebSocketModifier and TypeMethodDescriptionstatic AtmosphereResponseAtmosphereResponseImpl.newInstance(AtmosphereConfig config, AtmosphereRequest request, WebSocket webSocket) Create a new instance to use with WebSocket. -
Uses of WebSocket in org.atmosphere.websocket
Methods in org.atmosphere.websocket that return WebSocketModifier and TypeMethodDescriptionWebSocket.attachment(Object attachment) Attach an object.WebSocket.binaryWrite(boolean binaryWrite) Switch to binary write, or go back to text write.Broadcast, using theAtmosphereResource.getBroadcaster()the object to allWebSocketassociated with theBroadcaster.Retrieve theWebSocketassociated with a uuid.WebSocket.flush(AtmosphereResponse r) WebSocket.redirect(AtmosphereResponse r, String location) WebSocket.resource(AtmosphereResource r) Associate anAtmosphereResourceto this WebSocketWebSocket.sendPing(byte[] payload) Send a WebSocket PingWebSocket.sendPong(byte[] payload) Send a WebSocket PongWebSocketEventListener.WebSocketEvent.webSocket()The WebSocket.protected WebSocketWebSocket.webSocketHandler(WebSocketHandler webSocketHandler) WebSocket.write(byte[] b) Use the underlying container's websocket to write the byte.abstract WebSocketWebSocket.write(byte[] b, int offset, int length) Use the underlying container's websocket to write the byte.abstract WebSocketUse the underlying container's websocket to write the String.WebSocket.write(AtmosphereResponse r, byte[] data) WebSocket.write(AtmosphereResponse r, byte[] b, int offset, int length) WebSocket.write(AtmosphereResponse r, String data) WebSocket.writeError(AtmosphereResponse r, int errorCode, String message) Methods in org.atmosphere.websocket with parameters of type WebSocketModifier and TypeMethodDescriptionvoidvoidInvked when the WebServer is closing the native WebSocketvoidfinal voidDefaultWebSocketProcessor.dispatch(WebSocket webSocket, AtmosphereRequest request, AtmosphereResponse r) Dispatch to request/response to theAsyncSupportimplementation as it was a normal HTTP request.protected voidDefaultWebSocketProcessor.dispatchReader(WebSocket webSocket, Reader r) protected voidDefaultWebSocketProcessor.dispatchStream(WebSocket webSocket, InputStream is) voidDefaultWebSocketProcessor.executeClose(WebSocket webSocket, int closeCode) voidDefaultWebSocketProcessor.invokeWebSocketProtocol(WebSocket webSocket, byte[] data, int offset, int length) voidDefaultWebSocketProcessor.invokeWebSocketProtocol(WebSocket webSocket, InputStream stream) voidDefaultWebSocketProcessor.invokeWebSocketProtocol(WebSocket webSocket, Reader reader) voidDefaultWebSocketProcessor.invokeWebSocketProtocol(WebSocket webSocket, String webSocketMessage) voidWebSocketProcessor.invokeWebSocketProtocol(WebSocket webSocket, byte[] data, int offset, int length) Invoked when a WebSocket message gets received from the underlying containervoidWebSocketProcessor.invokeWebSocketProtocol(WebSocket webSocket, InputStream stream) Invoked when a WebSocket message gets received from the underlying containervoidWebSocketProcessor.invokeWebSocketProtocol(WebSocket webSocket, Reader reader) Invoked when a WebSocket message gets received from the underlying containervoidWebSocketProcessor.invokeWebSocketProtocol(WebSocket webSocket, String webSocketMessage) Invoked when a WebSocket message gets received from the underlying containervoidWebSocketProcessorAdapter.invokeWebSocketProtocol(WebSocket webSocket, byte[] data, int offset, int length) voidWebSocketProcessorAdapter.invokeWebSocketProtocol(WebSocket webSocket, InputStream stream) voidWebSocketProcessorAdapter.invokeWebSocketProtocol(WebSocket webSocket, Reader reader) voidWebSocketProcessorAdapter.invokeWebSocketProtocol(WebSocket webSocket, String webSocketMessage) voidDefaultWebSocketProcessor.notifyListener(WebSocket webSocket, WebSocketEventListener.WebSocketEvent<?> event) voidWebSocketProcessor.notifyListener(WebSocket webSocket, WebSocketEventListener.WebSocketEvent<?> webSocketEvent) Notify allWebSocketEventListenervoidWebSocketProcessorAdapter.notifyListener(WebSocket webSocket, WebSocketEventListener.WebSocketEvent webSocketEvent) WebSocketProtocolStream.onBinaryStream(WebSocket webSocket, InputStream stream) Parse the WebSocket stream, and delegate the processing to theAtmosphereFramework.asyncSupportor to any existing technology.voidWebSocketStreamingHandler.onBinaryStream(WebSocket webSocket, InputStream inputStream) Invoked when a byte message is received.voidWebSocketStreamingHandlerAdapter.onBinaryStream(WebSocket webSocket, InputStream inputStream) voidWebSocketHandler.onByteMessage(WebSocket webSocket, byte[] data, int offset, int length) Invoked when a byte message is received.voidWebSocketHandlerAdapter.onByteMessage(WebSocket webSocket, byte[] data, int offset, int length) voidWebSocketProcessor.WebSocketHandlerProxy.onByteMessage(WebSocket webSocket, byte[] data, int offset, int length) voidWebSocketStreamingHandlerAdapter.onByteMessage(WebSocket webSocket, byte[] data, int offset, int length) voidInvoked when aWebSocketis closed.voidvoidvoidInvoked when a WebSocket is closedvoidvoidWebSocketHandler.onError(WebSocket webSocket, WebSocketProcessor.WebSocketException t) Invoked when aWebSocketproduces an error.voidWebSocketHandlerAdapter.onError(WebSocket webSocket, WebSocketProcessor.WebSocketException t) voidWebSocketProcessor.WebSocketHandlerProxy.onError(WebSocket webSocket, WebSocketProcessor.WebSocketException t) voidWebSocketProtocol.onError(WebSocket webSocket, WebSocketProcessor.WebSocketException t) Invoked when an error occurs.voidWebSocketStreamingHandlerAdapter.onError(WebSocket webSocket, WebSocketProcessor.WebSocketException t) Parse the WebSocket message, and delegate the processing to theAtmosphereFramework.asyncSupportor to any existing technology.Parse the WebSocket message, and delegate the processing to theAtmosphereFramework.asyncSupportor to any existing technology.voidInvoked when aWebSocketis opened.voidvoidvoidInvoked when a WebSocket is openedvoidvoidvoidHandle WebSocket PINGvoidvoidHandle WebSocket PONGvoidWebSocketHandler.onTextMessage(WebSocket webSocket, String data) Invoked when a String message is receivedvoidWebSocketHandlerAdapter.onTextMessage(WebSocket webSocket, String data) voidWebSocketProcessor.WebSocketHandlerProxy.onTextMessage(WebSocket webSocket, String data) voidWebSocketStreamingHandlerAdapter.onTextMessage(WebSocket webSocket, String data) WebSocketProtocolStream.onTextStream(WebSocket webSocket, Reader r) Parse the WebSocket stream, and delegate the processing to theAtmosphereFramework.asyncSupportor to any existing technology.voidWebSocketStreamingHandler.onTextStream(WebSocket webSocket, Reader reader) Invoked when a String message is receivedvoidWebSocketStreamingHandlerAdapter.onTextStream(WebSocket webSocket, Reader reader) final 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) protected WebSocketHandlerDefaultWebSocketProcessor.postProcessMapping(WebSocket webSocket, AtmosphereRequest request, WebSocketProcessor.WebSocketHandlerProxy w) Constructors in org.atmosphere.websocket with parameters of type WebSocketModifierConstructorDescriptionWebSocketEvent(T message, WebSocketEventListener.WebSocketEvent.TYPE type, WebSocket webSocket) -
Uses of WebSocket in org.atmosphere.websocket.protocol
Methods in org.atmosphere.websocket.protocol with parameters of type WebSocketModifier and TypeMethodDescriptionprotected static AtmosphereRequestImpl.BuilderProtocolUtil.constructRequest(WebSocket webSocket, String pathInfo, String requestURI, String methodType, String contentType, boolean destroyable) StreamingHttpProtocol.onBinaryStream(WebSocket webSocket, InputStream stream) voidvoidvoidvoidEchoProtocol.onError(WebSocket webSocket, WebSocketProcessor.WebSocketException t) voidSimpleHttpProtocol.onError(WebSocket webSocket, WebSocketProcessor.WebSocketException t) voidStreamingHttpProtocol.onError(WebSocket webSocket, WebSocketProcessor.WebSocketException t) voidvoidvoidStreamingHttpProtocol.onTextStream(WebSocket webSocket, Reader r)