public class ServletHttpForwardRequest
extends javax.servlet.http.HttpServletRequestWrapper
| 构造器和说明 |
|---|
ServletHttpForwardRequest(javax.servlet.http.HttpServletRequest source) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
getAttribute(String name)
Override the
getAttribute() method of the wrapped request. |
Enumeration<String> |
getAttributeNames()
Override the
getAttributeNames() method of the wrapped
request. |
String |
getContextPath() |
javax.servlet.DispatcherType |
getDispatcherType() |
String |
getParameter(String name) |
Map<String,String[]> |
getParameterMap() |
Enumeration<String> |
getParameterNames() |
String[] |
getParameterValues(String name) |
String |
getPathInfo() |
String |
getPathTranslated() |
String |
getQueryString() |
ServletRequestDispatcher |
getRequestDispatcher(String path) |
String |
getRequestURI() |
StringBuffer |
getRequestURL() |
String |
getServletPath() |
void |
removeAttribute(String name)
Override the
removeAttribute() method of the
wrapped request. |
void |
setAttribute(String name,
Object value)
Override the
setAttribute() method of the
wrapped request. |
void |
setDispatcherType(javax.servlet.DispatcherType dispatcherType) |
void |
setForwardName(String forwardName) |
void |
setForwardPath(String forwardPath) |
void |
setParameterMap(Map<String,String[]> parameterMap) |
void |
setPaths(String pathInfo,
String queryString,
String requestURI,
String servletPath) |
void |
setRequest(javax.servlet.ServletRequest servletRequest) |
authenticate, changeSessionId, getAuthType, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getHttpServletMapping, getIntHeader, getMethod, getPart, getParts, getRemoteUser, getRequestedSessionId, getSession, getSession, getTrailerFields, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgradegetAsyncContext, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, setCharacterEncoding, startAsync, startAsyncgetAsyncContext, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, setCharacterEncoding, startAsync, startAsyncpublic ServletHttpForwardRequest(javax.servlet.http.HttpServletRequest source)
public void setForwardPath(String forwardPath)
public void setForwardName(String forwardName)
public void setRequest(javax.servlet.ServletRequest servletRequest)
setRequest 在类中 javax.servlet.ServletRequestWrapperpublic ServletRequestDispatcher getRequestDispatcher(String path)
getRequestDispatcher 在接口中 javax.servlet.ServletRequestgetRequestDispatcher 在类中 javax.servlet.ServletRequestWrapperpublic void setDispatcherType(javax.servlet.DispatcherType dispatcherType)
public javax.servlet.DispatcherType getDispatcherType()
getDispatcherType 在接口中 javax.servlet.ServletRequestgetDispatcherType 在类中 javax.servlet.ServletRequestWrapperpublic String getContextPath()
getContextPath 在接口中 javax.servlet.http.HttpServletRequestgetContextPath 在类中 javax.servlet.http.HttpServletRequestWrapperpublic String getPathTranslated()
getPathTranslated 在接口中 javax.servlet.http.HttpServletRequestgetPathTranslated 在类中 javax.servlet.http.HttpServletRequestWrapperpublic String getPathInfo()
getPathInfo 在接口中 javax.servlet.http.HttpServletRequestgetPathInfo 在类中 javax.servlet.http.HttpServletRequestWrapperpublic String getQueryString()
getQueryString 在接口中 javax.servlet.http.HttpServletRequestgetQueryString 在类中 javax.servlet.http.HttpServletRequestWrapperpublic String getRequestURI()
getRequestURI 在接口中 javax.servlet.http.HttpServletRequestgetRequestURI 在类中 javax.servlet.http.HttpServletRequestWrapperpublic String getServletPath()
getServletPath 在接口中 javax.servlet.http.HttpServletRequestgetServletPath 在类中 javax.servlet.http.HttpServletRequestWrapperpublic void setPaths(String pathInfo, String queryString, String requestURI, String servletPath)
public String[] getParameterValues(String name)
getParameterValues 在接口中 javax.servlet.ServletRequestgetParameterValues 在类中 javax.servlet.ServletRequestWrapperpublic StringBuffer getRequestURL()
getRequestURL 在接口中 javax.servlet.http.HttpServletRequestgetRequestURL 在类中 javax.servlet.http.HttpServletRequestWrapperpublic Map<String,String[]> getParameterMap()
getParameterMap 在接口中 javax.servlet.ServletRequestgetParameterMap 在类中 javax.servlet.ServletRequestWrapperpublic String getParameter(String name)
getParameter 在接口中 javax.servlet.ServletRequestgetParameter 在类中 javax.servlet.ServletRequestWrapperpublic Enumeration<String> getParameterNames()
getParameterNames 在接口中 javax.servlet.ServletRequestgetParameterNames 在类中 javax.servlet.ServletRequestWrapperpublic Object getAttribute(String name)
getAttribute() method of the wrapped request.getAttribute 在接口中 javax.servlet.ServletRequestgetAttribute 在类中 javax.servlet.ServletRequestWrappername - Name of the attribute to retrievepublic Enumeration<String> getAttributeNames()
getAttributeNames() method of the wrapped
request.getAttributeNames 在接口中 javax.servlet.ServletRequestgetAttributeNames 在类中 javax.servlet.ServletRequestWrapperpublic void removeAttribute(String name)
removeAttribute() method of the
wrapped request.removeAttribute 在接口中 javax.servlet.ServletRequestremoveAttribute 在类中 javax.servlet.ServletRequestWrappername - Name of the attribute to removepublic void setAttribute(String name, Object value)
setAttribute() method of the
wrapped request.setAttribute 在接口中 javax.servlet.ServletRequestsetAttribute 在类中 javax.servlet.ServletRequestWrappername - Name of the attribute to setvalue - Value of the attribute to setCopyright © 2021. All rights reserved.