Java org.springframework.web.socket WebSocketHttpHeaders fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.socket WebSocketHttpHeaders fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.socket WebSocketHttpHeaders.

The text is from its open source code.

Field

Constructor

WebSocketHttpHeaders()
Create a new instance.
WebSocketHttpHeaders(HttpHeaders headers)
Create an instance that wraps the given pre-existing HttpHeaders and also propagate all changes to it.

Method

voidadd(String headerName, @Nullable String headerValue)
Add the given, single header value under the given name.
booleancontainsKey(Object key)
Listget(Object key)
ListgetConnection()
Return the value of the Connection header.
ListgetSecWebSocketExtensions()
Returns the value of the Sec-WebSocket-Extensions header.
StringgetSecWebSocketKey()
Returns the value of the Sec-WebSocket-Key header.
ListgetSecWebSocketProtocol()
Returns the value of the Sec-WebSocket-Key header.
StringgetSecWebSocketVersion()
Returns the value of the Sec-WebSocket-Version header.
StringgetUpgrade()
Return the value of the Upgrade header.
SetkeySet()
Listput(String key, List value)