public class JsrHandshakeRequest extends Object implements HandshakeRequest
SEC_WEBSOCKET_EXTENSIONS, SEC_WEBSOCKET_KEY, SEC_WEBSOCKET_PROTOCOL, SEC_WEBSOCKET_VERSION
Constructor and Description |
---|
JsrHandshakeRequest(ServletUpgradeRequest req) |
Modifier and Type | Method and Description |
---|---|
Map<String,List<String>> |
getHeaders() |
Object |
getHttpSession() |
Map<String,List<String>> |
getParameterMap() |
String |
getQueryString() |
PathSpec |
getRequestPathSpec() |
URI |
getRequestURI() |
Principal |
getUserPrincipal() |
boolean |
isUserInRole(String role) |
public JsrHandshakeRequest(ServletUpgradeRequest req)
public Map<String,List<String>> getHeaders()
getHeaders
in interface HandshakeRequest
public Object getHttpSession()
getHttpSession
in interface HandshakeRequest
public Map<String,List<String>> getParameterMap()
getParameterMap
in interface HandshakeRequest
public String getQueryString()
getQueryString
in interface HandshakeRequest
public PathSpec getRequestPathSpec()
public URI getRequestURI()
getRequestURI
in interface HandshakeRequest
public Principal getUserPrincipal()
getUserPrincipal
in interface HandshakeRequest
public boolean isUserInRole(String role)
isUserInRole
in interface HandshakeRequest
Copyright © 1995-2015 Webtide. All Rights Reserved.