Uses of Enum Class
org.java_websocket.enums.Role
Packages that use Role
Package
Description
This package encapsulates all implementations in relation with the WebSocket drafts.
This package encapsulates all enums.
-
Uses of Role in org.java_websocket.drafts
Fields in org.java_websocket.drafts declared as RoleModifier and TypeFieldDescriptionprotected Role
Draft.role
In some cases the handshake will be parsed different depending on whetherMethods in org.java_websocket.drafts that return RoleMethods in org.java_websocket.drafts with parameters of type RoleModifier and TypeMethodDescriptionDraft.createHandshake
(Handshakedata handshakedata, Role ownrole) Deprecated.use createHandshake without the roleDraft.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
(ByteBuffer buf, Role role) -
Uses of Role in org.java_websocket.enums
Methods in org.java_websocket.enums that return Role