| Modifier and Type | Field and Description |
|---|---|
| private final ServerUpgradeRequest |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public List | getCookies()
Implements org. Get the list of Cookies on the Upgrade request |
| public List | getExtensions()
Implements org. Get the list of WebSocket Extension Configurations for this Upgrade Request. |
| public String | getHeader(String
the name of the header name)Implements org. Get a specific Header value from Upgrade Request |
| public int | getHeaderInt(String
the name of the header name)Implements org. Get the specific Header value, as an |
| public Map | getHeaders()
Implements org. Get the headers as a Map of keys to value lists. |
| public List | getHeaders(String
the header name name)Implements org. Get the specific header values (for multi-value headers) |
| public String | getHost()
Implements org. The host of the Upgrade Request URI |
| public String | getHttpVersion()
Implements org. The HTTP version used for this Upgrade Request
As of RFC6455 (December 2011) this is always
|
| public String | getMethod()
Implements org. The HTTP method for this Upgrade Request. |
| public String | getOrigin()
Implements org. The WebSocket Origin of this Upgrade Request See RFC6455: Section 10.2 for details. |
| public Map | getParameterMap()
Implements org. Returns a map of the query parameters of the request. |
| public String | getProtocolVersion()
Implements org. Get the WebSocket Protocol Version
As of RFC6455, Jetty only supports version
|
| public String | getQueryString()
Implements org. Get the Query String of the request URI. |
| public URI | getRequestURI()
Implements org. Get the Request URI |
| public List | getSubProtocols()
Implements org. Get the list of offered WebSocket sub-protocols. |
| public Principal | getUserPrincipal()
Implements org. Get the User Principal for this request. |
| public boolean | hasSubProtocol(String
the sub-protocol to test for subProtocol)Implements org. Test if a specific sub-protocol is offered |
| public boolean | isSecure()
Implements org. Test if connection is secure. |
| request | back to summary |
|---|---|
| private final ServerUpgradeRequest request | |
| UpgradeRequestDelegate | back to summary |
|---|---|
| pack-priv UpgradeRequestDelegate(ServerUpgradeRequest request) | |
| getCookies | back to summary |
|---|---|
| public List Implements org. Doc from org. Get the list of Cookies on the Upgrade request
| |
| getExtensions | back to summary |
|---|---|
| public List Implements org. Doc from org. Get the list of WebSocket Extension Configurations for this Upgrade Request.
This is merely the list of requested Extensions to use, see
| |
| getHeader | back to summary |
|---|---|
| public String getHeader(String name) Implements org. Doc from org. Get a specific Header value from Upgrade Request | |
| getHeaderInt | back to summary |
|---|---|
| public int getHeaderInt(String name) Implements org. Doc from org. Get the specific Header value, as an | |
| getHeaders | back to summary |
|---|---|
| public Map Implements org. Doc from org. Get the headers as a Map of keys to value lists. | |
| getHeaders | back to summary |
|---|---|
| public List Implements org. Doc from org. Get the specific header values (for multi-value headers) | |
| getHost | back to summary |
|---|---|
| public String getHost() Implements org. Doc from org. The host of the Upgrade Request URI | |
| getHttpVersion | back to summary |
|---|---|
| public String getHttpVersion() Implements org. Doc from org. The HTTP version used for this Upgrade Request
As of RFC6455 (December 2011) this is always
| |
| getMethod | back to summary |
|---|---|
| public String getMethod() Implements org. Doc from org. The HTTP method for this Upgrade Request.
As of RFC6455 (December 2011) this is always | |
| getOrigin | back to summary |
|---|---|
| public String getOrigin() Implements org. Doc from org. The WebSocket Origin of this Upgrade Request See RFC6455: Section 10.2 for details.
Equivalent to | |
| getParameterMap | back to summary |
|---|---|
| public Map Implements org. Doc from org. Returns a map of the query parameters of the request. | |
| getProtocolVersion | back to summary |
|---|---|
| public String getProtocolVersion() Implements org. Doc from org. Get the WebSocket Protocol Version
As of RFC6455, Jetty only supports version
| |
| getQueryString | back to summary |
|---|---|
| public String getQueryString() Implements org. Doc from org. Get the Query String of the request URI. | |
| getRequestURI | back to summary |
|---|---|
| public URI getRequestURI() Implements org. Doc from org. Get the Request URI | |
| getSubProtocols | back to summary |
|---|---|
| public List Implements org. Doc from org. Get the list of offered WebSocket sub-protocols. | |
| getUserPrincipal | back to summary |
|---|---|
| public Principal getUserPrincipal() Implements org. Doc from org. Get the User Principal for this request. Only applicable when using UpgradeRequest from server side. | |
| hasSubProtocol | back to summary |
|---|---|
| public boolean hasSubProtocol(String subProtocol) Implements org. Doc from org. Test if a specific sub-protocol is offered | |
| isSecure | back to summary |
|---|---|
| public boolean isSecure() Implements org. Doc from org. Test if connection is secure.
| |