public class HTTP1ServerConnection extends AbstractHTTP1Connection implements HTTPServerConnection
| 限定符和类型 | 字段和说明 |
|---|---|
protected static org.slf4j.Logger |
log |
config, http2Generator, parserattachment, closedListener, exceptionListener, httpVersion, secureSession, tcpSession| 限定符和类型 | 方法和说明 |
|---|---|
MetaData.Request |
getRequest() |
MetaData.Response |
getResponse() |
protected HttpParser |
initHttpParser(HTTP2Configuration config,
HttpParser.RequestHandler requestHandler,
HttpParser.ResponseHandler responseHandler) |
CompletableFuture<HTTPTunnelConnection> |
upgradeHTTPTunnel() |
void |
upgradeHTTPTunnel(Promise<HTTPTunnelConnection> tunnelConnectionPromise) |
getConnectionTypeclose, close, exception, getAttachment, getCloseTime, getDuration, getHttpVersion, getIdleTimeout, getLastActiveTime, getLastReadTime, getLastWrittenTime, getLocalAddress, getOpenTime, getReadBytes, getRemoteAddress, getSessionId, getWrittenBytes, isEncrypted, isOpen, setAttachment, writeEncryptMessageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, exception, getConnectionType, getHttpVersion, isEncryptedgetAttachment, getCloseTime, getDuration, getIdleTimeout, getLastActiveTime, getLastReadTime, getLastWrittenTime, getLocalAddress, getOpenTime, getReadBytes, getRemoteAddress, getSessionId, getWrittenBytes, isOpen, setAttachmentprotected HttpParser initHttpParser(HTTP2Configuration config, HttpParser.RequestHandler requestHandler, HttpParser.ResponseHandler responseHandler)
initHttpParser 在类中 AbstractHTTP1Connectionpublic MetaData.Request getRequest()
public MetaData.Response getResponse()
public void upgradeHTTPTunnel(Promise<HTTPTunnelConnection> tunnelConnectionPromise)
upgradeHTTPTunnel 在接口中 HTTPServerConnectionpublic CompletableFuture<HTTPTunnelConnection> upgradeHTTPTunnel()
upgradeHTTPTunnel 在接口中 HTTPServerConnectionCopyright © 2017. All rights reserved.