public abstract class AbstractHTTP2Connection extends AbstractHTTPConnection
| 限定符和类型 | 字段和说明 |
|---|---|
protected Generator |
generator |
protected HTTP2Session |
http2Session |
protected Parser |
parser |
static Scheduler |
scheduler |
attachment, closedListener, exceptionListener, httpVersion, secureSession, tcpSession| 构造器和说明 |
|---|
AbstractHTTP2Connection(HTTP2Configuration config,
Session tcpSession,
SecureSession secureSession,
Session.Listener listener) |
| 限定符和类型 | 方法和说明 |
|---|---|
ConnectionType |
getConnectionType() |
Session |
getHttp2Session() |
protected abstract HTTP2Session |
initHTTP2Session(HTTP2Configuration config,
FlowControlStrategy flowControl,
Session.Listener listener) |
protected abstract Parser |
initParser(HTTP2Configuration config) |
close, close, exception, getAttachment, getCloseTime, getDuration, getHttpVersion, getIdleTimeout, getLastActiveTime, getLastReadTime, getLastWrittenTime, getLocalAddress, getOpenTime, getReadBytes, getRemoteAddress, getSessionId, getWrittenBytes, isEncrypted, isOpen, setAttachment, writeEncryptMessagepublic static final Scheduler scheduler
protected final HTTP2Session http2Session
protected final Parser parser
protected final Generator generator
public AbstractHTTP2Connection(HTTP2Configuration config, Session tcpSession, SecureSession secureSession, Session.Listener listener)
public ConnectionType getConnectionType()
protected abstract HTTP2Session initHTTP2Session(HTTP2Configuration config, FlowControlStrategy flowControl, Session.Listener listener)
protected abstract Parser initParser(HTTP2Configuration config)
public Session getHttp2Session()
Copyright © 2017. All rights reserved.