org.webbitserver.netty
Class Hybi
java.lang.Object
org.webbitserver.netty.Hybi
- All Implemented Interfaces:
- WebSocketVersion
public class Hybi
- extends Object
- implements WebSocketVersion
|
Constructor Summary |
Hybi(org.jboss.netty.handler.codec.http.HttpRequest req,
org.jboss.netty.handler.codec.http.HttpResponse res)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SEC_WEBSOCKET_VERSION
public static final String SEC_WEBSOCKET_VERSION
- See Also:
- Constant Field Values
SEC_WEBSOCKET_ACCEPT
public static final String SEC_WEBSOCKET_ACCEPT
- See Also:
- Constant Field Values
SEC_WEBSOCKET_KEY
public static final String SEC_WEBSOCKET_KEY
- See Also:
- Constant Field Values
Hybi
public Hybi(org.jboss.netty.handler.codec.http.HttpRequest req,
org.jboss.netty.handler.codec.http.HttpResponse res)
matches
public boolean matches()
- Specified by:
matches in interface WebSocketVersion
prepareHandshakeResponse
public void prepareHandshakeResponse(NettyWebSocketConnection webSocketConnection)
- Specified by:
prepareHandshakeResponse in interface WebSocketVersion
createDecoder
public org.jboss.netty.channel.ChannelHandler createDecoder()
- Specified by:
createDecoder in interface WebSocketVersion
createEncoder
public org.jboss.netty.channel.ChannelHandler createEncoder()
- Specified by:
createEncoder in interface WebSocketVersion
Copyright © 2012. All Rights Reserved.