public class NopSessionProvider extends AbstractSessionProvider
AbstractSessionProvider.SessionProviderHttpServletRequestWrapper
构造器和说明 |
---|
NopSessionProvider() |
限定符和类型 | 方法和说明 |
---|---|
javax.servlet.http.HttpSession |
createSession(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
javax.servlet.ServletContext servletContext)
子类覆盖此方法,以创建一个新的Session对象,或者任何你想做的事
|
javax.servlet.http.HttpSession |
getExistSession(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
javax.servlet.ServletContext servletContext) |
filter, notifyStop
public javax.servlet.http.HttpSession createSession(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, javax.servlet.ServletContext servletContext)
AbstractSessionProvider
createSession
在类中 AbstractSessionProvider
public javax.servlet.http.HttpSession getExistSession(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, javax.servlet.ServletContext servletContext)
getExistSession
在类中 AbstractSessionProvider
Copyright © 2017. All rights reserved.