org.webbitserver.netty
Class Hybi

java.lang.Object
  extended by org.webbitserver.netty.Hybi
All Implemented Interfaces:
WebSocketVersion

public class Hybi
extends Object
implements WebSocketVersion


Field Summary
static String SEC_WEBSOCKET_ACCEPT
           
static String SEC_WEBSOCKET_KEY
           
static String SEC_WEBSOCKET_PROTOCOL
           
static String SEC_WEBSOCKET_VERSION
           
 
Constructor Summary
Hybi(org.jboss.netty.handler.codec.http.HttpRequest req, org.jboss.netty.handler.codec.http.HttpResponse res)
           
 
Method Summary
 org.jboss.netty.channel.ChannelHandler createDecoder()
           
 org.jboss.netty.channel.ChannelHandler createEncoder()
           
 boolean matches()
           
 void prepareHandshakeResponse(NettyWebSocketConnection webSocketConnection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

SEC_WEBSOCKET_PROTOCOL

public static final String SEC_WEBSOCKET_PROTOCOL
See Also:
Constant Field Values
Constructor Detail

Hybi

public Hybi(org.jboss.netty.handler.codec.http.HttpRequest req,
            org.jboss.netty.handler.codec.http.HttpResponse res)
Method Detail

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 © 2013. All Rights Reserved.