HttpParser.HttpHandler
public static interface HttpParser.RequestHandler extends HttpParser.HttpHandler
Modifier and Type | Method | Description |
---|---|---|
boolean |
startRequest(java.lang.String method,
java.lang.String uri,
HttpVersion version) |
This is the method called by parser when the HTTP request line is parsed
|
badMessage, content, contentComplete, earlyEOF, getHeaderCacheSize, headerComplete, messageComplete, parsedHeader, parsedTrailer
boolean startRequest(java.lang.String method, java.lang.String uri, HttpVersion version)
method
- The methoduri
- The raw bytes of the URI. These are copied into a ByteBuffer that will not be changed until this parser is reset and reused.version
- the http version in useCopyright © 1995–2018 Webtide. All rights reserved.