org.eclipse.jetty.websocket
Interface WebSocketConnection

All Superinterfaces:
AsyncConnection, Connection
All Known Implementing Classes:
WebSocketConnectionD00, WebSocketConnectionD06, WebSocketConnectionD08, WebSocketConnectionD13

public interface WebSocketConnection
extends AsyncConnection


Method Summary
 void fillBuffersFrom(Buffer buffer)
           
 WebSocket.Connection getConnection()
           
 List<Extension> getExtensions()
           
 void handshake(HttpServletRequest request, HttpServletResponse response, String subprotocol)
           
 
Methods inherited from interface org.eclipse.jetty.io.nio.AsyncConnection
onInputShutdown
 
Methods inherited from interface org.eclipse.jetty.io.Connection
getTimeStamp, handle, isIdle, isSuspended, onClose, onIdleExpired
 

Method Detail

fillBuffersFrom

void fillBuffersFrom(Buffer buffer)

handshake

void handshake(HttpServletRequest request,
               HttpServletResponse response,
               String subprotocol)
               throws IOException
Throws:
IOException

getExtensions

List<Extension> getExtensions()

getConnection

WebSocket.Connection getConnection()


Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.