<html>
<head>
<title>request</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div id="Description">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">request</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">Variable name:</td>
</tr>
<tr>
<td colspan="2" class="description">

<p><span class="LITERAL">request</span></p>

</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">Interface name:</td>
</tr>
<tr>
<td colspan="2" class="description">

<p><span class="LITERAL">javax.servlet.http.HttpServletRequest</span></p>

</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">Extends:</td>
</tr>
<tr>
<td colspan="2" class="description">

<p><span class="LITERAL">javax.servlet.ServletRequest</span></p>

</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">Implemented by:</td>
</tr>
<tr>
<td colspan="2" class="description">

<p>Internal container-dependent class</p>

</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">JSP page type:</td>
</tr>
<tr>
<td colspan="2" class="description">

<p>Available in both regular JSP pages and error pages</p>

</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">Description</td>
</tr>
<tr>
<td colspan="2" class="description">

<p>The <span class="LITERAL">request</span> variable is assigned a reference to an
internal container-dependent class that implements a
protocol-dependent interface that extends the
<span class="LITERAL">javax.servlet.ServletRequest</span> interface. Since HTTP
is the only protocol supported by JSP 1.1, the class always
implements the
<span class="LITERAL">javax.servlet.http.HttpServletRequest</span> interface.
The method descriptions in this section include the methods from both
interfaces.
</p>
</td>
</tr>
</table>
</div>
<div id="getAttribute">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getAttribute()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public Object getAttribute(String name)</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the value of the named attribute as an <span class="LITERAL">Object</span>, or <span class="LITERAL">null</span> if no attribute of the given name exists.
</p></td>
</tr>
</table>
</div>
<div id="getAttributeNames">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getAttributeNames()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public java.util.Enumeration getAttributeNames()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns an <span class="LITERAL">Enumeration</span> containing the names of the attributes available to this request. The <span class="LITERAL">Enumeration</span> is empty if the request doesn't have any attributes.
</p></td>
</tr>
</table>
</div>
<div id="getAuthType">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getAuthType()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getAuthType()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the name of the authentication scheme used to protect the servlet (for example, BASIC or SSL), or <span class="LITERAL">null</span> if the servlet is not protected.
</p></td>
</tr>
</table>
</div>
<div id="getCharacterEncoding">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getCharacterEncoding()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getCharacterEncoding()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the name of the character encoding method used in the body of this request, or <span class="LITERAL">null</span> if the request does not specify a character encoding method.
</p></td>
</tr>
</table>
</div>
<div id="getContentLength">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getContentLength()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public int getContentLength()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the length, in bytes, of the request body (if it is made available by the input stream), or <span class="LITERAL">-1</span> if the length is not known.
</p></td>
</tr>
</table>
</div>
<div id="getContentType">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getContentType()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getContentType()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the MIME type of the body of the request, or <span class="LITERAL">null</span> if the type is not known.
</p></td>
</tr>
</table>
</div>
<div id="getContextPath">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getContextPath()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getContextPath()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the portion of the request URI that indicates the context of the request.
</p></td>
</tr>
</table>
</div>
<div id="getCookies">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getCookies()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public Cookie[] getCookies()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns an array containing all the <span class="LITERAL">Cookie</span> objects the client sent with this request, or <span class="LITERAL">null</span> if the request contains no cookies.
</p></td>
</tr>
</table>
</div>
<div id="getDateHeader">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getDateHeader()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public long getDateHeader(String name)</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the value of the specified request header as a <span class="LITERAL">long</span> value that represents a date value, or <span class="LITERAL">-1</span> if the header is not included in the request.
</p></td>
</tr>
</table>
</div>
<div id="getHeader">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getHeader()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getHeader(String name)</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the value of the specified request header as a <span class="LITERAL">String</span>, or <span class="LITERAL">null</span> if the header is not included with the request.
</p></td>
</tr>
</table>
</div>
<div id="getHeaderNames">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getHeaderNames()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public java.util.Enumeration getHeaderNames()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns all the header names this request contains as an <span class="LITERAL">Enumeration</span> of <span class="LITERAL">String</span> objects. The <span class="LITERAL">Enumeration</span> is empty if the request doesn't have any headers.
</p></td>
</tr>
</table>
</div>
<div id="getHeaders">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getHeaders()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public java.util.Enumeration getHeaders(String name)</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns all the values of the specified request header as an <span class="LITERAL">Enumeration</span> of <span class="LITERAL">String</span> objects. The <span class="LITERAL">Enumeration</span> is empty if the request doesn't contain the specified header.
</p></td>
</tr>
</table>
</div>
<div id="getInputStream">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getInputStream()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public ServletInputStream getInputStream()<br>
&nbsp;&nbsp;throws java.io.IOException</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Retrieves the body of the request as binary data using a <span class="LITERAL">ServletInputStream</span>.
</p></td>
</tr>
</table>
</div>
<div id="getIntHeader">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getIntHeader()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public int getIntHeader(String name)</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the value of the specified request header as an <span class="LITERAL">int</span>, or <span class="LITERAL">-1</span> if the header is not included in the request.
</p></td>
</tr>
</table>
</div>
<div id="getLocale">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getLocale()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public java.util.Locale getLocale()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the preferred <span class="LITERAL">Locale</span> in which the client will accept content, based on the <span class="LITERAL">Accept-Language</span> header.
</p></td>
</tr>
</table>
</div>
<div id="getLocales">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getLocales()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public java.util.Enumeration getLocales()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns an <span class="LITERAL">Enumeration</span> of <span class="LITERAL">Locale</span> objects indicating, in decreasing order and starting with the preferred locale, the locales that are acceptable to the client based on the <span class="LITERAL">Accept-Language</span> header.
</p></td>
</tr>
</table>
</div>
<div id="getMethod">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getMethod()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getMethod()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the name of the HTTP method with which this request was made; for example, <span class="LITERAL">GET</span>, <span class="LITERAL">POST</span>, or <span class="LITERAL">PUT</span>.
</p></td>
</tr>
</table>
</div>
<div id="getParameter">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getParameter()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getParameter(String name)</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the value of a request parameter as a <span class="LITERAL">String</span>, or <span class="LITERAL">null</span> if the parameter does not exist.
</p></td>
</tr>
</table>
</div>
<div id="getParameterNames">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getParameterNames()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getParameterNames()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns an <span class="LITERAL">Enumeration</span> of <span class="LITERAL">String</span> objects containing the names of the parameters in this request.
</p></td>
</tr>
</table>
</div>
<div id="getParameterValues">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getParameterValues()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String[] getParameterValues()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns an array of <span class="LITERAL">String</span> objects containing all of the given request parameter's values, or <span class="LITERAL">null</span> if the parameter does not exist.
</p></td>
</tr>
</table>
</div>
<div id="getPathInfo">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getPathInfo()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getPathInfo()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns any extra path information associated with the URI the client sent when it made this request, or <span class="LITERAL">null</span> if there is no extra path information. For a JSP page, this method always returns <span class="LITERAL">null</span>.
</p></td>
</tr>
</table>
</div>
<div id="getPathTranslated">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getPathTranslated()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getPathTranslated()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the result of <span class="LITERAL">getPathInfo()</span> translated into the corresponding filesystem path. Returns <span class="LITERAL">null</span> if <span class="LITERAL">getPathInfo()</span> returns <span class="LITERAL">null</span>.
</p></td>
</tr>
</table>
</div>
<div id="getProtocol">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getProtocol()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getProtocol()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the name and version of the protocol the request uses in the form <em>protocol</em>/<em>majorVersion</em>.<em>minorVersion</em>; for example, <span class="LITERAL">HTTP/1.1</span>.
</p></td>
</tr>
</table>
</div>
<div id="getQueryString">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getQueryString()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getQueryString()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the query string that is contained in the request URI after the path.
</p></td>
</tr>
</table>
</div>
<div id="getReader">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getReader()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public java.io.BufferedReader getReader() throws java.io.IOException</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Retrieves the body of the request as character data using a <span class="LITERAL">BufferedReader</span>.
</p></td>
</tr>
</table>
</div>
<div id="getRemoteAddr">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getRemoteAddr()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getRemoteAddr()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the Internet Protocol (IP) address of the client that sent the request.
</p></td>
</tr>
</table>
</div>
<div id="getRemoteHost">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getRemoteHost()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getRemoteHost()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the fully qualified name of the client host that sent the request or, if the hostname cannot be determined, the IP address of the client.
</p></td>
</tr>
</table>
</div>
<div id="getRemoteUser">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getRemoteUser()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getRemoteUser()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the login ID of the user making this request if the user has been authenticated, or <span class="LITERAL">null</span> if the user has not been authenticated.
</p></td>
</tr>
</table>
</div>
<div id="getRequestDispatcher">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getRequestDispatcher()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public RequestDispatcher getRequestDispatcher(String path)</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns a <span class="LITERAL">RequestDispatcher</span> object that acts as a wrapper for the resource located at the given path.
</p></td>
</tr>
</table>
</div>
<div id="getRequestedSessionId">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getRequestedSessionId()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getRequestedSessionId()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the session ID specified by the client.
</p></td>
</tr>
</table>
</div>
<div id="getRequestURI">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getRequestURI()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getRequestURI()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the part of this request's URI from the protocol name up to the query string in the first line of the HTTP request.
</p></td>
</tr>
</table>
</div>
<div id="getScheme">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getScheme()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getScheme()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the name of the scheme (protocol) used to make this request; for example, <span class="LITERAL">http</span>, <span class="LITERAL">https</span>, or <span class="LITERAL">ftp</span>.
</p></td>
</tr>
</table>
</div>
<div id="getServerName">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getServerName()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getServerName()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the hostname of the server that received the request.
</p></td>
</tr>
</table>
</div>
<div id="getServerPort">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getServerPort()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public int getServerPort()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the port number on which the request was received.
</p></td>
</tr>
</table>
</div>
<div id="getServletPath">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getServletPath()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getServletPath()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the part of this request's URI that calls the servlet. For a JSP page, this is the page's complete context-relative path.
</p></td>
</tr>
</table>
</div>
<div id="getSession">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getSession()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public HttpSession getSession()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the current <span class="LITERAL">HttpSession</span> associated with this request. If the request does not have a session, a new <span class="LITERAL">HttpSession</span> object is created, associated with the request, and returned.
</p></td>
</tr>
</table>
</div>
<div id="getSession">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getSession()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public HttpSession getSession(boolean create)</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the current <span class="LITERAL">HttpSession</span> associated with this request. If there is no current session and <span class="LITERAL">create</span> is <span class="LITERAL">true</span>, a new <span class="LITERAL">HttpSession</span> object is created, associated with the request, and returned. If <span class="LITERAL">create</span> is <span class="LITERAL">false</span> and the request is not associated with a session, this method returns <span class="LITERAL">null</span>.
</p></td>
</tr>
</table>
</div>
<div id="getUserPrincipal">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getUserPrincipal()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public java.security.Principal getUserPrincipal()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns a <span class="LITERAL">Principal</span> object containing the name of the current authenticated user.
</p></td>
</tr>
</table>
</div>
<div id="isRequestedSessionIdFromCookie">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">isRequestedSessionIdFromCookie()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public boolean isRequestedSessionIdFromCookie()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Checks if the requested session ID came in as a cookie.
</p></td>
</tr>
</table>
</div>
<div id="isRequestedSessionIdFromURL">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">isRequestedSessionIdFromURL()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public boolean isRequestedSessionIdFromURL()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Checks if the requested session ID came in as part of the request URL.
</p></td>
</tr>
</table>
</div>
<div id="isRequestedSessionIdValid">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">isRequestedSessionIdValid()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public boolean isRequestedSessionIdValid()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Checks if the requested session ID is still valid.
</p></td>
</tr>
</table>
</div>
<div id="isSecure">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">isSecure()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public boolean isSecure()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns a <span class="LITERAL">boolean</span> indicating whether this request was made using a secure channel, such as HTTPS, or not.
</p></td>
</tr>
</table>
</div>
<div id="isUserInRole">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">isUserInRole()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public boolean isUserInRole(String role)</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns a <span class="LITERAL">boolean</span> indicating whether the authenticated user is included in the specified logical role or not.
</p></td>
</tr>
</table>
</div>
<div id="removeAttribute">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">removeAttribute()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public void removeAttribute(String name)</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Removes the specified attribute from the request.
</p></td>
</tr>
</table>
</div>
<div id="setAttribute">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">setAttribute()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public Object setAttribute(String name, Object attribute)</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Stores the specified attribute in the request.
</p></td>
</tr>
</table>
</div>
<div id="getRealPath">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getRealPath()</td>
<td valign="top" class="COMPATIBILITY">Deprecated</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public String getRealPath()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
As of the Servlet 2.1 API, use <span class="LITERAL">ServletContext.getRealPath(String)</span> instead.
</p></td>
</tr>
</table>
</div>
<div id="isRequestSessionIdFromUrl">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">isRequestSessionIdFromUrl()</td>
<td valign="top" class="COMPATIBILITY">Deprecated</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public boolean isRequestSessionIdFromUrl()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
As of the Servlet 2.1 API, use <span class="LITERAL">isRequestedSessionIdFromURL()</span> instead.
</p></td>
</tr>
</table>
</div>
</body>
</html>