|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HandshakeRequest
The handshake request represents the web socket defined Http request that for the opening handshake of a web socket session.
| Method Summary | |
|---|---|
Map<String,List<String>> |
getHeaders()
Return the read only Map of Http Headers that came with the handshake request. |
Map<String,String[]> |
getParameterMap()
Return the request parameters associated with the request. |
String |
getQueryString()
Return the query string associated with the request. |
URI |
getRequestURI()
Return the request URI of the handshake request. |
Object |
getSession()
Return a reference to the HttpSession that the web socket handshake that started this conversation was part of, if applicable. |
Principal |
getUserPrincipal()
Return the authenticated user or null if no user is authenticated for this handshake. |
boolean |
isUserInRole(String role)
Checks whether the current user is in the given role. |
| Method Detail |
|---|
Map<String,List<String>> getHeaders()
Principal getUserPrincipal()
URI getRequestURI()
boolean isUserInRole(String role)
role - the role being checked
Object getSession()
Map<String,String[]> getParameterMap()
String getQueryString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||