Class JsrHandshakeRequest
- java.lang.Object
-
- org.eclipse.jetty.websocket.jsr356.server.JsrHandshakeRequest
-
- All Implemented Interfaces:
javax.websocket.server.HandshakeRequest
public class JsrHandshakeRequest extends java.lang.Object implements javax.websocket.server.HandshakeRequest
-
-
Constructor Summary
Constructors Constructor Description JsrHandshakeRequest(ServletUpgradeRequest req)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<java.lang.String>>
getHeaders()
java.lang.Object
getHttpSession()
java.util.Map<java.lang.String,java.util.List<java.lang.String>>
getParameterMap()
java.util.Map<java.lang.String,java.lang.String>
getPathParams()
java.lang.String
getQueryString()
PathSpec
getRequestPathSpec()
java.net.URI
getRequestURI()
java.security.Principal
getUserPrincipal()
boolean
isUserInRole(java.lang.String role)
-
-
-
Constructor Detail
-
JsrHandshakeRequest
public JsrHandshakeRequest(ServletUpgradeRequest req)
-
-
Method Detail
-
getHeaders
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getHeaders()
- Specified by:
getHeaders
in interfacejavax.websocket.server.HandshakeRequest
-
getHttpSession
public java.lang.Object getHttpSession()
- Specified by:
getHttpSession
in interfacejavax.websocket.server.HandshakeRequest
-
getParameterMap
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getParameterMap()
- Specified by:
getParameterMap
in interfacejavax.websocket.server.HandshakeRequest
-
getQueryString
public java.lang.String getQueryString()
- Specified by:
getQueryString
in interfacejavax.websocket.server.HandshakeRequest
-
getRequestPathSpec
public PathSpec getRequestPathSpec()
-
getPathParams
public java.util.Map<java.lang.String,java.lang.String> getPathParams()
-
getRequestURI
public java.net.URI getRequestURI()
- Specified by:
getRequestURI
in interfacejavax.websocket.server.HandshakeRequest
-
getUserPrincipal
public java.security.Principal getUserPrincipal()
- Specified by:
getUserPrincipal
in interfacejavax.websocket.server.HandshakeRequest
-
isUserInRole
public boolean isUserInRole(java.lang.String role)
- Specified by:
isUserInRole
in interfacejavax.websocket.server.HandshakeRequest
-
-