jicarilla-sandbox/platform/components/http/api/src/java/org/jicarilla/http HTTPHandler.java,1.3,1.4 HTTPParser.java,1.3,1.4

Leo Simons <[email protected]>
Newsgroups gmane.comp.java.jicarilla.cvs
Message-ID <[email protected]>
Update of /cvsroot/jicarilla/jicarilla-sandbox/platform/components/http/api/src/java/org/jicarilla/http
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18015/platform/components/http/api/src/java/org/jicarilla/http

Modified Files:
	HTTPHandler.java HTTPParser.java 
Log Message:
Javadocs for the parser, and starting support for chunked transfer coding (currently still disabled and untested though). Boy, is HTTPParserImpl turning big :-D

Index: HTTPHandler.java
===================================================================
RCS file: /cvsroot/jicarilla/jicarilla-sandbox/platform/components/http/api/src/java/org/jicarilla/http/HTTPHandler.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- HTTPHandler.java	11 Jan 2004 12:28:11 -0000	1.3
+++ HTTPHandler.java	31 Mar 2004 19:42:52 -0000	1.4
@@ -134,4 +134,6 @@
      * the current message has ended.
      */
     void endMessage();
+
+    boolean hasTrailers();
 }

Index: HTTPParser.java
===================================================================
RCS file: /cvsroot/jicarilla/jicarilla-sandbox/platform/components/http/api/src/java/org/jicarilla/http/HTTPParser.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- HTTPParser.java	26 Feb 2004 16:51:54 -0000	1.3
+++ HTTPParser.java	31 Mar 2004 19:42:52 -0000	1.4
@@ -83,12 +83,17 @@
      */
     int BODY_TYPE_NORMAL = 3;
 
+    /**
+     * Re-initialize the parser, throwing away all current parser state.
+     */ 
     void reset();
 
     /**
-     * Parse a piece of an HTTP message. Equivalent to calling
+     * <p>Parse a piece of an HTTP message. Equivalent to calling</p>
      *
+     * <pre>
      * parse( source, source.limit() );
+     * </pre>
      *
      * @param source the buffer to read from. Note that you should
      *   never modify this buffer after passing it to the parser!



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.