public final class WebSocketHandlers
extends java.lang.Object
RequestHandler implementations for Web Sockets.| Modifier and Type | Method and Description |
|---|---|
static <I,O> RequestHandler<I,O> |
acceptAllUpgrades(WebSocketHandler handler)
Returns a
RequestHandler that accepts all WebSocket upgrade requests by delegating it to the passed
handler but sends an HTTP 404 response for all other requests. |
public static <I,O> RequestHandler<I,O> acceptAllUpgrades(WebSocketHandler handler)
RequestHandler that accepts all WebSocket upgrade requests by delegating it to the passed
handler but sends an HTTP 404 response for all other requests.handler - Web Socket handler for all web socket upgrade requests.