public class GlassfishSupport extends Object
HttpSessions
between web container and websocket applications.| Constructor and Description |
|---|
GlassfishSupport() |
GlassfishSupport(Object context,
Object wrapper,
javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.http.HttpSession |
getSession(boolean create) |
boolean |
isUserInRole(String role) |
boolean |
isValid() |
void |
updateUserPrincipal(org.glassfish.grizzly.http.server.Request grizzlyRequest) |
public boolean isValid()
public boolean isUserInRole(String role)
public javax.servlet.http.HttpSession getSession(boolean create)
public void updateUserPrincipal(org.glassfish.grizzly.http.server.Request grizzlyRequest)
Copyright © 2021 Oracle Corporation. All Rights Reserved.