class org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB extends org.eclipse.jetty.util.IteratingNestedCallback
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB
super_class: org.eclipse.jetty.util.IteratingNestedCallback
{
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
final org.eclipse.jetty.server.HttpOutput this$0;
descriptor: Lorg/eclipse/jetty/server/HttpOutput;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public 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: (0x0001) ACC_PUBLIC
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 3
invokespecial org.eclipse.jetty.util.IteratingNestedCallback.<init>:(Lorg/eclipse/jetty/util/Callback;)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.useDirectBuffers:()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=6, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._eof:Z
ifeq 7
1: getstatic org.eclipse.jetty.server.HttpOutput.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 3
2: getstatic org.eclipse.jetty.server.HttpOutput.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "EOF of {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._in:Ljava/nio/channels/ReadableByteChannel;
invokeinterface java.nio.channels.ReadableByteChannel.close:()V
4: aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB.this$0:Lorg/eclipse/jetty/server/HttpOutput;
invokevirtual org.eclipse.jetty.server.HttpOutput.closed:()V
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: getstatic org.eclipse.jetty.util.IteratingCallback$Action.SUCCEEDED:Lorg/eclipse/jetty/util/IteratingCallback$Action;
areturn
7: 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
8: goto 12
9: 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 10
iconst_1
goto 11
StackMap locals:
StackMap stack: org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB
10: iconst_0
StackMap locals: org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB
StackMap stack: org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB int
11: putfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._eof:Z
12: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 13
aload 0
getfield org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB._eof:Z
ifeq 9
13: 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
14: 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
15: 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.write:(Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)V
16: 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 17 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;
aload 1
invokevirtual org.eclipse.jetty.server.HttpOutput.abort:(Ljava/lang/Throwable;)V
1: 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
2: 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
3: aload 0
aload 1
invokespecial org.eclipse.jetty.util.IteratingNestedCallback.onCompleteFailure:(Ljava/lang/Throwable;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/server/HttpOutput$ReadableByteChannelWritingCB;
0 5 1 x Ljava/lang/Throwable;
MethodParameters:
Name Flags
x
}
SourceFile: "HttpOutput.java"
NestHost: org.eclipse.jetty.server.HttpOutput
InnerClasses:
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