Method Summary |
|
public void | addCookie(Cookie cookie) Add a Cookie to the set of Cookies associated with this Request. |
public void | addHeader(String name, String value) Add a Header to the set of Headers associated with this Request. |
public void | addLocale(Locale locale) Add a Locale to the set of preferred Locales for this Request. |
public void | addParameter(String name, String values) Add a parameter name and corresponding set of values to this Request. |
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 String | getDecodedRequestURI() Get the decoded request URI. |
public void | setAuthType(String type) Set the authentication type used for this request, if any; otherwise
set the type to null . |
public void | setContextPath(String path) Set the context path for this Request. |
public void | setDecodedRequestURI(String uri) Set the decoded request URI. |
public void | setMethod(String method) Set the HTTP request method used for this Request. |
public void | setPathInfo(String path) Set the path information for this Request. |
public void | setQueryString(String query) Set the query string for this Request. |
public void | setRequestURI(String uri) Set the unparsed request URI for this Request. |
public void | setRequestedSessionCookie(boolean flag) Set a flag indicating whether or not the requested session ID for this
request came in through a cookie. |
public void | setRequestedSessionId(String id) Set the requested session ID for this request. |
public void | setRequestedSessionURL(boolean flag) Set a flag indicating whether or not the requested session ID for this
request came in through a URL. |
public void | setServletPath(String path) Set the servlet path for this Request. |
public void | setUserPrincipal(Principal principal) Set the Principal who has been authenticated for this Request. |