public static interface HttpParser.ResponseHandler extends HttpParser.HttpHandler
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
startResponse(HttpVersion version,
int status,
String reason)
This is the method called by parser when the HTTP request line is
parsed
|
badMessage, content, earlyEOF, getHeaderCacheSize, headerComplete, messageComplete, parsedHeaderboolean startResponse(HttpVersion version, int status, String reason)
version - the http version in usestatus - the response statusreason - the response reason phraseCopyright © 2016. All rights reserved.