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 jakarta.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()
-
-
-
Method Detail
-
getHeaders
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getHeaders()
- Specified by:
getHeaders
in interfaceHandshakeResponse
-
-