public class ClientToProxyConnectionWithWebSocket extends ClientToProxyConnection
HttpProxyConnection.RequestReadMonitor, HttpProxyConnection.RequestWrittenMonitor, HttpProxyConnection.ResponseReadMonitor, HttpProxyConnection.ResponseWrittenMonitorChannelHandler.Sharablelog, proxyManagerchannel, ctx, lastReadTime, logger, sslEngine| 构造器和说明 |
|---|
ClientToProxyConnectionWithWebSocket(ProxyConfigOptions proxyConfigOptions,
HttpProxyConfigOptions httpProxyConfigOptions,
HttpProxyManager httpProxyManager,
String applicationName,
SslEngineSource sslEngineSource,
ChannelPipeline pipeline,
io.netty.handler.traffic.GlobalTrafficShapingHandler globalTrafficShapingHandler) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
channelRead0(ChannelHandlerContext ctx,
Object msg)
读取服务器发送过来的信息。
|
void |
userEventTriggered(ChannelHandlerContext ctx,
Object evt)
We're looking for
IdleStateEvents to see if we need to disconnect. |
becameSaturated, becameWritable, connected, disconnected, exceptionCaught, getClientAddress, getHttpConfigOptions, getProxyConfigOptions, initChannelPipeline, readHTTPChunk, readHTTPInitial, respond, serverBecameSaturated, serverBecameWriteable, serverConnectionFailed, serverConnectionFlowStarted, serverConnectionSucceeded, serverDisconnected, timedOut, timedOutdisconnect, doWrite, encrypt, encrypt, getHttpFiltersFromProxyServer, getLOG, getSslEngine, isSaturated, readProxyIncoming, resumeReading, stopReading, write, writeHttp, writeRaw, writeToChannel, writeToChannelNoFlushbecome, channelActive, channelInactive, channelRegistered, channelRegistered0, channelWritabilityChanged, exceptionCaught, getApplicationName, getChannel, getCurrentState, is, isConnecting, readIncomingacceptInboundMessage, channelReadchannelReadComplete, channelUnregisteredensureNotSharable, handlerAdded, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlerAdded, handlerRemovedpublic ClientToProxyConnectionWithWebSocket(ProxyConfigOptions proxyConfigOptions, HttpProxyConfigOptions httpProxyConfigOptions, HttpProxyManager httpProxyManager, String applicationName, SslEngineSource sslEngineSource, ChannelPipeline pipeline, io.netty.handler.traffic.GlobalTrafficShapingHandler globalTrafficShapingHandler)
protected void channelRead0(ChannelHandlerContext ctx, Object msg) throws Exception
channelRead0 在类中 ProxyConnection<Object>ctx - handler contextmsg - messageExceptionpublic void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception
ProxyConnection
We're looking for IdleStateEvents to see if we need to disconnect.
Note - we don't care what kind of IdleState we got. Thanks to qbast for pointing this out.
userEventTriggered 在接口中 ChannelInboundHandleruserEventTriggered 在类中 ProxyConnection<Object>ExceptionCopyright © 2021 Zodiac. All rights reserved.