HttpServletRequest (Class)
Represents the query of a client forwarded to a servlet.
There is only one instance of this address accessible via
the request. variable.
Methods
| Returns an attribute defined in the query header. | |
| Returns the value of a query parameter. | |
| Returns the IP address of the client or the last proxy to have sent a request. | |
| Returns the value (coded in UTF-8) of a parameter of the query. | |
| Returns the body of the query in the form of a string of characters using query coding. | |
| Redirects the query towards another page without going via the client. |
Properties
| Returns the query parameters. | |
| Returns the cookies of the query. | |
| Returns the URL of the query. | |
| Returns the part of the query's URL which matches the parameters. | |
| Returns the name of the protocol used (HTTP, HTTPS, etc.) to access this page. | |
| Returns the name of the query server. | |
| Returns the port number used to contact the server. | |
| Returns the URL for accessing the server. | |
| Returns the section of the query's URL which matches the servlet. | |
| Returns the section of the query's URL which matches the context. | |
| Returns the additional information of the query's URL. | |
| Returns a string of characters containing the HTTP method used to call up this query (GET, HEAD, POST, etc.). |
Features
Available in:
- JSSP
- WebApp
