org.eclipse.jetty.websocket
Class WebSocketConnectionD07
java.lang.Object
org.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.websocket.WebSocketConnectionD07
- All Implemented Interfaces:
- org.eclipse.jetty.io.Connection, WebSocketConnection
public class WebSocketConnectionD07
- extends org.eclipse.jetty.io.AbstractConnection
- implements WebSocketConnection
| Fields inherited from class org.eclipse.jetty.io.AbstractConnection |
_endp |
| Methods inherited from class org.eclipse.jetty.io.AbstractConnection |
getEndPoint, getTimeStamp, toString |
| Methods inherited from interface org.eclipse.jetty.io.Connection |
getTimeStamp |
WebSocketConnectionD07
public WebSocketConnectionD07(WebSocket websocket,
org.eclipse.jetty.io.EndPoint endpoint,
WebSocketBuffers buffers,
long timestamp,
int maxIdleTime,
String protocol,
List<Extension> extensions)
throws IOException
- Throws:
IOException
getConnection
public WebSocket.Connection getConnection()
getExtensions
public List<Extension> getExtensions()
- Specified by:
getExtensions in interface WebSocketConnection
handle
public org.eclipse.jetty.io.Connection handle()
throws IOException
- Specified by:
handle in interface org.eclipse.jetty.io.Connection
- Throws:
IOException
isIdle
public boolean isIdle()
- Specified by:
isIdle in interface org.eclipse.jetty.io.Connection
idleExpired
public void idleExpired()
- Specified by:
idleExpired in interface org.eclipse.jetty.io.Connection- Overrides:
idleExpired in class org.eclipse.jetty.io.AbstractConnection
isSuspended
public boolean isSuspended()
- Specified by:
isSuspended in interface org.eclipse.jetty.io.Connection
closed
public void closed()
- Specified by:
closed in interface org.eclipse.jetty.io.Connection
closeIn
public void closeIn(int code,
String message)
closeOut
public void closeOut(int code,
String message)
fillBuffersFrom
public void fillBuffersFrom(org.eclipse.jetty.io.Buffer buffer)
- Specified by:
fillBuffersFrom in interface WebSocketConnection
handshake
public void handshake(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String origin,
String subprotocol)
throws IOException
- Specified by:
handshake in interface WebSocketConnection
- Throws:
IOException
hashKey
public static String hashKey(String key)
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.