All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.servlet.JigsawHttpServletRequest

java.lang.Object
   |
   +----w3c.jigsaw.servlet.JigsawHttpServletRequest

public class JigsawHttpServletRequest
extends Object

Variable Index

 o is
ServletRequest interface - Get the input stream to read data.
 o STATE_PARAMETERS

Method Index

 o getAttribute(String)
ServletRequest implementation - Get an attribute of the request.
 o getAuthType()
HttpServletRequest implementation - Get the request's auth method.
 o getContentLength()
ServletRequest implementation - Get the length of request data.
 o getContentType()
ServletRequest implementation - Get the type of the request's body.
 o getDateHeader(String)
HttpServletRequest implementation - Get a request header as an date.
 o getHeader(String)
HttpServletRequest implementation - Get a request header as a String.
 o getHeaderNames()
HttpServletRequest implementation - Get a all header names.
 o getInputStream()
 o getIntHeader(String)
HttpServletRequest implementation - Get a request header as an int.
 o getMethod()
HttpServletRequest implementation - Get the request's method.
 o getParameter(String)
ServletRequest implementation - Get a parameter value.
 o getParameterNames()
ServletRequest implementation - List available parameters.
 o getParameterValues(String)
ServletRequest implementation - Get the parameters value.
 o getPathInfo()
HttpServletRequest implementation - Get the request's path info.
 o getPathTranslated()
HttpServletRequest implementation - Get the request's path translated.
 o getProtocol()
ServletRequest implementation - Get the protocol of that request.
 o getQueryString()
HttpServletRequest implementation - Get the request's query string.
 o getRealPath(String)
ServletRequest implementation - Get real path.
 o getRemoteAddr()
ServletRequest implementation - Get the IP address of requests's sender.
 o getRemoteHost()
ServletRequest implementation - FQDN of request's sender.
 o getRemoteUser()
HttpServletRequest implementation - Get the request's user (if any).
 o getRequestPath()
 o getRequestURI()
 o getScheme()
 o getServerName()
ServletRequest implementation - Get the name of queried server.
 o getServerPort()
ServletRequest implementation - Get the port of queried server.
 o getServletPath()

Variables

 o STATE_PARAMETERS
 public static final String STATE_PARAMETERS
 o is
 protected ServletInputStream is
ServletRequest interface - Get the input stream to read data.

Methods

 o getContentLength
 public int getContentLength()
ServletRequest implementation - Get the length of request data.

Returns:
An int, or -1.
 o getContentType
 public String getContentType()
ServletRequest implementation - Get the type of the request's body.

Returns:
A String encoded mime type, or null.
 o getProtocol
 public String getProtocol()
ServletRequest implementation - Get the protocol of that request.

Returns:
A String encoded version of the protocol.
 o getServerName
 public String getServerName()
ServletRequest implementation - Get the name of queried server.

Returns:
Name of server, as a String.
 o getServerPort
 public int getServerPort()
ServletRequest implementation - Get the port of queried server.

Returns:
A port number (int).
 o getRemoteAddr
 public String getRemoteAddr()
ServletRequest implementation - Get the IP address of requests's sender.

Returns:
Numeric IP address, as a String.
 o getRemoteHost
 public String getRemoteHost()
ServletRequest implementation - FQDN of request's sender.

Returns:
Name of client's machine (FQDN).
 o getRealPath
 public String getRealPath(String name)
ServletRequest implementation - Get real path. Jigsaw realy has no notion of translation stricto sensu (it has much better in fact ;-). This is a pain here.

Returns:
Always null.
 o getInputStream
 public ServletInputStream getInputStream() throws IOException
 o getParameter
 public String getParameter(String name)
ServletRequest implementation - Get a parameter value.

Returns:
The String encoded value for the parameter.
 o getParameterValues
 public String[] getParameterValues(String parameter)
ServletRequest implementation - Get the parameters value.

Returns:
The String array encoded value for the parameter.
 o getParameterNames
 public Enumeration getParameterNames()
ServletRequest implementation - List available parameters.

Returns:
An enumeration of parameter names.
 o getAttribute
 public Object getAttribute(String name)
ServletRequest implementation - Get an attribute of the request. This closely match Jigsaw's notion of request state.

Parameters:
name - The name of the attribute.
Returns:
An object that gives the value of the attribute.
 o getMethod
 public String getMethod()
HttpServletRequest implementation - Get the request's method.

Returns:
A String instance.
 o getPathInfo
 public String getPathInfo()
HttpServletRequest implementation - Get the request's path info.

Returns:
A String instance or null.
 o getPathTranslated
 public String getPathTranslated()
HttpServletRequest implementation - Get the request's path translated.

Returns:
A String instance or null.
 o getQueryString
 public String getQueryString()
HttpServletRequest implementation - Get the request's query string.

Returns:
A String instance or null.
 o getRemoteUser
 public String getRemoteUser()
HttpServletRequest implementation - Get the request's user (if any).

Returns:
A String instance or null.
 o getAuthType
 public String getAuthType()
HttpServletRequest implementation - Get the request's auth method.

Returns:
A String instance or null.
 o getHeader
 public String getHeader(String name)
HttpServletRequest implementation - Get a request header as a String.

Returns:
A String instance or null.
 o getIntHeader
 public int getIntHeader(String name)
HttpServletRequest implementation - Get a request header as an int.

Returns:
An int, or -1.
 o getDateHeader
 public long getDateHeader(String name)
HttpServletRequest implementation - Get a request header as an date.

Returns:
An long (as a number of milliseconds), or -1.
 o getHeaderNames
 public Enumeration getHeaderNames()
HttpServletRequest implementation - Get a all header names.

Returns:
An enumeration.
 o getRequestURI
 public String getRequestURI()
 o getRequestPath
 public String getRequestPath()
 o getServletPath
 public String getServletPath()
 o getScheme
 public String getScheme()

All Packages  Class Hierarchy  This Package  Previous  Next  Index