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
  • Constructor Details

    • ExchangeHandshakeResponse

      public ExchangeHandshakeResponse(io.undertow.websockets.spi.WebSocketHttpExchange exchange)
  • Method Details

    • getHeaders

      public Map<String,List<String>> getHeaders()
      Specified by:
      getHeaders in interface javax.websocket.HandshakeResponse