The HTTP response to upgrade to WebSocket.
An instance of this class is given as a parameter to a
WebSocketCreator, so that applications can interact
with the response.
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public List | |
| public void | |
| public void | setExtensions(List<ExtensionConfig>
the list of negotiated extensions configs)Set the list of negotiated extensions. |
| getAcceptedSubProtocol | back to summary |
|---|---|
public String getAcceptedSubProtocol()
| |
| getExtensions | back to summary |
|---|---|
public List
| |
| setAcceptedSubProtocol | back to summary |
|---|---|
| public void setAcceptedSubProtocol(String protocol) Set the negotiated sub-protocol.
| |
| setExtensions | back to summary |
|---|---|
| public void setExtensions(List<ExtensionConfig> configs) Set the list of negotiated extensions.
| |