Package | Description |
---|---|
org.java_websocket | |
org.java_websocket.drafts |
This package encapsulates all implementations in relation with the WebSocket drafts.
|
Modifier and Type | Method and Description |
---|---|
static WebSocket.Role |
WebSocket.Role.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebSocket.Role[] |
WebSocket.Role.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Field and Description |
---|---|
protected WebSocket.Role |
Draft.role
In some cases the handshake will be parsed different depending on whether
|
Modifier and Type | Method and Description |
---|---|
WebSocket.Role |
Draft.getRole() |
Modifier and Type | Method and Description |
---|---|
List<ByteBuffer> |
Draft.createHandshake(Handshakedata handshakedata,
WebSocket.Role ownrole) |
List<ByteBuffer> |
Draft.createHandshake(Handshakedata handshakedata,
WebSocket.Role ownrole,
boolean withcontent) |
void |
Draft.setParseMode(WebSocket.Role role) |
static HandshakeBuilder |
Draft.translateHandshakeHttp(ByteBuffer buf,
WebSocket.Role role) |
Copyright © 2018. All rights reserved.