io.netty.handler.codec.MessageToByteEncoder.class Maven / Gradle / Ivy
???? 2 ? +io/netty/handler/codec/MessageToByteEncoder FLio/netty/channel/ChannelOutboundHandlerAdapter; .io/netty/channel/ChannelOutboundHandlerAdapter MessageToByteEncoder.java matcher -Lio/netty/util/internal/TypeParameterMatcher; preferDirect Z ()V (Z)V
this 2Lio/netty/handler/codec/MessageToByteEncoder; -Lio/netty/handler/codec/MessageToByteEncoder; (Ljava/lang/Class;)V (Ljava/lang/Class;Z)V
outboundMessageType Ljava/lang/Class<+TI;>; Ljava/lang/Class;
I +io/netty/util/internal/TypeParameterMatcher find d(Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/String;)Lio/netty/util/internal/TypeParameterMatcher; !
" $
& get @(Ljava/lang/Class;)Lio/netty/util/internal/TypeParameterMatcher; ( )
* acceptOutboundMessage (Ljava/lang/Object;)Z java/lang/Exception . match 0 -
1 msg Ljava/lang/Object; write ^(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V 'io/netty/handler/codec/EncoderException 7 java/lang/Throwable 9 , -
; allocateBuffer V(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Z)Lio/netty/buffer/ByteBuf; = >
? encode V(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/buffer/ByteBuf;)V A B
C io/netty/util/ReferenceCountUtil E release G -
F H &io/netty/channel/ChannelHandlerContext J java/lang/Object L io/netty/channel/ChannelPromise N io/netty/buffer/ByteBuf P
isReadable ()Z R S
Q T U(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; 5 V K W G S
Q Y io/netty/buffer/Unpooled [ EMPTY_BUFFER Lio/netty/buffer/ByteBuf; ] ^ \ _ (Ljava/lang/Throwable;)V a
8 b cast TI; e )Lio/netty/handler/codec/EncoderException; Ljava/lang/Throwable; ctx (Lio/netty/channel/ChannelHandlerContext; promise !Lio/netty/channel/ChannelPromise; buf alloc $()Lio/netty/buffer/ByteBufAllocator; n o K p io/netty/buffer/ByteBufAllocator r ioBuffer ()Lio/netty/buffer/ByteBuf; t u s v
heapBuffer x u s y isPreferDirect Code LocalVariableTable LocalVariableTypeTable LineNumberTable Signature (Ljava/lang/Class<+TI;>;)V (Ljava/lang/Class<+TI;>;Z)V
Exceptions
StackMapTable G(Lio/netty/channel/ChannelHandlerContext;TI;Z)Lio/netty/buffer/ByteBuf; G(Lio/netty/channel/ChannelHandlerContext;TI;Lio/netty/buffer/ByteBuf;)V
SourceFile!
| F *? ? } ~
7 8 | [ *+? ? } ~
> ? ? ?
| h *? **? #? %*? '? }
~ H I J K | x *? *+? +? %*? '? }
~ U V W X ? ? , - | O *? %+? 2? } 3 4 ~ _ ? / 5 6 | ? ?:*,?