io.netty.channel.ChannelHandlerAdapter.class Maven / Gradle / Ivy
???? 2 v &io/netty/channel/ChannelHandlerAdapter java/lang/Object io/netty/channel/ChannelHandler ChannelHandlerAdapter.java (io/netty/channel/ChannelHandler$Sharable Sharable added Z ()V
this (Lio/netty/channel/ChannelHandlerAdapter; ensureNotSharable
isSharable ()Z
java/lang/IllegalStateException java/lang/StringBuilder
ChannelHandler append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
! getClass ()Ljava/lang/Class; # $
% java/lang/Class ' getName ()Ljava/lang/String; ) *
( + is not allowed to be shared - toString / *
0 (Ljava/lang/String;)V
2
3 -io/netty/util/internal/InternalThreadLocalMap 5 get 1()Lio/netty/util/internal/InternalThreadLocalMap; 7 8
6 9 handlerSharableCache ()Ljava/util/Map; ; <
6 =
java/util/Map ? &(Ljava/lang/Object;)Ljava/lang/Object; 7 A @ B java/lang/Boolean D isAnnotationPresent (Ljava/lang/Class;)Z F G
( H valueOf (Z)Ljava/lang/Boolean; J K
E L put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; N O @ P booleanValue R
E S clazz Ljava/lang/Class<*>; Ljava/lang/Class; cache 8Ljava/util/Map;Ljava/lang/Boolean;>; Ljava/util/Map; sharable Ljava/lang/Boolean; handlerAdded +(Lio/netty/channel/ChannelHandlerContext;)V java/lang/Exception _ ctx (Lio/netty/channel/ChannelHandlerContext; handlerRemoved exceptionCaught @(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)V &io/netty/channel/ChannelHandlerContext f fireExceptionCaught ?(Ljava/lang/Throwable;)Lio/netty/channel/ChannelHandlerContext; h i g j cause Ljava/lang/Throwable; Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable
Exceptions
SourceFile InnerClasses!
n / *? ? o p n i .*? ? )? Y? Y? ? "*? &? ,? ".? "? 1? 4?? o . p # $ - &