public static interface HttpParser.RequestHandler<T> extends HttpParser.HttpHandler<T>
Modifier and Type | Method and Description |
---|---|
boolean |
parsedHostHeader(String host,
int port)
This is the method called by the parser after it has parsed the host header (and checked it's format).
|
boolean |
startRequest(HttpMethod method,
String methodString,
ByteBuffer uri,
HttpVersion version)
This is the method called by parser when the HTTP request line is parsed
|
badMessage, content, earlyEOF, getHeaderCacheSize, headerComplete, messageComplete, parsedHeader
boolean startRequest(HttpMethod method, String methodString, ByteBuffer uri, HttpVersion version)
method
- The method as enum if of a known typemethodString
- The method as a stringuri
- 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
- boolean parsedHostHeader(String host, int port)
HttpParser.HttpHandler.parsedHeader(HttpField)
methods and before
HttpHandler#headerComplete();Copyright © 1995-2015 Webtide. All Rights Reserved.