![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.handler.proxy.ProxyHandler.class Maven / Gradle / Ivy
The newest version!
???? 2? ? ?
?
h ? ? ' ? ?
? ?
? ? ? s
? ? ?
?
? ? ? ? ?
? ?
? ? ? ? ? ? ? ?
?
?
?
* ? ? ?
8 ?!
"
# $ ?%
&'
(
)* +,-.
/0
41
*2
3
4 ?56789
:;
R<
R=>
R?@
:A
R1 ?B ?C
D ?EFG ?H I
dJ
dKL
dM
dN
OPQ LazyChannelPromise InnerClasses logger /Lio/netty/util/internal/logging/InternalLogger; DEFAULT_CONNECT_TIMEOUT_MILLIS J
ConstantValue AUTH_NONE Ljava/lang/String;R proxyAddress Ljava/net/SocketAddress; destinationAddress connectTimeoutMillis ctx (Lio/netty/channel/ChannelHandlerContext;
pendingWrites $Lio/netty/channel/PendingWriteQueue; finished Z suppressChannelReadComplete flushedPrematurely connectPromise 8Lio/netty/handler/proxy/ProxyHandler$LazyChannelPromise; connectTimeoutFuture *Lio/netty/util/concurrent/ScheduledFuture; Signature -Lio/netty/util/concurrent/ScheduledFuture<*>;
writeListener (Lio/netty/channel/ChannelFutureListener; (Ljava/net/SocketAddress;)V Code LineNumberTable LocalVariableTable this %Lio/netty/handler/proxy/ProxyHandler;
StackMapTable ?S protocol ()Ljava/lang/String;
authScheme ()Ljava/net/SocketAddress; !()TT; isConnected ()Z
connectFuture #()Lio/netty/util/concurrent/Future; ?()Lio/netty/util/concurrent/Future; ()J setConnectTimeoutMillis (J)V handlerAdded +(Lio/netty/channel/ChannelHandlerContext;)V
Exceptions addCodec
removeEncoder
removeDecoder connect |(Lio/netty/channel/ChannelHandlerContext;Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V
remoteAddress localAddress promise !Lio/netty/channel/ChannelPromise;
channelActive sendInitialMessage initialMessage Ljava/lang/Object;T newInitialMessage <(Lio/netty/channel/ChannelHandlerContext;)Ljava/lang/Object; sendToProxyServer (Ljava/lang/Object;)V msg channelInactive exceptionCaught @(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)V cause Ljava/lang/Throwable; channelRead =(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V done t handleResponse =(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)Z setConnectSuccess ()V Ljava/lang/Exception; removedCodec safeRemoveDecoder e* safeRemoveEncoder setConnectFailure (Ljava/lang/Throwable;)V failPendingWritesAndClose cancelConnectTimeoutFuture exceptionMessage &(Ljava/lang/String;)Ljava/lang/String; buf Ljava/lang/StringBuilder;9 channelReadComplete write ^(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V flush readIfNeeded writePendingWrites failPendingWrites addPendingWriteL
access$100 =(Lio/netty/handler/proxy/ProxyHandler;Ljava/lang/Throwable;)V x0 x1
access$200 _(Lio/netty/handler/proxy/ProxyHandler;)Lio/netty/handler/proxy/ProxyHandler$LazyChannelPromise;
access$300 O(Lio/netty/handler/proxy/ProxyHandler;)Lio/netty/channel/ChannelHandlerContext;
SourceFile ProxyHandler.java w x ? ? ? ? ? #io/netty/handler/proxy/ProxyHandler v n 6io/netty/handler/proxy/ProxyHandler$LazyChannelPromise ?U %io/netty/handler/proxy/ProxyHandler$1 ?V ? ? java/lang/NullPointerException ?W s t u tX ? ? ?YZ[\] ? ? ? ,java/nio/channels/ConnectionPendingException^_` ?abcde %io/netty/handler/proxy/ProxyHandler$2fghijk ? ? ? ? ? ? ? ?lmnop { |qc ,io/netty/handler/proxy/ProxyConnectException disconnected ? ?rs } |tu ? ? ? ?vwx java/lang/Throwable ? ?y ? ? ? +io/netty/handler/proxy/ProxyConnectionEvent ? ? ? ? ?z{u ? ? ? ? ~ | ?c|x Dfailed to remove all codec handlers added by the proxy handler; bug? ? ? ? ? java/lang/Exception k l Failed to remove proxy decoders:}~ ? ? Failed to remove proxy encoders:? ? ? ? ???????? java/lang/StringBuilder??? ???? , ?? => ? ??c ?? ? ????? ??c y z??? ? "io/netty/channel/PendingWriteQueue ? ?????? %io/netty/channel/ChannelDuplexHandler none java/net/SocketAddress java/lang/Object O(Lio/netty/handler/proxy/ProxyHandler;Lio/netty/handler/proxy/ProxyHandler$1;)V ((Lio/netty/handler/proxy/ProxyHandler;)V (Ljava/lang/String;)V isSuccess &io/netty/channel/ChannelHandlerContext channel ()Lio/netty/channel/Channel; io/netty/channel/Channel isActive io/netty/channel/ChannelPromise
setFailure 8(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise; s(Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; fireChannelActive *()Lio/netty/channel/ChannelHandlerContext; executor *()Lio/netty/util/concurrent/EventExecutor; java/util/concurrent/TimeUnit MILLISECONDS Ljava/util/concurrent/TimeUnit; &io/netty/util/concurrent/EventExecutor schedule `(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Lio/netty/util/concurrent/ScheduledFuture;
writeAndFlush 4(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture; io/netty/channel/ChannelFuture addListener R(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture; fireChannelInactive fireExceptionCaught ?(Ljava/lang/Throwable;)Lio/netty/channel/ChannelHandlerContext; fireChannelRead <(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext; io/netty/util/ReferenceCountUtil release (Ljava/lang/Object;)Z isDone W(Ljava/lang/String;Ljava/lang/String;Ljava/net/SocketAddress;Ljava/net/SocketAddress;)V fireUserEventTriggered
trySuccess -io/netty/util/internal/logging/InternalLogger warn *(Ljava/lang/String;Ljava/lang/Throwable;)V toString
tryFailure (Ljava/lang/Throwable;)Z close "()Lio/netty/channel/ChannelFuture; (io/netty/util/concurrent/ScheduledFuture cancel (Z)Z java/lang/String length ()I (I)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; isEmpty fireChannelReadComplete U(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; config "()Lio/netty/channel/ChannelConfig; io/netty/channel/ChannelConfig
isAutoRead read removeAndWriteAll removeAndFailAll add 6(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V 4io/netty/util/internal/logging/InternalLoggerFactory getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;! h k l m n o p q o r s t B u t B v n B w x y z { | } | ~ | ? ? ? ? ? ? ? ( ? ? ? ? 8*? * ? *? Y*?
? *? Y*? ?
+?
? Y? ?*+? ? ? " H 6 = ? $ I ( J 2 L 7 M ? 8 ? ? 8 s t ? ? 2 ? ? ? ? ? ? s ? ? / *? ? ? ^ ? ? ? ? ? u ? ? / *? ? ? f ? ? ? ? ? ? ? ? 2 *? ? ? ? m ? ? ? ? ? ? / *? ? ? u ? ? ? ? ? v ? ? / *? ? ? } ? ? ? ? ? ? W ?? @*? ? ? ? ? ?
? ? ? ? v n ? ? ? ? k *+? *+? +? ? ? *+? ? ? ? ?
? ? ? ? ? ? w x ? ? E ? ? ? E ? ? ? E ? ? ? E ? ? ? ? +*? ? ? Y? ? W?*,? +*? -? W? ? ? ? ? ? ? * ? ? 4 + ? ? + w x + ? t + ? t + ? ? ? ? E ? ? ? I
*+? +? W? ? ? ? ? ?
? ?
w x ? E ? ? ? ? =*? A ?? *+? ? Y*? ? ? ! ? "*+? #:? *? $+? %? ? " ? ? ? &