org.eclipse.jetty.websocket
类 WebSocketServletConnectionRFC6455

java.lang.Object
  继承者 org.eclipse.jetty.io.AbstractConnection
      继承者 org.eclipse.jetty.websocket.WebSocketConnectionRFC6455
          继承者 org.eclipse.jetty.websocket.WebSocketServletConnectionRFC6455
所有已实现的接口:
Connection, AsyncConnection, WebSocketConnection, WebSocketServletConnection

public class WebSocketServletConnectionRFC6455
extends WebSocketConnectionRFC6455
implements WebSocketServletConnection


字段摘要
 
从类 org.eclipse.jetty.io.AbstractConnection 继承的字段
_endp
 
构造方法摘要
WebSocketServletConnectionRFC6455(WebSocketFactory factory, WebSocket websocket, EndPoint endpoint, WebSocketBuffers buffers, long timestamp, int maxIdleTime, String protocol, List<Extension> extensions, int draft)
           
 
方法摘要
 void handshake(HttpServletRequest request, HttpServletResponse response, String subprotocol)
           
 void onClose()
          Called after the connection is closed
 
从类 org.eclipse.jetty.websocket.WebSocketConnectionRFC6455 继承的方法
closeIn, closeOut, fillBuffersFrom, getConnection, getExtensions, handle, hashKey, isIdle, isSuspended, onFrameHandshake, onIdleExpired, onInputShutdown, onWebSocketOpen, shutdown, toString
 
从类 org.eclipse.jetty.io.AbstractConnection 继承的方法
getEndPoint, getTimeStamp
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
从接口 org.eclipse.jetty.websocket.WebSocketConnection 继承的方法
fillBuffersFrom, getConnection, getExtensions, shutdown
 
从接口 org.eclipse.jetty.io.nio.AsyncConnection 继承的方法
onInputShutdown
 
从接口 org.eclipse.jetty.io.Connection 继承的方法
getTimeStamp, handle, isIdle, isSuspended, onIdleExpired
 

构造方法详细信息

WebSocketServletConnectionRFC6455

public WebSocketServletConnectionRFC6455(WebSocketFactory factory,
                                         WebSocket websocket,
                                         EndPoint endpoint,
                                         WebSocketBuffers buffers,
                                         long timestamp,
                                         int maxIdleTime,
                                         String protocol,
                                         List<Extension> extensions,
                                         int draft)
                                  throws IOException
抛出:
IOException
方法详细信息

handshake

public void handshake(HttpServletRequest request,
                      HttpServletResponse response,
                      String subprotocol)
               throws IOException
指定者:
接口 WebSocketServletConnection 中的 handshake
抛出:
IOException

onClose

public void onClose()
从接口 Connection 复制的描述
Called after the connection is closed

指定者:
接口 Connection 中的 onClose
覆盖:
WebSocketConnectionRFC6455 中的 onClose


Copyright © 2013. All Rights Reserved.