![]() |
![]() Resin reflects the servlet request object directly from the servlet interface, so all the functions listed in the servlet javadoc are available. The only difference in the interface is the
Returns the name of the requested server, i.e. the host portion of the
requesting url.
Returns the port for the requested server.
Returns the client's machine name.
Returns the client's IP address name.
Returns the http method, for example 'GET' or 'POST'.
Returns the url scheme, for example 'http' or 'https'.
Returns the path of the URL preceeding any query string.
Returns the url path referring to the jsp script.
Returns the url's optional path information following the servletPath.
Returns the url's optional path information following the jsp
script name, translated to a real path on the server.
Returns any query string in the url.
Returns the protocol, for example 'HTTP/1.1'.
Returns the value of the named http header as a string.
Returns the value of the named http header as a number.
Returns the value of the named http header interpreted as a date, as a
long.
Returns the authentication type.
Returns the remote user, retrieved from the authentication info.
Returns the array of cookies for the request.
Returns the session id from the request.
Returns true if the server found the session id from a cookie.
Returns true if the server grabbed session id from the url.
Returns true if the session id is valid. If not, then a call to
getSession would return null.
Returns the current session object.
If there is no session object and create is true,
Note: This must be called before writing any output.
Returns server-specific attributes.
Returns the mime-type of any POST data.
Returns the length of any POST data, -1 if there is no data.
Returns the encoding scheme for any POST data.
Returns a java.io.InputStream for reading the POST data.
Returns a java.io.Reader for reading the POST data.
Retrieves data from the query string or the form.
This is a wrapper around the Servlet
getParameterValues call.
|