Class SimpleHttpProtocol

java.lang.Object
org.atmosphere.websocket.protocol.SimpleHttpProtocol
All Implemented Interfaces:
Serializable, AtmosphereConfigAware, WebSocketProtocol

public class SimpleHttpProtocol extends Object implements WebSocketProtocol, Serializable
Like the AsynchronousProcessor class, this class is responsible for dispatching WebSocket messages 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
See Also: