Uses of Class
org.java_websocket.enums.Role
-
Packages that use Role Package Description org.java_websocket org.java_websocket.drafts This package encapsulates all implementations in relation with the WebSocket drafts.org.java_websocket.enums This package encapsulates all enums. -
-
Uses of Role in org.java_websocket
Fields in org.java_websocket declared as Role Modifier and Type Field Description private Role
WebSocketImpl. role
The role which this websocket takes in the connection -
Uses of Role in org.java_websocket.drafts
Fields in org.java_websocket.drafts declared as Role Modifier and Type Field Description protected Role
Draft. role
In some cases the handshake will be parsed different depending on whetherMethods in org.java_websocket.drafts that return Role Modifier and Type Method Description Role
Draft. getRole()
Methods in org.java_websocket.drafts with parameters of type Role Modifier and Type Method Description java.util.List<java.nio.ByteBuffer>
Draft. createHandshake(Handshakedata handshakedata, Role ownrole)
Deprecated.use createHandshake without the rolejava.util.List<java.nio.ByteBuffer>
Draft. createHandshake(Handshakedata handshakedata, Role ownrole, boolean withcontent)
Deprecated.use createHandshake without the role since it does not have any effectvoid
Draft. setParseMode(Role role)
static HandshakeBuilder
Draft. translateHandshakeHttp(java.nio.ByteBuffer buf, Role role)
-
Uses of Role in org.java_websocket.enums
Methods in org.java_websocket.enums that return Role Modifier and Type Method Description static Role
Role. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Role[]
Role. values()
Returns an array containing the constants of this enum type, in the order they are declared.
-