The HTTP request to upgrade to WebSocket.
An instance of this class is given as a parameter to a
WebSocketCreator, so that applications can interact
with the request.
ServerUpgradeResponse
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public List | |
| public boolean | hasSubProtocol(String
the sub-protocol to search subProtocol)Returns: whether this request contains the given sub-protocol |
| getExtensions | back to summary |
|---|---|
public List
| |
| getSubProtocols | back to summary |
|---|---|
| public List | |
| hasSubProtocol | back to summary |
|---|---|
public boolean hasSubProtocol(String subProtocol)
| |