Class ExchangeHandshakeResponse
java.lang.Object
io.undertow.websockets.jsr.handshake.ExchangeHandshakeResponse
- All Implemented Interfaces:
jakarta.websocket.HandshakeResponse
public final class ExchangeHandshakeResponse
extends Object
implements jakarta.websocket.HandshakeResponse
HandshakeResponse which wraps a WebSocketHttpExchange to act on it.
Once the processing of it is done update() must be called to persist any changes
made.- Author:
- Norman Maurer
-
Field Summary
Fields inherited from interface jakarta.websocket.HandshakeResponse
SEC_WEBSOCKET_ACCEPT -
Constructor Summary
ConstructorsConstructorDescriptionExchangeHandshakeResponse(io.undertow.websockets.spi.WebSocketHttpExchange exchange) -
Method Summary
-
Constructor Details
-
ExchangeHandshakeResponse
public ExchangeHandshakeResponse(io.undertow.websockets.spi.WebSocketHttpExchange exchange)
-
-
Method Details
-
getHeaders
- Specified by:
getHeadersin interfacejakarta.websocket.HandshakeResponse
-