public class ThreadLocalFacadeServletRequestWrapper
extends javax.servlet.ServletRequestWrapper
implements Closeable
Constructor and Description |
---|
ThreadLocalFacadeServletRequestWrapper(javax.servlet.ServletRequestWrapper servletRequestWrapper,
javax.servlet.ServletRequest nextServletRequest) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
Enumeration<Locale> |
getLocales() |
javax.servlet.ServletRequest |
getRequest() |
javax.servlet.RequestDispatcher |
getRequestDispatcher(String uri) |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object o) |
void |
setRequest(javax.servlet.ServletRequest servletRequest) |
getAsyncContext, getCharacterEncoding, getContentLength, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, setCharacterEncoding, startAsync, startAsync
public ThreadLocalFacadeServletRequestWrapper(javax.servlet.ServletRequestWrapper servletRequestWrapper, javax.servlet.ServletRequest nextServletRequest)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public Object getAttribute(String name)
getAttribute
in interface javax.servlet.ServletRequest
getAttribute
in class javax.servlet.ServletRequestWrapper
public Enumeration<String> getAttributeNames()
getAttributeNames
in interface javax.servlet.ServletRequest
getAttributeNames
in class javax.servlet.ServletRequestWrapper
public Enumeration<Locale> getLocales()
getLocales
in interface javax.servlet.ServletRequest
getLocales
in class javax.servlet.ServletRequestWrapper
public javax.servlet.ServletRequest getRequest()
getRequest
in class javax.servlet.ServletRequestWrapper
public javax.servlet.RequestDispatcher getRequestDispatcher(String uri)
getRequestDispatcher
in interface javax.servlet.ServletRequest
getRequestDispatcher
in class javax.servlet.ServletRequestWrapper
public void removeAttribute(String name)
removeAttribute
in interface javax.servlet.ServletRequest
removeAttribute
in class javax.servlet.ServletRequestWrapper
public void setAttribute(String name, Object o)
setAttribute
in interface javax.servlet.ServletRequest
setAttribute
in class javax.servlet.ServletRequestWrapper
public void setRequest(javax.servlet.ServletRequest servletRequest)
setRequest
in class javax.servlet.ServletRequestWrapper