Class StreamingHttpProtocol

java.lang.Object
org.atmosphere.websocket.protocol.StreamingHttpProtocol
All Implemented Interfaces:
AtmosphereConfigAware, WebSocketProtocol, WebSocketProtocolStream

public class StreamingHttpProtocol extends Object implements WebSocketProtocolStream
Like the AsynchronousProcessor class, this class is responsible for dispatching WebSocket stream to the proper WebSocket implementation by wrapping the Websocket message's bytes within an HttpServletRequest.

The content-type is defined using ApplicationConfig.WEBSOCKET_CONTENT_TYPE property The method is defined using ApplicationConfig.WEBSOCKET_METHOD property

Author:
Jeanfrancois Arcand