public static interface HttpParser.HttpHandler<T>
Modifier and Type | Method and Description |
---|---|
void |
badMessage(int status,
String reason)
Called to signal that a bad HTTP message has been received.
|
boolean |
content(T item) |
void |
earlyEOF()
Called to signal that an EOF was received unexpectedly
during the parsing of a HTTP message
|
int |
getHeaderCacheSize() |
boolean |
headerComplete() |
boolean |
messageComplete() |
boolean |
parsedHeader(HttpField field)
This is the method called by parser when a HTTP Header name and value is found
|
boolean content(T item)
boolean headerComplete()
boolean messageComplete()
boolean parsedHeader(HttpField field)
field
- The field parsedvoid earlyEOF()
void badMessage(int status, String reason)
status
- The bad status to sendreason
- The textual reason for badnessint getHeaderCacheSize()
Copyright © 1995-2015 Webtide. All Rights Reserved.