Java javax.servlet.http HttpServletRequestWrapper fields, constructors, methods, implement or subclass

Example usage for Java javax.servlet.http HttpServletRequestWrapper fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.servlet.http HttpServletRequestWrapper.

The text is from its open source code.

Subclass

javax.servlet.http.HttpServletRequestWrapper has subclasses.
Click this link to see all its subclasses.

Constructor

HttpServletRequestWrapper(HttpServletRequest request)
Constructs a request object wrapping the given request.

Method

ObjectgetAttribute(String name)
The default behavior of this method is to call getAttribute(String name) on the wrapped request object.
StringgetHeader(String name)
The default behavior of this method is to return getHeader(String name) on the wrapped request object.
EnumerationgetHeaderNames()
The default behavior of this method is to return getHeaderNames() on the wrapped request object.
EnumerationgetHeaders(String name)
The default behavior of this method is to return getHeaders(String name) on the wrapped request object.
StringgetMethod()
The default behavior of this method is to return getMethod() on the wrapped request object.
StringgetParameter(String name)
The default behavior of this method is to return getParameter(String name) on the wrapped request object.
MapgetParameterMap()
The default behavior of this method is to return getParameterMap() on the wrapped request object.
StringgetPathInfo()
The default behavior of this method is to return getPathInfo() on the wrapped request object.
ServletRequestgetRequest()
Return the wrapped request object.
RequestDispatchergetRequestDispatcher(String path)
The default behavior of this method is to return getRequestDispatcher(String path) on the wrapped request object.
StringgetRequestURI()
The default behavior of this method is to return getRequestURI() on the wrapped request object.
StringgetServerName()
The default behavior of this method is to return getServerName() on the wrapped request object.
intgetServerPort()
The default behavior of this method is to return getServerPort() on the wrapped request object.
StringgetServletPath()
The default behavior of this method is to return getServletPath() on the wrapped request object.
java.security.PrincipalgetUserPrincipal()
The default behavior of this method is to return getUserPrincipal() on the wrapped request object.
voidsetAttribute(String name, Object o)
The default behavior of this method is to return setAttribute(String name, Object o) on the wrapped request object.
voidsetRequest(ServletRequest request)
Sets the request object being wrapped.