|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectseda.sandStorm.lib.http.httpPacketReader
This is a package-internal class which reads HTTP request packets. An instance of this class is fed ATcpInPackets (via the parsePacket method). When a complete packet has been read, an httpRequest is pushed to the corresponding SinkIF. This is the bulk of the HTTP protocol implementation.
Field Summary |
Fields inherited from interface seda.sandStorm.lib.http.httpConst |
CRLF, DEFAULT_HTTP_PORT, HTTP_VERSION, WRITE_CLOG_THRESHOLD |
Constructor Summary | |
(package private) |
httpPacketReader(httpConnection conn,
SinkIF compQ)
Create an httpPacketReader with the given httpConnection and completion queue. |
Method Summary | |
(package private) boolean |
parsePacket(ATcpInPacket pkt)
Parse the given packet; returns true if a complete HTTP request has been received and parsed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
httpPacketReader(httpConnection conn, SinkIF compQ)
Method Detail |
boolean parsePacket(ATcpInPacket pkt) throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |