Class ExchangeHandshakeResponse
java.lang.Object
io.undertow.websockets.jsr.handshake.ExchangeHandshakeResponse
- All Implemented Interfaces:
javax.websocket.HandshakeResponse
public final class ExchangeHandshakeResponse
extends Object
implements javax.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 javax.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:
getHeaders
in interfacejavax.websocket.HandshakeResponse
-