public class RequestWrapper
extends jakarta.servlet.http.HttpServletRequestWrapper
| Constructor and Description |
|---|
RequestWrapper(jakarta.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 jakarta.servlet.http.HttpServletRequestgetHeader in class jakarta.servlet.http.HttpServletRequestWrapperpublic Enumeration<String> getHeaders(String name)
getHeaders in interface jakarta.servlet.http.HttpServletRequestgetHeaders in class jakarta.servlet.http.HttpServletRequestWrapperpublic Enumeration<String> getHeaderNames()
getHeaderNames in interface jakarta.servlet.http.HttpServletRequestgetHeaderNames in class jakarta.servlet.http.HttpServletRequestWrapperpublic Object getAttribute(String name)
getAttribute in interface jakarta.servlet.ServletRequestgetAttribute in class jakarta.servlet.ServletRequestWrapperpublic Enumeration<String> getAttributeNames()
getAttributeNames in interface jakarta.servlet.ServletRequestgetAttributeNames in class jakarta.servlet.ServletRequestWrapperpublic void setAttribute(String name, Object o)
setAttribute in interface jakarta.servlet.ServletRequestsetAttribute in class jakarta.servlet.ServletRequestWrapperpublic void removeAttribute(String name)
removeAttribute in interface jakarta.servlet.ServletRequestremoveAttribute in class jakarta.servlet.ServletRequestWrapperprotected void removeAllAttributes()
Copyright © 2026. All rights reserved.