Class WsHandshakeResponse

java.lang.Object
org.apache.tomcat.websocket.WsHandshakeResponse
All Implemented Interfaces:
HandshakeResponse

public class WsHandshakeResponse extends Object implements HandshakeResponse
Represents the response to a WebSocket handshake.
  • Constructor Details

    • WsHandshakeResponse

      public WsHandshakeResponse()
      Default constructor.
    • WsHandshakeResponse

      public WsHandshakeResponse(Map<String, List<String>> headers)
      Creates a handshake response from the given headers.
      Parameters:
      headers - the response headers
  • Method Details