| Modifier and Type | Field and Description |
|---|---|
| protected static final Logger | |
| private static final HttpField |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract WebSocketConnection | |
| public boolean | isWebSocketUpgradeRequest(Request
the request request)Implements org. A preliminary check to see if a request is likely to be a valid WebSocket Upgrade Request. |
| protected abstract WebSocketNegotiation | newNegotiation(Request request, Response response, Callback callback, WebSocketComponents webSocketComponents)
|
| protected WebSocketConnection | newWebSocketConnection(EndPoint endPoint, Executor executor, Scheduler scheduler, ByteBufferPool byteBufferPool, WebSocketCoreSession coreSession)
|
| protected WebSocketCoreSession | newWebSocketCoreSession(Request request, FrameHandler handler, Negotiated negotiated, WebSocketComponents components)
|
| protected abstract void | |
| public boolean | upgradeRequest(WebSocketNegotiator
the negotiator negotiator, Request the request request, Response the response response, Callback the callback callback, WebSocketComponents the WebSocket components components, Configuration.the customizer defaultCustomizerImplements org. Attempts to upgrade a request to WebSocket. |
| protected boolean |
| LOG | back to summary |
|---|---|
| protected static final Logger LOG | |
| SERVER_VERSION | back to summary |
|---|---|
| private static final HttpField SERVER_VERSION | |
| AbstractHandshaker | back to summary |
|---|---|
| public AbstractHandshaker() | |
| createWebSocketConnection | back to summary |
|---|---|
| protected abstract WebSocketConnection createWebSocketConnection(Request baseRequest, WebSocketCoreSession coreSession) | |
| isWebSocketUpgradeRequest | back to summary |
|---|---|
| public boolean isWebSocketUpgradeRequest(Request request) Implements org. Doc from org. A preliminary check to see if a request is likely to be a valid WebSocket Upgrade Request. If this returns true
the | |
| newNegotiation | back to summary |
|---|---|
| protected abstract WebSocketNegotiation newNegotiation(Request request, Response response, Callback callback, WebSocketComponents webSocketComponents) | |
| newWebSocketConnection | back to summary |
|---|---|
| protected WebSocketConnection newWebSocketConnection(EndPoint endPoint, Executor executor, Scheduler scheduler, ByteBufferPool byteBufferPool, WebSocketCoreSession coreSession) | |
| newWebSocketCoreSession | back to summary |
|---|---|
| protected WebSocketCoreSession newWebSocketCoreSession(Request request, FrameHandler handler, Negotiated negotiated, WebSocketComponents components) | |
| prepareResponse | back to summary |
|---|---|
| protected abstract void prepareResponse(Response response, WebSocketNegotiation negotiation) | |
| upgradeRequest | back to summary |
|---|---|
| public boolean upgradeRequest(WebSocketNegotiator negotiator, Request request, Response response, Callback callback, WebSocketComponents components, Configuration. Implements org. Doc from org. Attempts to upgrade a request to WebSocket. Returns
| |
| validateNegotiation | back to summary |
|---|---|
| protected boolean validateNegotiation(WebSocketNegotiation negotiation) | |