public class EngineSessionCookie extends Object
Constructor and Description |
---|
EngineSessionCookie(LCUserCookieSign sign,
boolean fetchUser) |
EngineSessionCookie(String secret,
int maxAge,
boolean fetchUser) |
EngineSessionCookie(String secret,
String sessionKey,
int maxAge,
boolean fetchUser) |
Modifier and Type | Method and Description |
---|---|
static void |
addCookie(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.http.Cookie cookie) |
protected LCUser |
parseCookie(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response) |
void |
wrapCookie(boolean inResponse) |
public EngineSessionCookie(String secret, int maxAge, boolean fetchUser)
public EngineSessionCookie(String secret, String sessionKey, int maxAge, boolean fetchUser)
public EngineSessionCookie(LCUserCookieSign sign, boolean fetchUser)
protected LCUser parseCookie(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse response)
public void wrapCookie(boolean inResponse)
public static void addCookie(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.http.Cookie cookie)
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.