public class SessionHttpServletRequestWrapper extends javax.servlet.http.HttpServletRequestWrapper implements SessionBuilder
Title: SessionHttpServletRequestWrapper.java
Description:
bboss workgroup
Copyright (c) 2008
| 限定符和类型 | 字段和说明 |
|---|---|
protected java.lang.String |
appkey |
protected javax.servlet.http.HttpServletResponse |
response |
protected javax.servlet.ServletContext |
servletContext |
protected HttpSessionImpl |
session |
protected java.lang.String |
sessionid |
protected boolean |
sessionidcookiewrited |
protected boolean |
usewebsession |
| 构造器和说明 |
|---|
SessionHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected javax.servlet.http.HttpSession |
_getSession(java.lang.String sessionid) |
HttpSessionImpl |
buildHttpSessionImpl(Session session) |
protected void |
createSession(java.lang.String sessionid) |
java.lang.String |
getRequestedSessionId() |
protected java.lang.String |
getRequestUrl() |
javax.servlet.http.HttpSession |
getSession() |
javax.servlet.http.HttpSession |
getSession(boolean create) |
void |
invalidateCallback() |
boolean |
isRequestedSessionIdFromCookie() |
boolean |
isRequestedSessionIdFromUrl() |
boolean |
isRequestedSessionIdFromURL() |
boolean |
isRequestedSessionIdValid() |
protected java.lang.String |
randomToken() |
void |
removeSession(java.lang.String sessionid)
清除session数据
|
void |
submit() |
void |
touch() |
authenticate, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestURI, getRequestURL, getServletPath, getUserPrincipal, isUserInRole, login, logoutgetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, 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, 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, startAsyncprotected java.lang.String sessionid
protected HttpSessionImpl session
protected javax.servlet.http.HttpServletResponse response
protected javax.servlet.ServletContext servletContext
protected java.lang.String appkey
protected boolean usewebsession
protected boolean sessionidcookiewrited
public SessionHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext)
public javax.servlet.http.HttpSession getSession()
getSession 在接口中 javax.servlet.http.HttpServletRequestgetSession 在类中 javax.servlet.http.HttpServletRequestWrapperpublic void removeSession(java.lang.String sessionid)
sessionid - protected java.lang.String getRequestUrl()
protected void createSession(java.lang.String sessionid)
protected java.lang.String randomToken()
public javax.servlet.http.HttpSession getSession(boolean create)
getSession 在接口中 javax.servlet.http.HttpServletRequestgetSession 在类中 javax.servlet.http.HttpServletRequestWrapperpublic HttpSessionImpl buildHttpSessionImpl(Session session)
buildHttpSessionImpl 在接口中 SessionBuilderprotected javax.servlet.http.HttpSession _getSession(java.lang.String sessionid)
public void touch()
public java.lang.String getRequestedSessionId()
getRequestedSessionId 在接口中 javax.servlet.http.HttpServletRequestgetRequestedSessionId 在类中 javax.servlet.http.HttpServletRequestWrapperpublic boolean isRequestedSessionIdFromCookie()
isRequestedSessionIdFromCookie 在接口中 javax.servlet.http.HttpServletRequestisRequestedSessionIdFromCookie 在类中 javax.servlet.http.HttpServletRequestWrapperpublic boolean isRequestedSessionIdFromURL()
isRequestedSessionIdFromURL 在接口中 javax.servlet.http.HttpServletRequestisRequestedSessionIdFromURL 在类中 javax.servlet.http.HttpServletRequestWrapperpublic boolean isRequestedSessionIdFromUrl()
isRequestedSessionIdFromUrl 在接口中 javax.servlet.http.HttpServletRequestisRequestedSessionIdFromUrl 在类中 javax.servlet.http.HttpServletRequestWrapperpublic boolean isRequestedSessionIdValid()
isRequestedSessionIdValid 在接口中 javax.servlet.http.HttpServletRequestisRequestedSessionIdValid 在类中 javax.servlet.http.HttpServletRequestWrapperpublic void invalidateCallback()
invalidateCallback 在接口中 InvalidateCallbackpublic void submit()