Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addCookie(Cookie...) - Method in interface cool.scx.websocket.ScxClientWebSocketHandshakeRequest
- addHeader(ScxHttpHeaderName, String...) - Method in interface cool.scx.websocket.ScxClientWebSocketHandshakeRequest
- addHeader(String, String...) - Method in interface cool.scx.websocket.ScxClientWebSocketHandshakeRequest
- APPLICATION_MAX - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- APPLICATION_MIN - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
B
- BAD_GATEWAY - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- BINARY - Enum constant in enum class cool.scx.websocket.WebSocketOpCode
- BinaryMessageHandler - Interface in cool.scx.websocket.event
-
二进制消息处理器
C
- CANNOT_ACCEPT - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- close() - Method in interface cool.scx.websocket.ScxWebSocket
- close(int, String) - Method in interface cool.scx.websocket.ScxWebSocket
- close(ScxWebSocketCloseInfo) - Method in interface cool.scx.websocket.ScxWebSocket
- CLOSE - Enum constant in enum class cool.scx.websocket.WebSocketOpCode
- closeCode() - Method in exception class cool.scx.websocket.exception.WebSocketException
- CLOSED_ABNORMALLY - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- CloseHandler - Interface in cool.scx.websocket.event
-
关闭处理器
- code() - Method in interface cool.scx.websocket.close_info.ScxWebSocketCloseInfo
- code() - Method in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- code() - Method in enum class cool.scx.websocket.WebSocketOpCode
- CONTINUATION - Enum constant in enum class cool.scx.websocket.WebSocketOpCode
- cool.scx.websocket - package cool.scx.websocket
- cool.scx.websocket.close_info - package cool.scx.websocket.close_info
- cool.scx.websocket.event - package cool.scx.websocket.event
- cool.scx.websocket.exception - package cool.scx.websocket.exception
- cool.scx.websocket.routing - package cool.scx.websocket.routing
- createClosePayload(int, String) - Static method in class cool.scx.websocket.WebSocketHelper
E
- equals(Object) - Method in record class cool.scx.websocket.WebSocketFrame
-
Indicates whether some other object is "equal to" this one.
F
- fin() - Method in record class cool.scx.websocket.WebSocketFrame
-
Returns the value of the
finrecord component. - find(int) - Static method in enum class cool.scx.websocket.WebSocketOpCode
G
- generateSecWebSocketAccept(String) - Static method in class cool.scx.websocket.WebSocketHelper
- getCloseInfo() - Method in record class cool.scx.websocket.WebSocketFrame
- GOING_AWAY - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
H
- handle(byte[], boolean) - Method in interface cool.scx.websocket.event.BinaryMessageHandler
- handle(int, String) - Method in interface cool.scx.websocket.event.CloseHandler
- handle(String, boolean) - Method in interface cool.scx.websocket.event.TextMessageHandler
- handshakeSucceeded() - Method in interface cool.scx.websocket.ScxClientWebSocketHandshakeResponse
- hashCode() - Method in record class cool.scx.websocket.WebSocketFrame
-
Returns a hash code value for this object.
- headers(ScxHttpHeaders) - Method in interface cool.scx.websocket.ScxClientWebSocketHandshakeRequest
I
- isClosed() - Method in interface cool.scx.websocket.ScxWebSocket
M
- method() - Method in interface cool.scx.websocket.ScxClientWebSocketHandshakeRequest
- method(ScxHttpMethod) - Method in interface cool.scx.websocket.ScxClientWebSocketHandshakeRequest
N
- NO_EXTENSION - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- NO_STATUS_CODE - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- NORMAL_CLOSE - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- NOT_CONSISTENT - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- NOT_WEB_SOCKET_HANDSHAKE - Static variable in class cool.scx.websocket.routing.WebSocketTypeMatcher
O
- of(int) - Static method in enum class cool.scx.websocket.WebSocketOpCode
- of(int, String) - Static method in interface cool.scx.websocket.close_info.ScxWebSocketCloseInfo
- of(ScxWebSocket) - Static method in interface cool.scx.websocket.event.ScxEventWebSocket
- of(ScxWebSocket, Executor) - Static method in interface cool.scx.websocket.event.ScxEventWebSocket
- of(WebSocketOpCode, byte[]) - Static method in record class cool.scx.websocket.WebSocketFrame
- of(WebSocketOpCode, byte[], boolean) - Static method in record class cool.scx.websocket.WebSocketFrame
- onBinaryMessage(BinaryMessageHandler) - Method in interface cool.scx.websocket.event.ScxEventWebSocket
- onClose(CloseHandler) - Method in interface cool.scx.websocket.event.ScxEventWebSocket
- onError(Consumer<Throwable>) - Method in interface cool.scx.websocket.event.ScxEventWebSocket
- onPing(Consumer<byte[]>) - Method in interface cool.scx.websocket.event.ScxEventWebSocket
- onPong(Consumer<byte[]>) - Method in interface cool.scx.websocket.event.ScxEventWebSocket
- onTextMessage(TextMessageHandler) - Method in interface cool.scx.websocket.event.ScxEventWebSocket
- opCode() - Method in record class cool.scx.websocket.WebSocketFrame
-
Returns the value of the
opCoderecord component.
P
- parseCloseInfo(byte[]) - Static method in class cool.scx.websocket.WebSocketHelper
- payloadData() - Method in record class cool.scx.websocket.WebSocketFrame
-
Returns the value of the
payloadDatarecord component. - ping(byte[]) - Method in interface cool.scx.websocket.ScxWebSocket
- PING - Enum constant in enum class cool.scx.websocket.WebSocketOpCode
- pong(byte[]) - Method in interface cool.scx.websocket.ScxWebSocket
- PONG - Enum constant in enum class cool.scx.websocket.WebSocketOpCode
- PROTOCOL_ERROR - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
R
- readFrame() - Method in interface cool.scx.websocket.ScxWebSocket
- reason() - Method in interface cool.scx.websocket.close_info.ScxWebSocketCloseInfo
- reason() - Method in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- REGISTERED_AT_IANA_MAX - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- REGISTERED_AT_IANA_MIN - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- removeCookie(String) - Method in interface cool.scx.websocket.ScxClientWebSocketHandshakeRequest
- request() - Method in interface cool.scx.websocket.ScxServerWebSocketHandshakeResponse
- RESERVED_FOR_EXTENSIONS_MAX - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- RESERVED_FOR_EXTENSIONS_MIN - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- RESERVED_FOR_LATER_MAX - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- RESERVED_FOR_LATER_MIN - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- response() - Method in interface cool.scx.websocket.ScxServerWebSocketHandshakeRequest
S
- ScxClientWebSocketHandshakeRequest - Interface in cool.scx.websocket
-
ScxClientWebSocketHandshakeRequest 1, WebSocket 协议中指定了 必须由 GET 方法 和 空请求体 所以我们这里屏蔽掉一些方法 2, 重写一些方法的返回值 方便我们链式调用
- ScxClientWebSocketHandshakeResponse - Interface in cool.scx.websocket
-
ScxClientWebSocketHandshakeResponse
- ScxEventWebSocket - Interface in cool.scx.websocket.event
-
事件形式的 websocket
- ScxServerWebSocketHandshakeRequest - Interface in cool.scx.websocket
-
ScxServerWebSocketHandshakeRequest
- ScxServerWebSocketHandshakeResponse - Interface in cool.scx.websocket
-
ScxServerWebSocketHandshakeResponse
- ScxWebSocket - Interface in cool.scx.websocket
-
ScxWebSocket
- ScxWebSocketClient - Interface in cool.scx.websocket
-
WebSocket 客户端
- ScxWebSocketCloseInfo - Interface in cool.scx.websocket.close_info
-
WebSocket 关闭信息
- secWebSocketKey() - Method in interface cool.scx.websocket.ScxServerWebSocketHandshakeRequest
- secWebSocketVersion() - Method in interface cool.scx.websocket.ScxServerWebSocketHandshakeRequest
- send(byte[]) - Method in interface cool.scx.websocket.ScxWebSocket
- send(byte[], boolean) - Method in interface cool.scx.websocket.ScxWebSocket
- send(MediaWriter) - Method in interface cool.scx.websocket.ScxClientWebSocketHandshakeRequest
- send(String) - Method in interface cool.scx.websocket.ScxWebSocket
- send(String, boolean) - Method in interface cool.scx.websocket.ScxWebSocket
- sendFrame(WebSocketFrame) - Method in interface cool.scx.websocket.ScxWebSocket
- sendHandshake() - Method in interface cool.scx.websocket.ScxClientWebSocketHandshakeRequest
- SERVICE_RESTART - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- setHeader(ScxHttpHeaderName, String...) - Method in interface cool.scx.websocket.ScxClientWebSocketHandshakeRequest
- setHeader(String, String...) - Method in interface cool.scx.websocket.ScxClientWebSocketHandshakeRequest
- start() - Method in interface cool.scx.websocket.event.ScxEventWebSocket
-
以上回调设置完成之后调用以便启动 websocket 监听
- start(Executor) - Method in interface cool.scx.websocket.event.ScxEventWebSocket
-
在指定执行器中运行
- stop() - Method in interface cool.scx.websocket.event.ScxEventWebSocket
-
终止监听
T
- terminate() - Method in interface cool.scx.websocket.ScxWebSocket
- TEXT - Enum constant in enum class cool.scx.websocket.WebSocketOpCode
- TextMessageHandler - Interface in cool.scx.websocket.event
-
文本消息处理器
- TLS_HANDSHAKE_FAIL - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- TOO_BIG - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- toString() - Method in record class cool.scx.websocket.WebSocketFrame
-
Returns a string representation of this record class.
- TRY_AGAIN_LATER - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
U
- UNEXPECTED_CONDITION - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
- uri(ScxURI) - Method in interface cool.scx.websocket.ScxClientWebSocketHandshakeRequest
- uri(String) - Method in interface cool.scx.websocket.ScxClientWebSocketHandshakeRequest
V
- valueOf(String) - Static method in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.websocket.WebSocketOpCode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cool.scx.websocket.WebSocketOpCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- version() - Method in interface cool.scx.websocket.ScxClientWebSocketHandshakeRequest
- version(HttpVersion) - Method in interface cool.scx.websocket.ScxClientWebSocketHandshakeRequest
- VIOLATED_POLICY - Enum constant in enum class cool.scx.websocket.close_info.WebSocketCloseInfo
W
- WEB_SOCKET_HANDSHAKE - Static variable in class cool.scx.websocket.routing.WebSocketTypeMatcher
- webSocket() - Method in interface cool.scx.websocket.ScxClientWebSocketHandshakeRequest
- webSocket() - Method in interface cool.scx.websocket.ScxClientWebSocketHandshakeResponse
- webSocket() - Method in interface cool.scx.websocket.ScxServerWebSocketHandshakeRequest
- webSocket() - Method in interface cool.scx.websocket.ScxServerWebSocketHandshakeResponse
- WebSocketCloseInfo - Enum Class in cool.scx.websocket.close_info
-
WebSocketCloseInfo
- WebSocketException - Exception Class in cool.scx.websocket.exception
-
WebSocket 异常
- WebSocketException(int, String) - Constructor for exception class cool.scx.websocket.exception.WebSocketException
- WebSocketFrame - Record Class in cool.scx.websocket
-
WebSocketFrame
- WebSocketFrame(WebSocketOpCode, byte[], boolean) - Constructor for record class cool.scx.websocket.WebSocketFrame
-
Creates an instance of a
WebSocketFramerecord class. - webSocketHandshakeRequest() - Method in interface cool.scx.websocket.ScxWebSocketClient
- WebSocketHelper - Class in cool.scx.websocket
-
Helper
- WebSocketHelper() - Constructor for class cool.scx.websocket.WebSocketHelper
- WebSocketOpCode - Enum Class in cool.scx.websocket
-
WebSocket 操作码
- WebSocketTypeMatcher - Class in cool.scx.websocket.routing
-
ScxHttp 路由匹配器 WebSocket 实现
- WebSocketTypeMatcher() - Constructor for class cool.scx.websocket.routing.WebSocketTypeMatcher
All Classes and Interfaces|All Packages|Serialized Form