class org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB extends org.eclipse.jetty.server.HttpOutput$NestedChannelWriteCB
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB
super_class: org.eclipse.jetty.server.HttpOutput$NestedChannelWriteCB
{
private final java.nio.channels.ReadableByteChannel _in;
descriptor: Ljava/nio/channels/ReadableByteChannel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.ByteBuffer _buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean _eof;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean _closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
final org.eclipse.jetty.server.HttpOutput this$0;
descriptor: Lorg/eclipse/jetty/server/HttpOutput;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.eclipse.jetty.server.HttpOutput, java.nio.channels.ReadableByteChannel, org.eclipse.jetty.util.Callback);
descriptor: (Lorg/eclipse/jetty/server/HttpOutput;Ljava/nio/channels/ReadableByteChannel;Lorg/eclipse/jetty/util/Callback;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB.this$0:Lorg/eclipse/jetty/server/HttpOutput;
1: aload 0
aload 1
aload 3
iconst_1
invokespecial org.eclipse.jetty.server.HttpOutput$NestedChannelWriteCB.<init>:(Lorg/eclipse/jetty/server/HttpOutput;Lorg/eclipse/jetty/util/Callback;Z)V
2: aload 0
aload 2
putfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._in:Ljava/nio/channels/ReadableByteChannel;
3: aload 0
aload 1
getfield org.eclipse.jetty.server.HttpOutput._channel:Lorg/eclipse/jetty/server/HttpChannel;
invokevirtual org.eclipse.jetty.server.HttpChannel.getByteBufferPool:()Lorg/eclipse/jetty/io/ByteBufferPool;
aload 1
invokevirtual org.eclipse.jetty.server.HttpOutput.getBufferSize:()I
aload 1
getfield org.eclipse.jetty.server.HttpOutput._channel:Lorg/eclipse/jetty/server/HttpChannel;
invokevirtual org.eclipse.jetty.server.HttpChannel.isUseOutputDirectByteBuffers:()Z
invokeinterface org.eclipse.jetty.io.ByteBufferPool.acquire:(IZ)Ljava/nio/ByteBuffer;
putfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._buffer:Ljava/nio/ByteBuffer;
4: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/server/HttpOutput$ReadableByteChannelWritingCB;
0 5 2 in Ljava/nio/channels/ReadableByteChannel;
0 5 3 callback Lorg/eclipse/jetty/util/Callback;
MethodParameters:
Name Flags
this$0 final
in
callback
protected org.eclipse.jetty.util.IteratingCallback$Action process();
descriptor: ()Lorg/eclipse/jetty/util/IteratingCallback$Action;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._eof:Z
ifeq 8
1: getstatic org.eclipse.jetty.server.HttpOutput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 3
2: getstatic org.eclipse.jetty.server.HttpOutput.LOG:Lorg/slf4j/Logger;
ldc "EOF of {}"
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._closed:Z
ifne 7
4: aload 0
iconst_1
putfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._closed:Z
5: aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB.this$0:Lorg/eclipse/jetty/server/HttpOutput;
getfield org.eclipse.jetty.server.HttpOutput._channel:Lorg/eclipse/jetty/server/HttpChannel;
invokevirtual org.eclipse.jetty.server.HttpChannel.getByteBufferPool:()Lorg/eclipse/jetty/io/ByteBufferPool;
aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._buffer:Ljava/nio/ByteBuffer;
invokeinterface org.eclipse.jetty.io.ByteBufferPool.release:(Ljava/nio/ByteBuffer;)V
6: aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._in:Ljava/nio/channels/ReadableByteChannel;
invokestatic org.eclipse.jetty.util.IO.close:(Ljava/io/Closeable;)V
7: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.IteratingCallback$Action.SUCCEEDED:Lorg/eclipse/jetty/util/IteratingCallback$Action;
areturn
8: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._buffer:Ljava/nio/ByteBuffer;
invokestatic org.eclipse.jetty.util.BufferUtil.clearToFill:(Ljava/nio/ByteBuffer;)V
9: goto 13
10: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._in:Ljava/nio/channels/ReadableByteChannel;
aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._buffer:Ljava/nio/ByteBuffer;
invokeinterface java.nio.channels.ReadableByteChannel.read:(Ljava/nio/ByteBuffer;)I
ifge 11
iconst_1
goto 12
StackMap locals:
StackMap stack: org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB
11: iconst_0
StackMap locals: org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB
StackMap stack: org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB int
12: putfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._eof:Z
13: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 14
aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._eof:Z
ifeq 10
14: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._buffer:Ljava/nio/ByteBuffer;
iconst_0
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFlush:(Ljava/nio/ByteBuffer;I)V
15: aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB.this$0:Lorg/eclipse/jetty/server/HttpOutput;
dup
getfield org.eclipse.jetty.server.HttpOutput._written:J
aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
ladd
putfield org.eclipse.jetty.server.HttpOutput._written:J
16: aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB.this$0:Lorg/eclipse/jetty/server/HttpOutput;
aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._buffer:Ljava/nio/ByteBuffer;
aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._eof:Z
aload 0
invokevirtual org.eclipse.jetty.server.HttpOutput.channelWrite:(Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)V
17: getstatic org.eclipse.jetty.util.IteratingCallback$Action.SCHEDULED:Lorg/eclipse/jetty/util/IteratingCallback$Action;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/eclipse/jetty/server/HttpOutput$ReadableByteChannelWritingCB;
Exceptions:
throws java.lang.Exception
public void onCompleteFailure(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB.this$0:Lorg/eclipse/jetty/server/HttpOutput;
getfield org.eclipse.jetty.server.HttpOutput._channel:Lorg/eclipse/jetty/server/HttpChannel;
invokevirtual org.eclipse.jetty.server.HttpChannel.getByteBufferPool:()Lorg/eclipse/jetty/io/ByteBufferPool;
aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._buffer:Ljava/nio/ByteBuffer;
invokeinterface org.eclipse.jetty.io.ByteBufferPool.release:(Ljava/nio/ByteBuffer;)V
1: aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._in:Ljava/nio/channels/ReadableByteChannel;
invokestatic org.eclipse.jetty.util.IO.close:(Ljava/io/Closeable;)V
2: aload 0
aload 1
invokespecial org.eclipse.jetty.server.HttpOutput$NestedChannelWriteCB.onCompleteFailure:(Ljava/lang/Throwable;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/HttpOutput$ReadableByteChannelWritingCB;
0 4 1 x Ljava/lang/Throwable;
MethodParameters:
Name Flags
x
}
SourceFile: "HttpOutput.java"
NestHost: org.eclipse.jetty.server.HttpOutput
InnerClasses:
private abstract NestedChannelWriteCB = org.eclipse.jetty.server.HttpOutput$NestedChannelWriteCB of org.eclipse.jetty.server.HttpOutput
private ReadableByteChannelWritingCB = org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB of org.eclipse.jetty.server.HttpOutput
protected final Action = org.eclipse.jetty.util.IteratingCallback$Action of org.eclipse.jetty.util.IteratingCallback