HttpResponseParsingHandler

Undocumented in source.

Members

Functions

startResponse
bool startResponse(HttpVersion ver, int status, string reason)

This is the method called by parser when the HTTP request line is parsed

Inherited Members

From HttpParsingHandler

content
bool content(ByteBuffer item)
Undocumented in source.
headerComplete
bool headerComplete()
Undocumented in source.
contentComplete
bool contentComplete()
Undocumented in source.
messageComplete
bool messageComplete()
Undocumented in source.
parsedHeader
void parsedHeader(HttpField field)

This is the method called by parser when a HTTP Header name and value is found

parsedTrailer
void parsedTrailer(HttpField field)

This is the method called by parser when a HTTP Trailer name and value is found

earlyEOF
void earlyEOF()

Called to signal that an EOF was received unexpectedly during the parsing of a HTTP message

badMessage
void badMessage(BadMessageException failure)

Called to signal that a bad HTTP message has been received.

badMessage
void badMessage(int status, string reason)

@deprecated use {@link #badMessage(BadMessageException)} instead

getHeaderCacheSize
int getHeaderCacheSize()

@return the size in bytes of the per parser header cache

toString
string toString()
Undocumented in source.

Meta