public class SessionResolverImpl extends java.lang.Object implements SessionResolver
SessionResolver
) based on HTTP request.Constructor and Description |
---|
SessionResolverImpl(jakarta.servlet.ServletContext ctx,
jakarta.servlet.http.HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
Session |
getSession(boolean create)
Returns the session, or null if no session available and
create is false. |
public SessionResolverImpl(jakarta.servlet.ServletContext ctx, jakarta.servlet.http.HttpServletRequest request)
public Session getSession(boolean create)
SessionResolver
create
is false.getSession
in interface SessionResolver
create
- whether to create the session if not found.
If true, a new session will be create if there is no one available.Copyright © 2005-2022 Potix Corporation. All Rights Reserved.