Methods Summary |
---|
public void | addCookie(javax.servlet.http.Cookie cookie)Add a Cookie to the set of Cookies associated with this Request.
|
public void | addHeader(java.lang.String name, java.lang.String value)Add a Header to the set of Headers associated with this Request.
|
public void | addLocale(java.util.Locale locale)Add a Locale to the set of preferred Locales for this Request. The
first added Locale will be the first one returned by getLocales().
|
public void | addParameter(java.lang.String name, java.lang.String[] values)Add a parameter name and corresponding set of values to this Request.
(This is used when restoring the original request on a form based
login).
|
public void | clearCookies()Clear the collection of Cookies associated with this Request.
|
public void | clearHeaders()Clear the collection of Headers associated with this Request.
|
public void | clearLocales()Clear the collection of Locales associated with this Request.
|
public void | clearParameters()Clear the collection of parameters associated with this Request.
|
public org.apache.tomcat.util.buf.MessageBytes | getContextPathMB()Get the context path.
|
public java.lang.String | getDecodedRequestURI()Get the decoded request URI.
|
public org.apache.tomcat.util.buf.MessageBytes | getDecodedRequestURIMB()Get the decoded request URI.
|
public org.apache.tomcat.util.buf.MessageBytes | getPathInfoMB()Get the path info.
|
public org.apache.tomcat.util.buf.MessageBytes | getRequestPathMB()Get the request path.
|
public org.apache.tomcat.util.buf.MessageBytes | getServletPathMB()Get the servlet path.
|
public void | setAuthType(java.lang.String type)Set the authentication type used for this request, if any; otherwise
set the type to null . Typical values are "BASIC",
"DIGEST", or "SSL".
|
public void | setContextPath(java.lang.String path)Set the context path for this Request. This will normally be called
when the associated Context is mapping the Request to a particular
Wrapper.
|
public void | setDecodedRequestURI(java.lang.String uri)Set the decoded request URI.
|
public void | setMethod(java.lang.String method)Set the HTTP request method used for this Request.
|
public void | setPathInfo(java.lang.String path)Set the path information for this Request. This will normally be called
when the associated Context is mapping the Request to a particular
Wrapper.
|
public void | setQueryString(java.lang.String query)Set the query string for this Request. This will normally be called
by the HTTP Connector, when it parses the request headers.
|
public void | setRequestURI(java.lang.String uri)Set the unparsed request URI for this Request. This will normally be
called by the HTTP Connector, when it parses the request headers.
|
public void | setRequestedSessionCookie(boolean flag)Set a flag indicating whether or not the requested session ID for this
request came in through a cookie. This is normally called by the
HTTP Connector, when it parses the request headers.
|
public void | setRequestedSessionId(java.lang.String id)Set the requested session ID for this request. This is normally called
by the HTTP Connector, when it parses the request headers.
|
public void | setRequestedSessionURL(boolean flag)Set a flag indicating whether or not the requested session ID for this
request came in through a URL. This is normally called by the
HTTP Connector, when it parses the request headers.
|
public void | setServletPath(java.lang.String path)Set the servlet path for this Request. This will normally be called
when the associated Context is mapping the Request to a particular
Wrapper.
|
public void | setUserPrincipal(java.security.Principal principal)Set the Principal who has been authenticated for this Request. This
value is also used to calculate the value to be returned by the
getRemoteUser() method.
|