Method Summary |
|
protected Cookie | createCookie() |
public Object | getAttribute(String name) |
public Enumeration | getAttributeNames() |
public String | getAuthType() HttpServletRequest implementation - Get the request's auth method. |
public String | getCharacterEncoding() |
public int | getContentLength() ServletRequest implementation - Get the length of request data. |
public String | getContentType() ServletRequest implementation - Get the type of the request's body. |
public String | getContextPath() Returns the portion of the request URI that indicates the context
of the request. |
protected String | getCookieName() |
public Cookie[] | getCookies() Gets the array of cookies found in this request. |
public long | getDateHeader(String name) HttpServletRequest implementation - Get a request header as an date. |
public String | getHeader(String name) HttpServletRequest implementation - Get a request header as a String. |
public Enumeration | getHeaderNames() HttpServletRequest implementation - Get a all header names. |
public Enumeration | getHeaders(String name) Returns all the values of the specified request header
as an Enumeration of String objects. |
public int | getHttpVer() Return the code corresponding to the HTTP version. |
public ServletInputStream | getInputStream() |
public int | getIntHeader(String name) HttpServletRequest implementation - Get a request header as an int. |
public Locale | getLocale() Returns the preferred Locale that the client will
accept content in, based on the Accept-Language header. |
public Enumeration | getLocales() Returns an Enumeration of Locale objects
indicating, in decreasing order starting with the preferred locale, the
locales that are acceptable to the client based on the Accept-Language
header. |
public String | getMethod() HttpServletRequest implementation - Get the request's method. |
public String | getParameter(String name) ServletRequest implementation - Get a parameter value. |
public java.util.Map | getParameterMap() |
public Enumeration | getParameterNames() ServletRequest implementation - List available parameters. |
public String[] | getParameterValues(String parameter) ServletRequest implementation - Get the parameters value. |
public String | getPathInfo() HttpServletRequest implementation - Get the request's path info. |
public String | getPathTranslated() HttpServletRequest implementation - Get the request's path translated. |
public String | getProtocol() ServletRequest implementation - Get the protocol of that request. |
public String | getQueryString() HttpServletRequest implementation - Get the request's query string. |
public BufferedReader | getReader() Returns a buffered reader for reading text in the request body. |
public String | getRealPath(String name) |
public String | getRemoteAddr() ServletRequest implementation - Get the IP address of requests's sender. |
public String | getRemoteHost() ServletRequest implementation - FQDN of request's sender. |
public String | getRemoteUser() HttpServletRequest implementation - Get the request's user (if any). |
protected httpRequest | getRequest() Get the wrapped Seda Request. |
public RequestDispatcher | getRequestDispatcher(String path) Returns a
RequestDispatcher object that acts as a wrapper for
the resource located at the given path. |
public String | getRequestURI() Gets, from the first line of the HTTP request,
the part of this request's URI that is to the left of any query string. |
public StringBuffer | getRequestURL() |
public String | getRequestedSessionId() Gets the session id specified with this request. |
protected String | getRequestedSessionIdFromCookie() |
protected String | getRequestedSessionIdFromURL() |
public String | getScheme() the scheme of the URL used in this request, for example "http","https", or "ftp". |
public String | getServerName() ServletRequest implementation - Get the name of queried server. |
public int | getServerPort() ServletRequest implementation - Get the port of queried server. |
public String | getServletPath() Gets the part of this request's URI that refers to the servlet
being invoked. |
public HttpSession | getSession(boolean create) Gets the current valid session associated with this request, if create
is false or, if necessary, creates a new session for the request, if
create is true. |
public HttpSession | getSession() Gets the current valid session associated with this request. |
protected HttpSession | getSession(String sessionId) |
public Principal | getUserPrincipal() Returns a java.security.Principal object containing
the name of the current authenticated user. |
public boolean | hasQueryString() |
public boolean | isRequestedSessionIdFromCookie() Checks whether the session id specified by this request came in as
a cookie. |
public boolean | isRequestedSessionIdFromURL() Checks whether the session id specified by this request came in as
part of the URL. |
public boolean | isRequestedSessionIdFromUrl() Checks whether the session id specified by this request came in as
part of the URL. |
public boolean | isRequestedSessionIdValid() Checks whether this request is associated with a session that is valid
in the current session context. |
public boolean | isSecure() Returns a boolean indicating whether this request was made using a
secure channel, such as HTTPS. |
public boolean | isUserInRole(String role) Returns a boolean indicating whether the authenticated user is included
in the specified logical "role". |
public String | prependRealPath(String name) |
public void | removeAttribute(String name) Removes an attribute from this request. |
public void | setAttribute(String name, Object object) |
public void | setCharacterEncoding(String str) |