public class RequestWrapper
extends javax.servlet.http.HttpServletRequestWrapper
| Constructor and Description |
|---|
RequestWrapper(javax.servlet.http.HttpServletRequest request,
Map<String,String> headers) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
String |
getHeader(String name) |
Enumeration<String> |
getHeaderNames() |
Enumeration<String> |
getHeaders(String name) |
protected void |
removeAllAttributes() |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object o) |
authenticate, getAuthType, getContextPath, getCookies, getDateHeader, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logoutgetAsyncContext, 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, setCharacterEncoding, setRequest, startAsync, startAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsyncContext, 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, setCharacterEncoding, startAsync, startAsyncpublic String getHeader(String name)
getHeader in interface javax.servlet.http.HttpServletRequestgetHeader in class javax.servlet.http.HttpServletRequestWrapperpublic Enumeration<String> getHeaders(String name)
getHeaders in interface javax.servlet.http.HttpServletRequestgetHeaders in class javax.servlet.http.HttpServletRequestWrapperpublic Enumeration<String> getHeaderNames()
getHeaderNames in interface javax.servlet.http.HttpServletRequestgetHeaderNames in class javax.servlet.http.HttpServletRequestWrapperpublic Object getAttribute(String name)
getAttribute in interface javax.servlet.ServletRequestgetAttribute in class javax.servlet.ServletRequestWrapperpublic Enumeration<String> getAttributeNames()
getAttributeNames in interface javax.servlet.ServletRequestgetAttributeNames in class javax.servlet.ServletRequestWrapperpublic void setAttribute(String name, Object o)
setAttribute in interface javax.servlet.ServletRequestsetAttribute in class javax.servlet.ServletRequestWrapperpublic void removeAttribute(String name)
removeAttribute in interface javax.servlet.ServletRequestremoveAttribute in class javax.servlet.ServletRequestWrapperprotected void removeAllAttributes()
Copyright © 2026. All rights reserved.