|
More information: http://www.cs.berkeley.edu/~mdw/proj/seda/ | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mdw.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.
Fields inherited from interface mdw.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 |
|
Constructor Detail |
httpPacketReader(httpConnection conn, SinkIF compQ)
Method Detail |
boolean parsePacket(ATcpInPacket pkt) throws java.io.IOException
|
More information: http://www.cs.berkeley.edu/~mdw/proj/seda/ | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |