com.caucho.websocket
Interface WebSocketServletRequest

All Known Implementing Classes:
HttpServletRequestImpl

public interface WebSocketServletRequest

 GET /test HTTP/1.1
 Upgrade: WebSocket
 Connection: Upgrade
 Sec-WebSocket-Origin: foo
 Host: localhost
 Content-Length: 0
 
 


Method Summary
 WebSocketContext startWebSocket(WebSocketListener listener)
          Upgrade the current HTTP connection to a WebSocket connection
 

Method Detail

startWebSocket

WebSocketContext startWebSocket(WebSocketListener listener)
                                throws java.io.IOException
Upgrade the current HTTP connection to a WebSocket connection

Throws:
java.io.IOException