| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the request is thought to be a valid websocket upgrade request.the request request)A preliminary check to see if a request is likely to be a valid WebSocket Upgrade Request. |
| public static Handshaker | |
| public boolean | Returns: true if a response was generated, false if a response is not generatedthe negotiator negotiator, Request the request request, Response the response response, Callback the callback callback, WebSocketComponents the WebSocket components components, Configuration.the customizer defaultCustomizerAttempts to upgrade a request to WebSocket. |
| isWebSocketUpgradeRequest | back to summary |
|---|---|
| public boolean isWebSocketUpgradeRequest(Request request) A preliminary check to see if a request is likely to be a valid WebSocket Upgrade Request. If this returns true
the
| |
| newInstance | back to summary |
|---|---|
| public static Handshaker newInstance() | |
| upgradeRequest | back to summary |
|---|---|
| public boolean upgradeRequest(WebSocketNegotiator negotiator, Request request, Response response, Callback callback, WebSocketComponents components, Configuration. Attempts to upgrade a request to WebSocket. Returns
| |