public abstract class AbstractRequestWrapper
extends javax.servlet.http.HttpServletRequestWrapper
WebContext
支持的HttpServletRequestWrapper
。Constructor and Description |
---|
AbstractRequestWrapper(WebContext context,
javax.servlet.http.HttpServletRequest request)
创建一个request wrapper。
|
Modifier and Type | Method and Description |
---|---|
javax.servlet.ServletContext |
getServletContext()
取得当前request所处的servlet context环境。
|
protected WebContext |
getWebContext()
取得支持它们的
WebContext 。 |
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
public AbstractRequestWrapper(WebContext context, javax.servlet.http.HttpServletRequest request)
context
- request contextrequest
- requestpublic javax.servlet.ServletContext getServletContext()
ServletContext
对象protected WebContext getWebContext()
WebContext
。WebContext
实例Copyright © 2006–2018 TinyGroup. All rights reserved.