Wraps a servlet request in another request. Filters may
use ServletRequestWrapper to modify the headers passed to the servlet.
The default methods just call the wrapped request methods.
since: servlet 2.3
Returns the content length of the data. This value may differ from
the actual length of the data. For newer browsers, i.e.
those supporting HTTP/1.1, can support "chunked" encoding which does
not make the content length available.
The upshot is, rely on the input stream to end when the data
completes.
Returns a form parameter. When the form contains several parameters
of the same name, getParameter returns the first.
For example, calling getParameter("a") with the
the query string a=1&a=2 will return "1".
Parameters: name - the form parameter to return the form value or null if none matches.
For example, calling getParameterValues("a")
with the the query string a=1&a=2 will
return ["1", "2"].
Parameters: name - the form parameter to return an array of matching form values or null if none matches.
Returns a request dispatcher for later inclusion or forwarding. This
is the servlet API equivalent to SSI includes. uri
is relative to the request URI. Absolute URIs are relative to
the application prefix (getContextPath()).
If getRequestURI() is /myapp/dir/test.jsp and the
uri is "inc.jsp", the resulting page is
/myapp/dir/inc.jsp.