Class ExchangeHandshakeResponse

  • All Implemented Interfaces:
    jakarta.websocket.HandshakeResponse

    public final class ExchangeHandshakeResponse
    extends java.lang.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

      Constructors 
      Constructor Description
      ExchangeHandshakeResponse​(io.undertow.websockets.spi.WebSocketHttpExchange exchange)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getHeaders()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExchangeHandshakeResponse

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

      • getHeaders

        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getHeaders()
        Specified by:
        getHeaders in interface jakarta.websocket.HandshakeResponse