Class RequestWrapper
-
- All Implemented Interfaces:
-
ch.qos.logback.access.common.spi.WrappedHttpRequest,jakarta.servlet.ServletRequest,jakarta.servlet.http.HttpServletRequest
public final class RequestWrapper implements HttpServletRequest, WrappedHttpRequestRequest wrapper that implements Servlet API.
-
-
Constructor Summary
Constructors Constructor Description RequestWrapper(Request request)
-
Method Summary
-
-
Method Detail
-
getAuthType
String getAuthType()
-
getCookies
Array<Cookie> getCookies()
-
getDateHeader
Long getDateHeader(String name)
-
getHeaders
Enumeration<String> getHeaders(String name)
-
getHeaderNames
Enumeration<String> getHeaderNames()
-
buildRequestHeaderMap
Map<String, String> buildRequestHeaderMap()
-
getIntHeader
Integer getIntHeader(String name)
-
getPathInfo
String getPathInfo()
-
getPathTranslated
String getPathTranslated()
-
getContextPath
String getContextPath()
-
getQueryString
String getQueryString()
-
getRemoteUser
String getRemoteUser()
-
isUserInRole
Boolean isUserInRole(String role)
-
getUserPrincipal
Principal getUserPrincipal()
-
getRequestedSessionId
String getRequestedSessionId()
-
getRequestURI
String getRequestURI()
-
getRequestURL
StringBuffer getRequestURL()
-
getServletPath
String getServletPath()
-
getSessionID
String getSessionID()
-
getSession
HttpSession getSession(Boolean create)
-
getSession
HttpSession getSession()
-
changeSessionId
String changeSessionId()
-
isRequestedSessionIdValid
Boolean isRequestedSessionIdValid()
-
isRequestedSessionIdFromCookie
Boolean isRequestedSessionIdFromCookie()
-
isRequestedSessionIdFromURL
Boolean isRequestedSessionIdFromURL()
-
authenticate
Boolean authenticate(HttpServletResponse response)
-
getParts
Collection<Part> getParts()
-
getAttribute
Object getAttribute(String name)
-
getAttributeNames
Enumeration<String> getAttributeNames()
-
getCharacterEncoding
String getCharacterEncoding()
-
setCharacterEncoding
Unit setCharacterEncoding(String env)
-
getContentLength
Integer getContentLength()
-
getContentLengthLong
Long getContentLengthLong()
-
getContentType
String getContentType()
-
getInputStream
ServletInputStream getInputStream()
-
buildRequestParameterMap
Map<String, Array<String>> buildRequestParameterMap()
-
getParameter
String getParameter(String name)
-
getParameterNames
Enumeration<String> getParameterNames()
-
getParameterValues
Array<String> getParameterValues(String name)
-
getParameterMap
Map<String, Array<String>> getParameterMap()
-
getProtocol
String getProtocol()
-
getServerName
String getServerName()
-
getServerPort
Integer getServerPort()
-
getReader
BufferedReader getReader()
-
getRemoteAddr
String getRemoteAddr()
-
getRemoteHost
String getRemoteHost()
-
setAttribute
Unit setAttribute(String name, Object o)
-
removeAttribute
Unit removeAttribute(String name)
-
getLocales
Enumeration<Locale> getLocales()
-
getRequestDispatcher
RequestDispatcher getRequestDispatcher(String path)
-
getRemotePort
Integer getRemotePort()
-
getLocalName
String getLocalName()
-
getLocalAddr
String getLocalAddr()
-
getLocalPort
Integer getLocalPort()
-
getServletContext
ServletContext getServletContext()
-
startAsync
AsyncContext startAsync()
-
startAsync
AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse)
-
isAsyncStarted
Boolean isAsyncStarted()
-
isAsyncSupported
Boolean isAsyncSupported()
-
getAsyncContext
AsyncContext getAsyncContext()
-
getDispatcherType
DispatcherType getDispatcherType()
-
getRequestId
String getRequestId()
-
getProtocolRequestId
String getProtocolRequestId()
-
getServletConnection
ServletConnection getServletConnection()
-
-
-
-