    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.jigsaw.servlet.JigsawHttpServletRequest

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

public class JigsawHttpServletRequest
extends Object
implements HttpServletRequest

##

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

##

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

##

STATE_PARAMETERS

     public static final String STATE_PARAMETERS

is

     protected ServletInputStream is

  ServletRequest interface - Get the input stream to read data.

reader

     protected BufferedReader reader

##

getContentLength

     public int getContentLength()

  ServletRequest implementation - Get the length of request data.

  Returns:
    An int, or -1.

getContentType

     public String getContentType()

  ServletRequest implementation - Get the type of the request's body.

  Returns:
    A String encoded mime type, or null.

getProtocol

     public String getProtocol()

  ServletRequest implementation - Get the protocol of that request.

  Returns:
    A String encoded version of the protocol.

getServerName

     public String getServerName()

  ServletRequest implementation - Get the name of queried server.

  Returns:
    Name of server, as a String.

getServerPort

     public int getServerPort()

  ServletRequest implementation - Get the port of queried server.

  Returns:
    A port number (int).

getRemoteAddr

     public String getRemoteAddr()

  ServletRequest implementation - Get the IP address of requests's sender.

  Returns:
    Numeric IP address, as a String.

getRemoteHost

     public String getRemoteHost()

  ServletRequest implementation - FQDN of request's sender.

  Returns:
    Name of client's machine (FQDN).

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.

getInputStream

     public ServletInputStream getInputStream() throws IOException

getJigsawInputStream

     protected ServletInputStream getJigsawInputStream() throws IOException

getParameter

     public String getParameter(String name)

  ServletRequest implementation - Get a parameter value.

  Returns:
    The String encoded value for the parameter.

getParameterValues

     public String[] getParameterValues(String parameter)

  ServletRequest implementation - Get the parameters value.

  Returns:
    The String array encoded value for the parameter.

getParameterNames

     public Enumeration getParameterNames()

  ServletRequest implementation - List available parameters.

  Returns:
    An enumeration of parameter names.

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.

getMethod

     public String getMethod()

  HttpServletRequest implementation - Get the request's method.

  Returns:
    A String instance.

getPathInfo

     public String getPathInfo()

  HttpServletRequest implementation - Get the request's path info.

  Returns:
    A String instance or null.

getPathTranslated

     public String getPathTranslated()

  HttpServletRequest implementation - Get the request's path translated.

  Returns:
    A String instance or null.

getQueryString

     public String getQueryString()

  HttpServletRequest implementation - Get the request's query string.

  Returns:
    A String instance or null.

getRemoteUser

     public String getRemoteUser()

  HttpServletRequest implementation - Get the request's user (if any).

  Returns:
    A String instance or null.

getAuthType

     public String getAuthType()

  HttpServletRequest implementation - Get the request's auth method.

  Returns:
    A String instance or null.

getHeader

     public String getHeader(String name)

  HttpServletRequest implementation - Get a request header as a String.

  Returns:
    A String instance or null.

getIntHeader

     public int getIntHeader(String name)

  HttpServletRequest implementation - Get a request header as an int.

  Returns:
    An int, or -1.

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.

getHeaderNames

     public Enumeration getHeaderNames()

  HttpServletRequest implementation - Get a all header names.

  Returns:
    An enumeration.

getRequestURI

     public String getRequestURI()

getRequestPath

     public String getRequestPath()

getServletPath

     public String getServletPath()

getScheme

     public String getScheme()

getCookies

     public Cookie[] getCookies()

getRequestedSessionId

     public String getRequestedSessionId()

getSession

     public HttpSession getSession(boolean create)

isRequestedSessionIdValid

     public boolean isRequestedSessionIdValid()

isRequestedSessionIdFromCookie

     public boolean isRequestedSessionIdFromCookie()

isRequestedSessionIdFromUrl

     public boolean isRequestedSessionIdFromUrl()

getReader

     public BufferedReader getReader() throws IOException

    All Packages  Class Hierarchy  This Package  Previous  Next  Index