Package | Description |
---|---|
org.jboss.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
Modifier and Type | Method and Description |
---|---|
WebSocketVersion |
WebSocketServerHandshaker.getVersion()
Returns the version of the specification being supported
|
WebSocketVersion |
WebSocketClientHandshaker.getVersion()
Version of the web socket specification that is being used
|
static WebSocketVersion |
WebSocketVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebSocketVersion[] |
WebSocketVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
WebSocketClientHandshaker |
WebSocketClientHandshakerFactory.newHandshaker(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
Map<String,String> customHeaders)
Instances a new handshaker
|
WebSocketClientHandshaker |
WebSocketClientHandshakerFactory.newHandshaker(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
Map<String,String> customHeaders,
long maxFramePayloadLength)
Instances a new handshaker
|
Constructor and Description |
---|
WebSocketClientHandshaker(URI webSocketUrl,
WebSocketVersion version,
String subprotocol,
Map<String,String> customHeaders)
Base constructor with default values
|
WebSocketClientHandshaker(URI webSocketUrl,
WebSocketVersion version,
String subprotocol,
Map<String,String> customHeaders,
long maxFramePayloadLength)
Base constructor
|
WebSocketClientHandshaker00(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
Map<String,String> customHeaders)
Constructor with default values
|
WebSocketClientHandshaker00(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
Map<String,String> customHeaders,
long maxFramePayloadLength)
Constructor
|
WebSocketClientHandshaker07(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
Map<String,String> customHeaders,
long maxFramePayloadLength)
Creates a new instance.
|
WebSocketClientHandshaker08(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
Map<String,String> customHeaders)
Constructor with default values
|
WebSocketClientHandshaker08(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
Map<String,String> customHeaders,
long maxFramePayloadLength)
Constructor
|
WebSocketClientHandshaker13(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
Map<String,String> customHeaders)
Constructor with default values
|
WebSocketClientHandshaker13(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
Map<String,String> customHeaders,
long maxFramePayloadLength)
Constructor
|
WebSocketServerHandshaker(WebSocketVersion version,
String webSocketUrl,
String subprotocols)
Constructor using default values
|
WebSocketServerHandshaker(WebSocketVersion version,
String webSocketUrl,
String subprotocols,
long maxFramePayloadLength)
Constructor specifying the destination web socket location
|
Copyright © 2008-2016 The Netty Project. All Rights Reserved.