WsHandshakeResponse (Apache Tomcat 9.0.69 API Documentation)

Package org.apache.tomcat.websocket

## Class WsHandshakeResponse

- java.lang.Object
- - org.apache.tomcat.websocket.WsHandshakeResponse

- All Implemented Interfaces:
    `HandshakeResponse`

      public class WsHandshakeResponse
      extends java.lang.Object
      implements HandshakeResponse

  Represents the response to a WebSocket handshake.

- - ### Field Summary

    - ### Fields inherited from interface javax.websocket.HandshakeResponse

      `SEC_WEBSOCKET_ACCEPT`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `WsHandshakeResponse()` |
    `WsHandshakeResponse​(java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headers)` |

  - ### 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

    - #### WsHandshakeResponse

          public WsHandshakeResponse()

    - #### WsHandshakeResponse

          public WsHandshakeResponse​(java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headers)

  - ### Method Detail

    - #### getHeaders

          public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getHeaders()

      Specified by:
        `getHeaders` in interface `HandshakeResponse`