class org.eclipse.jetty.server.HttpOutput$AsyncWrite extends org.eclipse.jetty.server.HttpOutput$ChannelWriteCB
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jetty.server.HttpOutput$AsyncWrite
super_class: org.eclipse.jetty.server.HttpOutput$ChannelWriteCB
{
private final java.nio.ByteBuffer _buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.ByteBuffer _slice;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int _len;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean _completed;
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, byte[], int, int, boolean);
descriptor: (Lorg/eclipse/jetty/server/HttpOutput;[BIIZ)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=6
start local 0 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
putfield org.eclipse.jetty.server.HttpOutput$AsyncWrite.this$0:Lorg/eclipse/jetty/server/HttpOutput;
1: aload 0
aload 1
iload 5
invokespecial org.eclipse.jetty.server.HttpOutput$ChannelWriteCB.<init>:(Lorg/eclipse/jetty/server/HttpOutput;Z)V
2: aload 0
aload 2
iload 3
iload 4
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
putfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._buffer:Ljava/nio/ByteBuffer;
3: aload 0
iload 4
putfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._len:I
4: aload 0
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._len:I
aload 1
invokevirtual org.eclipse.jetty.server.HttpOutput.getBufferSize:()I
if_icmpge 5
aconst_null
goto 6
StackMap locals: org.eclipse.jetty.server.HttpOutput$AsyncWrite org.eclipse.jetty.server.HttpOutput byte[] int int int
StackMap stack: org.eclipse.jetty.server.HttpOutput$AsyncWrite
5: aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
StackMap locals: org.eclipse.jetty.server.HttpOutput$AsyncWrite org.eclipse.jetty.server.HttpOutput byte[] int int int
StackMap stack: org.eclipse.jetty.server.HttpOutput$AsyncWrite java.nio.ByteBuffer
6: putfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._slice:Ljava/nio/ByteBuffer;
7: return
end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/server/HttpOutput$AsyncWrite;
0 8 2 b [B
0 8 3 off I
0 8 4 len I
0 8 5 last Z
MethodParameters:
Name Flags
this$0 final
b
off
len
last
void <init>(org.eclipse.jetty.server.HttpOutput, java.nio.ByteBuffer, boolean);
descriptor: (Lorg/eclipse/jetty/server/HttpOutput;Ljava/nio/ByteBuffer;Z)V
flags: (0x0000)
Code:
stack=3, 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$AsyncWrite.this$0:Lorg/eclipse/jetty/server/HttpOutput;
1: aload 0
aload 1
iload 3
invokespecial org.eclipse.jetty.server.HttpOutput$ChannelWriteCB.<init>:(Lorg/eclipse/jetty/server/HttpOutput;Z)V
2: aload 0
aload 2
putfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._buffer:Ljava/nio/ByteBuffer;
3: aload 0
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
putfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._len:I
4: aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.isDirect:()Z
ifne 5
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._len:I
aload 1
invokevirtual org.eclipse.jetty.server.HttpOutput.getBufferSize:()I
if_icmpge 6
5: StackMap locals: org.eclipse.jetty.server.HttpOutput$AsyncWrite org.eclipse.jetty.server.HttpOutput java.nio.ByteBuffer int
StackMap stack:
aload 0
aconst_null
putfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._slice:Ljava/nio/ByteBuffer;
goto 7
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
putfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._slice:Ljava/nio/ByteBuffer;
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/server/HttpOutput$AsyncWrite;
0 8 2 buffer Ljava/nio/ByteBuffer;
0 8 3 last Z
MethodParameters:
Name Flags
this$0 final
buffer
last
protected org.eclipse.jetty.util.IteratingCallback$Action process();
descriptor: ()Lorg/eclipse/jetty/util/IteratingCallback$Action;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite.this$0:Lorg/eclipse/jetty/server/HttpOutput;
getfield org.eclipse.jetty.server.HttpOutput._aggregate:Ljava/nio/ByteBuffer;
invokestatic org.eclipse.jetty.util.BufferUtil.hasContent:(Ljava/nio/ByteBuffer;)Z
ifeq 8
1: aload 0
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._len:I
ifne 2
iconst_1
goto 3
StackMap locals:
StackMap stack: org.eclipse.jetty.server.HttpOutput$AsyncWrite
2: iconst_0
StackMap locals: org.eclipse.jetty.server.HttpOutput$AsyncWrite
StackMap stack: org.eclipse.jetty.server.HttpOutput$AsyncWrite int
3: putfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._completed:Z
4: aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite.this$0:Lorg/eclipse/jetty/server/HttpOutput;
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite.this$0:Lorg/eclipse/jetty/server/HttpOutput;
getfield org.eclipse.jetty.server.HttpOutput._aggregate:Ljava/nio/ByteBuffer;
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._last:Z
ifeq 5
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._completed:Z
ifeq 5
iconst_1
goto 6
StackMap locals: org.eclipse.jetty.server.HttpOutput$AsyncWrite
StackMap stack: org.eclipse.jetty.server.HttpOutput java.nio.ByteBuffer
5: iconst_0
StackMap locals: org.eclipse.jetty.server.HttpOutput$AsyncWrite
StackMap stack: org.eclipse.jetty.server.HttpOutput java.nio.ByteBuffer int
6: aload 0
invokevirtual org.eclipse.jetty.server.HttpOutput.channelWrite:(Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)V
7: getstatic org.eclipse.jetty.util.IteratingCallback$Action.SCHEDULED:Lorg/eclipse/jetty/util/IteratingCallback$Action;
areturn
8: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._last:Z
ifne 13
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite.this$0:Lorg/eclipse/jetty/server/HttpOutput;
getfield org.eclipse.jetty.server.HttpOutput._aggregate:Ljava/nio/ByteBuffer;
ifnull 13
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._len:I
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite.this$0:Lorg/eclipse/jetty/server/HttpOutput;
invokevirtual org.eclipse.jetty.server.HttpOutput.maximizeAggregateSpace:()I
if_icmpge 13
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._len:I
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite.this$0:Lorg/eclipse/jetty/server/HttpOutput;
getfield org.eclipse.jetty.server.HttpOutput._commitSize:I
if_icmpge 13
9: aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite.this$0:Lorg/eclipse/jetty/server/HttpOutput;
getfield org.eclipse.jetty.server.HttpOutput._aggregate:Ljava/nio/ByteBuffer;
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFill:(Ljava/nio/ByteBuffer;)I
istore 1
start local 1 10: aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._buffer:Ljava/nio/ByteBuffer;
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite.this$0:Lorg/eclipse/jetty/server/HttpOutput;
getfield org.eclipse.jetty.server.HttpOutput._aggregate:Ljava/nio/ByteBuffer;
invokestatic org.eclipse.jetty.util.BufferUtil.put:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
pop
11: aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite.this$0:Lorg/eclipse/jetty/server/HttpOutput;
getfield org.eclipse.jetty.server.HttpOutput._aggregate:Ljava/nio/ByteBuffer;
iload 1
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFlush:(Ljava/nio/ByteBuffer;I)V
12: getstatic org.eclipse.jetty.util.IteratingCallback$Action.SUCCEEDED:Lorg/eclipse/jetty/util/IteratingCallback$Action;
areturn
end local 1 13: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 31
14: aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._slice:Ljava/nio/ByteBuffer;
ifnonnull 18
15: aload 0
iconst_1
putfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._completed:Z
16: aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite.this$0:Lorg/eclipse/jetty/server/HttpOutput;
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._buffer:Ljava/nio/ByteBuffer;
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._last: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
18: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
istore 1
start local 1 19: aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite.this$0:Lorg/eclipse/jetty/server/HttpOutput;
invokevirtual org.eclipse.jetty.server.HttpOutput.getBufferSize:()I
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.lang.Math.min:(II)I
istore 2
start local 2 20: iload 1
iload 2
iadd
istore 3
start local 3 21: aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._slice:Ljava/nio/ByteBuffer;
iload 3
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
22: aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._buffer:Ljava/nio/ByteBuffer;
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
23: aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._slice:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
24: aload 0
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 25
iconst_0
goto 26
StackMap locals: org.eclipse.jetty.server.HttpOutput$AsyncWrite int int int
StackMap stack: org.eclipse.jetty.server.HttpOutput$AsyncWrite
25: iconst_1
StackMap locals: org.eclipse.jetty.server.HttpOutput$AsyncWrite int int int
StackMap stack: org.eclipse.jetty.server.HttpOutput$AsyncWrite int
26: putfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._completed:Z
27: aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite.this$0:Lorg/eclipse/jetty/server/HttpOutput;
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._slice:Ljava/nio/ByteBuffer;
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._last:Z
ifeq 28
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._completed:Z
ifeq 28
iconst_1
goto 29
StackMap locals: org.eclipse.jetty.server.HttpOutput$AsyncWrite int int int
StackMap stack: org.eclipse.jetty.server.HttpOutput java.nio.ByteBuffer
28: iconst_0
StackMap locals: org.eclipse.jetty.server.HttpOutput$AsyncWrite int int int
StackMap stack: org.eclipse.jetty.server.HttpOutput java.nio.ByteBuffer int
29: aload 0
invokevirtual org.eclipse.jetty.server.HttpOutput.channelWrite:(Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)V
30: getstatic org.eclipse.jetty.util.IteratingCallback$Action.SCHEDULED:Lorg/eclipse/jetty/util/IteratingCallback$Action;
areturn
end local 3 end local 2 end local 1 31: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._last:Z
ifeq 35
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._completed:Z
ifne 35
32: aload 0
iconst_1
putfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._completed:Z
33: aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite.this$0:Lorg/eclipse/jetty/server/HttpOutput;
getstatic org.eclipse.jetty.util.BufferUtil.EMPTY_BUFFER:Ljava/nio/ByteBuffer;
iconst_1
aload 0
invokevirtual org.eclipse.jetty.server.HttpOutput.channelWrite:(Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)V
34: getstatic org.eclipse.jetty.util.IteratingCallback$Action.SCHEDULED:Lorg/eclipse/jetty/util/IteratingCallback$Action;
areturn
35: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.server.HttpOutput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 37
aload 0
getfield org.eclipse.jetty.server.HttpOutput$AsyncWrite._completed:Z
ifeq 37
36: 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
37: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.IteratingCallback$Action.SUCCEEDED:Lorg/eclipse/jetty/util/IteratingCallback$Action;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lorg/eclipse/jetty/server/HttpOutput$AsyncWrite;
10 13 1 position I
19 31 1 p I
20 31 2 l I
21 31 3 pl I
Exceptions:
throws java.lang.Exception
}
SourceFile: "HttpOutput.java"
NestHost: org.eclipse.jetty.server.HttpOutput
InnerClasses:
private AsyncWrite = org.eclipse.jetty.server.HttpOutput$AsyncWrite of org.eclipse.jetty.server.HttpOutput
private abstract ChannelWriteCB = org.eclipse.jetty.server.HttpOutput$ChannelWriteCB of org.eclipse.jetty.server.HttpOutput
protected final Action = org.eclipse.jetty.util.IteratingCallback$Action of org.eclipse.jetty.util.IteratingCallback