Class w3c.jigsaw.http.HTTPParser
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.http.HTTPParser

java.lang.Object
   |
   +----w3c.mime.MIMEParser
           |
           +----w3c.jigsaw.http.HTTPParser

public class HTTPParser
extends MIMEParser

Constructor Index

 o HTTPParser(Client)

Method Index

 o getRequest()

The getRequest() activate the parsing of the client's input stream.

 o parseRequestLine(Hashtable)
 o parseWWord()

Constructors

 o HTTPParser
  public HTTPParser(Client client)

Methods

 o parseWWord
  protected String parseWWord() throws MIMEParserException, IOException
 o parseRequestLine
  protected boolean parseRequestLine(Hashtable into) throws MIMEParserException, IOException
 o getRequest
  public Request getRequest() throws HTTPParserException

The getRequest() activate the parsing of the client's input stream. Before calling this method, the content of the request (if any) should have been read.

After getRequest returns, the client's input stream is set before the first character of the content part of the request, which is the first character of the next request if content-length is 0.


All Packages  Class Hierarchy  This Package  Previous  Next  Index