Method Summary |
|
public String | getAuthType() Returns the auth type, e.g. |
public String | getContextPath() Returns the part of the URI corresponding to the application's
prefix. |
public Cookie[] | getCookies() Returns an array of all cookies sent by the client. |
public long | getDateHeader(String name) Converts a date header to milliseconds since the epoch. |
public String | getHeader(String name) Returns the first value for a request header. |
public Enumeration | getHeaderNames() Returns an enumeration of all headers sent by the client. |
public Enumeration | getHeaders(String name) Returns all the values for a request header. |
public int | getIntHeader(String name) Converts a header value to an integer. |
public String | getMethod() Returns the HTTP method, e.g. |
public String | getPathInfo() Returns the URI part after the selected servlet and null if there
is no suffix. |
public String | getPathTranslated() Returns the physical path name for the path info. |
public String | getQueryString() Returns the request's query string. |
public String | getRemoteUser() Returns the remote user if authenticated. |
public String | getRequestURI() |
public StringBuffer | getRequestURL() Reconstructs the URL the client used for the request. |
public String | getRequestedSessionId() Returns the session id. |
public String | getServletPath() Returns the URI part corresponding to the selected servlet. |
public HttpSession | getSession(boolean create) Returns a session. |
public HttpSession | getSession() Returns the current session, creating one if necessary. |
public Principal | getUserPrincipal() Returns the equivalent principal object for the authenticated user. |
public boolean | isRequestedSessionIdFromCookie() Returns true if the session came from a cookie. |
public boolean | isRequestedSessionIdFromURL() Returns true if the session came URL-encoding. |
public boolean | isRequestedSessionIdFromUrl() |
public boolean | isRequestedSessionIdValid() Returns true if the session is valid. |
public boolean | isUserInRole(String role) Returns true if the user is in the given role. |
public void | setRequest(ServletRequest request) Sets the request object for the wrapper. |