public class SessionHttpServletRequestWrapper
extends javax.servlet.http.HttpServletRequestWrapper
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
CURRENT_SESSION_ATTR |
org.slf4j.Logger |
logger |
static String |
NAME |
| 构造器和说明 |
|---|
SessionHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext,
int cookiesMaxAge,
String cookiesDomain,
int sessionMaxAge,
String jsessionId,
String prefix) |
| 限定符和类型 | 方法和说明 |
|---|---|
javax.servlet.http.HttpSession |
getSession() |
javax.servlet.http.HttpSession |
getSession(boolean create) |
boolean |
isRequestedSessionIdValid() |
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isUserInRole, login, logout, upgradegetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsyncpublic org.slf4j.Logger logger
public static final String CURRENT_SESSION_ATTR
public SessionHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext,
int cookiesMaxAge,
String cookiesDomain,
int sessionMaxAge,
String jsessionId,
String prefix)
public javax.servlet.http.HttpSession getSession()
getSession 在接口中 javax.servlet.http.HttpServletRequestgetSession 在类中 javax.servlet.http.HttpServletRequestWrapperpublic javax.servlet.http.HttpSession getSession(boolean create)
getSession 在接口中 javax.servlet.http.HttpServletRequestgetSession 在类中 javax.servlet.http.HttpServletRequestWrapperpublic boolean isRequestedSessionIdValid()
isRequestedSessionIdValid 在接口中 javax.servlet.http.HttpServletRequestisRequestedSessionIdValid 在类中 javax.servlet.http.HttpServletRequestWrapperCopyright © 2016. All rights reserved.