December 2000
Intermediate to advanced
574 pages
17h 3m
English
request
|
Variable Name: |
request |
|
Interface Name: |
javax.servlet.http.HttpServletRequest |
|
Extends: |
javax.servlet.ServletRequest |
|
Implemented by: |
Internal container-dependent class |
|
JSP Page Type: |
Available in both regular JSP pages and error pages |
The request variable is assigned a reference to an
internal container-dependent class that implements a
protocol-dependent interface extending the
javax.servlet.ServletRequest. Since HTTP is the
only protocol supported by JSP 1.1, the class always implements the
javax.servlet.http.HttpServletRequest interface.
The method descriptions in this section include all methods from both
interfaces.
public interface ServletRequest { public Object getAttribute(String name); public java.util.Enumeration getAttributeNames( ); public String getCharacterEncoding( ); public int getContentLength( ); public String getContentType( ); public ServletInputStream getInputStream( ) throws java.io.IOException; public java.util.Locale getLocale( ); public java.util.Enumeration getLocales( ); public String getParameter(String name); public java.util.Enumeration getParameterNames( ); public String[] getParameterValues( ); public String getProtocol( ); public java.io.BufferedReader getReader( ) throws java.io.IOException; public String getRemoteAddr( ); public String getRemoteHost( ); public RequestDispatcher getRequestDispatcher(String path); public String getScheme( ); public String getServerName( ); public int ...Read now
Unlock full access