getHttpMethod() to it.
| Modifier and Type | Field and Description |
|---|---|
| private final UpgradeRequest |
| Access | Constructor and Description |
|---|---|
| pack-priv | JdkUpgradeRequest(UpgradeRequest
wrapped upgrade request. upgradeRequest)Create new |
| Modifier and Type | Method and Description |
|---|---|
| public String | getHeader(String
a header name. name)Implements abstract org. Returns the value of the specified request header name. |
| public Map | getHeaders()
Implements jakarta. Return the read only map of HTTP headers to header values that came with the handshake request. |
| public abstract String | Returns: a HTTP method.Returns a HTTP method that should be used when composing HTTP request. |
| public Object | getHttpSession()
Implements jakarta. Return a reference to the HttpSession that the web socket handshake that started this conversation was part of, if the implementation is part of a Java EE web container. |
| public Map | getParameterMap()
Implements jakarta. Return the request parameters associated with the request. |
| public String | getQueryString()
Implements jakarta. Return the query string associated with the request. |
| public URI | getRequestURI()
Implements jakarta. Return the request URI of the handshake request. |
| public Principal | getUserPrincipal()
Implements jakarta. Return the authenticated user or |
| public boolean | isSecure()
Implements abstract org. Indicates whether this request was made using a secure channel (such as HTTPS). |
| public boolean | isUserInRole(String
the role being checked. role)Implements jakarta. Checks whether the current user is in the given role. |
| upgradeRequest | back to summary |
|---|---|
| private final UpgradeRequest upgradeRequest | |
| JdkUpgradeRequest | back to summary |
|---|---|
| pack-priv JdkUpgradeRequest(UpgradeRequest upgradeRequest) Create new
| |
| getHeader | back to summary |
|---|---|
| public String getHeader(String name) Implements abstract org. Doc from org. Returns the value of the specified request header name. If there are multiple headers with the same name, this method returns the first header in the request. The header name is case insensitive. | |
| getHeaders | back to summary |
|---|---|
| public Map Implements jakarta. Doc from jakarta. Return the read only map of HTTP headers to header values that came with the handshake request. Note that the lookup of header names will be performed in a case insensitive manner. | |
| getHttpMethod | back to summary |
|---|---|
| public abstract String getHttpMethod() Returns a HTTP method that should be used when composing HTTP request.
| |
| getHttpSession | back to summary |
|---|---|
| public Object getHttpSession() Implements jakarta. Doc from jakarta. Return a reference to the HttpSession that the web socket handshake that started this conversation was part of, if the implementation is part of a Java EE web container. | |
| getParameterMap | back to summary |
|---|---|
| public Map Implements jakarta. Doc from jakarta. Return the request parameters associated with the request. | |
| getQueryString | back to summary |
|---|---|
| public String getQueryString() Implements jakarta. Doc from jakarta. Return the query string associated with the request. | |
| getRequestURI | back to summary |
|---|---|
| public URI getRequestURI() Implements jakarta. Doc from jakarta. Return the request URI of the handshake request. | |
| getUserPrincipal | back to summary |
|---|---|
| public Principal getUserPrincipal() Implements jakarta. Doc from jakarta. Return the authenticated user or | |
| isSecure | back to summary |
|---|---|
| public boolean isSecure() Implements abstract org. Doc from org. Indicates whether this request was made using a secure channel (such as HTTPS).
| |
| isUserInRole | back to summary |
|---|---|
| public boolean isUserInRole(String role) Implements jakarta. Doc from jakarta. Checks whether the current user is in the given role. Roles and role membership can be defined using deployment
descriptors of the containing WAR file, if running in a Java EE web container. If the user has not been
authenticated, the method returns | |