| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public List | Returns: the list of Extension configurations (in the order they were specified)Get the list of WebSocket Extension Configurations for this Upgrade Request. |
| public String | |
| public int | Returns: the value of the header as anint (-1 if header does not exist)the name of the header name)Get the specific Header value, as an |
| public Map | |
| public List | Returns: the value list (null if no header exists)the header name name)Get the specific header values (for multi-value headers) |
| public String | |
| public String | Returns: the HTTP Version usedThe HTTP version used for this Upgrade Request
As of RFC6455 (December 2011) this is always
|
| public String | |
| public String | Returns: the Origin headerThe WebSocket Origin of this Upgrade Request See RFC6455: Section 10.2 for details. |
| public Map | Returns: a unmodifiable map of query parameters of the request.Returns a map of the query parameters of the request. |
| public String | Returns: the WebSocket protocol versionGet the WebSocket Protocol Version
As of RFC6455, Jetty only supports version
|
| public String | |
| public URI | |
| public List | Returns: the list of offered sub-protocolsGet the list of offered WebSocket sub-protocols. |
| public Principal | |
| public boolean | Returns: true if sub-protocol exists on requestthe sub-protocol to test for test)Test if a specific sub-protocol is offered |
| public boolean |
| getCookies | back to summary |
|---|---|
| public List Get the list of Cookies on the Upgrade request
| |
| getExtensions | back to summary |
|---|---|
| public List 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) Get a specific Header value from Upgrade Request | |
| getHeaderInt | back to summary |
|---|---|
| public int getHeaderInt(String name) Get the specific Header value, as an
| |
| getHeaders | back to summary |
|---|---|
| public Map Get the headers as a Map of keys to value lists. | |
| getHeaders | back to summary |
|---|---|
| public List Get the specific header values (for multi-value headers) | |
| getHost | back to summary |
|---|---|
| public String getHost() The host of the Upgrade Request URI
| |
| getHttpVersion | back to summary |
|---|---|
| public String getHttpVersion() The HTTP version used for this Upgrade Request
As of RFC6455 (December 2011) this is always
| |
| getMethod | back to summary |
|---|---|
| public String getMethod() The HTTP method for this Upgrade Request.
As of RFC6455 (December 2011) this is always
| |
| getOrigin | back to summary |
|---|---|
| public String getOrigin() The WebSocket Origin of this Upgrade Request See RFC6455: Section 10.2 for details.
Equivalent to
| |
| getParameterMap | back to summary |
|---|---|
| public Map Returns a map of the query parameters of the request. | |
| getProtocolVersion | back to summary |
|---|---|
| public String getProtocolVersion() Get the WebSocket Protocol Version
As of RFC6455, Jetty only supports version
| |
| getQueryString | back to summary |
|---|---|
| public String getQueryString() Get the Query String of the request URI.
| |
| getRequestURI | back to summary |
|---|---|
| public URI getRequestURI() Get the Request URI
| |
| getSubProtocols | back to summary |
|---|---|
| public List Get the list of offered WebSocket sub-protocols. | |
| getUserPrincipal | back to summary |
|---|---|
| public Principal getUserPrincipal() Get the User Principal for this request. Only applicable when using UpgradeRequest from server side.
| |
| hasSubProtocol | back to summary |
|---|---|
| public boolean hasSubProtocol(String test) Test if a specific sub-protocol is offered
| |
| isSecure | back to summary |
|---|---|
| public boolean isSecure() Test if connection is secure.
| |