public abstract class AbstractHTTP1Connection extends AbstractHTTPConnection
| 限定符和类型 | 字段和说明 |
|---|---|
protected HTTP2Configuration |
config |
protected HttpGenerator |
generator |
protected Generator |
http2Generator |
protected HttpParser |
parser |
attachment, httpVersion, sslSession, tcpSession| 构造器和说明 |
|---|
AbstractHTTP1Connection(HTTP2Configuration config,
SSLSession sslSession,
Session tcpSession,
HttpParser.RequestHandler requestHandler,
HttpParser.ResponseHandler responseHandler) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract HttpGenerator |
initHttpGenerator() |
protected abstract HttpParser |
initHttpParser(HTTP2Configuration config,
HttpParser.RequestHandler requestHandler,
HttpParser.ResponseHandler responseHandler) |
close, getAttachment, getHttpVersion, getLocalAddress, getReadBytes, getRemoteAddress, getSessionId, getWrittenBytes, isEncrypted, isOpen, setAttachmentprotected final HttpParser parser
protected final HttpGenerator generator
protected final Generator http2Generator
protected final HTTP2Configuration config
public AbstractHTTP1Connection(HTTP2Configuration config, SSLSession sslSession, Session tcpSession, HttpParser.RequestHandler requestHandler, HttpParser.ResponseHandler responseHandler)
protected abstract HttpParser initHttpParser(HTTP2Configuration config, HttpParser.RequestHandler requestHandler, HttpParser.ResponseHandler responseHandler)
protected abstract HttpGenerator initHttpGenerator()
Copyright © 2016. All rights reserved.