class io.undertow.util.ConnectionUtils$4 implements org.xnio.ChannelListener<org.xnio.conduits.ConduitStreamSourceChannel>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.undertow.util.ConnectionUtils$4
super_class: java.lang.Object
{
private final java.nio.ByteBuffer val$b;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.xnio.StreamConnection val$connection;
descriptor: Lorg/xnio/StreamConnection;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.io.Closeable[] val$additional;
descriptor: [Ljava/io/Closeable;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.xnio.XnioExecutor$Key val$key;
descriptor: Lorg/xnio/XnioExecutor$Key;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.nio.ByteBuffer, org.xnio.StreamConnection, java.io.Closeable[], org.xnio.XnioExecutor$Key);
descriptor: (Ljava/nio/ByteBuffer;Lorg/xnio/StreamConnection;[Ljava/io/Closeable;Lorg/xnio/XnioExecutor$Key;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 0: aload 0
aload 1
putfield io.undertow.util.ConnectionUtils$4.val$b:Ljava/nio/ByteBuffer;
aload 0
aload 2
putfield io.undertow.util.ConnectionUtils$4.val$connection:Lorg/xnio/StreamConnection;
aload 0
aload 3
putfield io.undertow.util.ConnectionUtils$4.val$additional:[Ljava/io/Closeable;
aload 0
aload 4
putfield io.undertow.util.ConnectionUtils$4.val$key:Lorg/xnio/XnioExecutor$Key;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/util/ConnectionUtils$4;
MethodParameters:
Name Flags
val$b final
val$connection final
val$additional final
val$key final
public void handleEvent(org.xnio.conduits.ConduitStreamSourceChannel);
descriptor: (Lorg/xnio/conduits/ConduitStreamSourceChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield io.undertow.util.ConnectionUtils$4.val$b:Ljava/nio/ByteBuffer;
invokevirtual org.xnio.conduits.ConduitStreamSourceChannel.read:(Ljava/nio/ByteBuffer;)I
istore 2
start local 2 1: iload 2
ifeq 14
2: aload 0
getfield io.undertow.util.ConnectionUtils$4.val$connection:Lorg/xnio/StreamConnection;
invokestatic org.xnio.IoUtils.safeClose:(Ljava/io/Closeable;)V
3: aload 0
getfield io.undertow.util.ConnectionUtils$4.val$additional:[Ljava/io/Closeable;
invokestatic org.xnio.IoUtils.safeClose:([Ljava/io/Closeable;)V
4: aload 0
getfield io.undertow.util.ConnectionUtils$4.val$key:Lorg/xnio/XnioExecutor$Key;
invokeinterface org.xnio.XnioExecutor$Key.remove:()Z
pop
end local 2 5: goto 14
StackMap locals:
StackMap stack: java.lang.Exception
6: astore 2
start local 2 7: aload 2
instanceof java.io.IOException
ifeq 10
8: getstatic io.undertow.UndertowLogger.REQUEST_IO_LOGGER:Lio/undertow/UndertowLogger;
aload 2
checkcast java.io.IOException
invokeinterface io.undertow.UndertowLogger.ioException:(Ljava/io/IOException;)V
9: goto 11
10: StackMap locals: java.lang.Exception
StackMap stack:
getstatic io.undertow.UndertowLogger.REQUEST_IO_LOGGER:Lio/undertow/UndertowLogger;
new java.io.IOException
dup
aload 2
invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
invokeinterface io.undertow.UndertowLogger.ioException:(Ljava/io/IOException;)V
11: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.util.ConnectionUtils$4.val$connection:Lorg/xnio/StreamConnection;
invokestatic org.xnio.IoUtils.safeClose:(Ljava/io/Closeable;)V
12: aload 0
getfield io.undertow.util.ConnectionUtils$4.val$additional:[Ljava/io/Closeable;
invokestatic org.xnio.IoUtils.safeClose:([Ljava/io/Closeable;)V
13: aload 0
getfield io.undertow.util.ConnectionUtils$4.val$key:Lorg/xnio/XnioExecutor$Key;
invokeinterface org.xnio.XnioExecutor$Key.remove:()Z
pop
end local 2 14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/undertow/util/ConnectionUtils$4;
0 15 1 channel Lorg/xnio/conduits/ConduitStreamSourceChannel;
1 5 2 res I
7 14 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 5 6 Class java.lang.Exception
MethodParameters:
Name Flags
channel
public void handleEvent(java.nio.channels.Channel);
descriptor: (Ljava/nio/channels/Channel;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.xnio.conduits.ConduitStreamSourceChannel
invokevirtual io.undertow.util.ConnectionUtils$4.handleEvent:(Lorg/xnio/conduits/ConduitStreamSourceChannel;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/xnio/ChannelListener<Lorg/xnio/conduits/ConduitStreamSourceChannel;>;
SourceFile: "ConnectionUtils.java"
EnclosingMethod: io.undertow.util.ConnectionUtils.doDrain:(Lorg/xnio/StreamConnection;[Ljava/io/Closeable;)V
NestHost: io.undertow.util.ConnectionUtils
InnerClasses:
io.undertow.util.ConnectionUtils$4
public abstract Key = org.xnio.XnioExecutor$Key of org.xnio.XnioExecutor