class org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB 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$InputStreamWritingCB
super_class: org.eclipse.jetty.server.HttpOutput$NestedChannelWriteCB
{
private final java.io.InputStream _in;
descriptor: Ljava/io/InputStream;
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.io.InputStream, org.eclipse.jetty.util.Callback);
descriptor: (Lorg/eclipse/jetty/server/HttpOutput;Ljava/io/InputStream;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$InputStreamWritingCB.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$InputStreamWritingCB._in:Ljava/io/InputStream;
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
iconst_0
invokeinterface org.eclipse.jetty.io.ByteBufferPool.acquire:(IZ)Ljava/nio/ByteBuffer;
putfield org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB._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$InputStreamWritingCB;
0 5 2 in Ljava/io/InputStream;
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=3, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB._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$InputStreamWritingCB._closed:Z
ifne 7
4: aload 0
iconst_1
putfield org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB._closed:Z
5: aload 0
getfield org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB.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$InputStreamWritingCB._buffer:Ljava/nio/ByteBuffer;
invokeinterface org.eclipse.jetty.io.ByteBufferPool.release:(Ljava/nio/ByteBuffer;)V
6: aload 0
getfield org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB._in:Ljava/io/InputStream;
invokestatic org.eclipse.jetty.util.IO.close:(Ljava/io/InputStream;)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:
iconst_0
istore 1
start local 1 9: goto 14
10: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB._in:Ljava/io/InputStream;
aload 0
getfield org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.array:()[B
aload 0
getfield org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 1
iadd
aload 0
getfield org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
iload 1
isub
invokevirtual java.io.InputStream.read:([BII)I
istore 2
start local 2 11: iload 2
ifge 13
12: aload 0
iconst_1
putfield org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB._eof:Z
goto 14
13: StackMap locals: int
StackMap stack:
iload 1
iload 2
iadd
istore 1
end local 2 14: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
if_icmpge 15
aload 0
getfield org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB._eof:Z
ifeq 10
15: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB._buffer:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
16: aload 0
getfield org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB._buffer:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
17: aload 0
getfield org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB.this$0:Lorg/eclipse/jetty/server/HttpOutput;
dup
getfield org.eclipse.jetty.server.HttpOutput._written:J
iload 1
i2l
ladd
putfield org.eclipse.jetty.server.HttpOutput._written:J
18: aload 0
getfield org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB.this$0:Lorg/eclipse/jetty/server/HttpOutput;
aload 0
getfield org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB._buffer:Ljava/nio/ByteBuffer;
aload 0
getfield org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB._eof:Z
aload 0
invokevirtual org.eclipse.jetty.server.HttpOutput.channelWrite:(Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)V
19: getstatic org.eclipse.jetty.util.IteratingCallback$Action.SCHEDULED:Lorg/eclipse/jetty/util/IteratingCallback$Action;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/eclipse/jetty/server/HttpOutput$InputStreamWritingCB;
9 20 1 len I
11 14 2 r I
Exceptions:
throws java.lang.Exception
public void onCompleteFailure(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB.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$InputStreamWritingCB._buffer:Ljava/nio/ByteBuffer;
invokeinterface org.eclipse.jetty.io.ByteBufferPool.release:(Ljava/nio/ByteBuffer;)V
1: goto 5
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
3: aload 0
aload 1
invokespecial org.eclipse.jetty.server.HttpOutput$NestedChannelWriteCB.onCompleteFailure:(Ljava/lang/Throwable;)V
4: aload 2
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial org.eclipse.jetty.server.HttpOutput$NestedChannelWriteCB.onCompleteFailure:(Ljava/lang/Throwable;)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/server/HttpOutput$InputStreamWritingCB;
0 7 1 x Ljava/lang/Throwable;
Exception table:
from to target type
0 2 2 any
MethodParameters:
Name Flags
x
}
SourceFile: "HttpOutput.java"
NestHost: org.eclipse.jetty.server.HttpOutput
InnerClasses:
private InputStreamWritingCB = org.eclipse.jetty.server.HttpOutput$InputStreamWritingCB of org.eclipse.jetty.server.HttpOutput
private abstract NestedChannelWriteCB = org.eclipse.jetty.server.HttpOutput$NestedChannelWriteCB of org.eclipse.jetty.server.HttpOutput
protected final Action = org.eclipse.jetty.util.IteratingCallback$Action of org.eclipse.jetty.util.IteratingCallback