class org.eclipse.jetty.server.HttpConnection$SendCallback extends org.eclipse.jetty.util.IteratingCallback
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jetty.server.HttpConnection$SendCallback
super_class: org.eclipse.jetty.util.IteratingCallback
{
private org.eclipse.jetty.http.MetaData$Response _info;
descriptor: Lorg/eclipse/jetty/http/MetaData$Response;
flags: (0x0002) ACC_PRIVATE
private boolean _head;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.nio.ByteBuffer _content;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private boolean _lastContent;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.eclipse.jetty.util.Callback _callback;
descriptor: Lorg/eclipse/jetty/util/Callback;
flags: (0x0002) ACC_PRIVATE
private java.nio.ByteBuffer ;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private java.nio.ByteBuffer _chunk;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private boolean _shutdownOut;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
final org.eclipse.jetty.server.HttpConnection this$0;
descriptor: Lorg/eclipse/jetty/server/HttpConnection;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$org$eclipse$jetty$http$HttpGenerator$Result;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private void <init>(org.eclipse.jetty.server.HttpConnection);
descriptor: (Lorg/eclipse/jetty/server/HttpConnection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
1: aload 0
iconst_1
invokespecial org.eclipse.jetty.util.IteratingCallback.<init>:(Z)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/server/HttpConnection$SendCallback;
MethodParameters:
Name Flags
this$0 final
public org.eclipse.jetty.util.thread.Invocable$InvocationType getInvocationType();
descriptor: ()Lorg/eclipse/jetty/util/thread/Invocable$InvocationType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._callback:Lorg/eclipse/jetty/util/Callback;
invokeinterface org.eclipse.jetty.util.Callback.getInvocationType:()Lorg/eclipse/jetty/util/thread/Invocable$InvocationType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/HttpConnection$SendCallback;
private boolean reset(org.eclipse.jetty.http.MetaData$Request, org.eclipse.jetty.http.MetaData$Response, java.nio.ByteBuffer, boolean, org.eclipse.jetty.util.Callback);
descriptor: (Lorg/eclipse/jetty/http/MetaData$Request;Lorg/eclipse/jetty/http/MetaData$Response;Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokevirtual org.eclipse.jetty.server.HttpConnection$SendCallback.reset:()Z
ifeq 13
1: aload 0
aload 2
putfield org.eclipse.jetty.server.HttpConnection$SendCallback._info:Lorg/eclipse/jetty/http/MetaData$Response;
2: aload 0
aload 1
ifnull 3
getstatic org.eclipse.jetty.http.HttpMethod.HEAD:Lorg/eclipse/jetty/http/HttpMethod;
aload 1
invokevirtual org.eclipse.jetty.http.MetaData$Request.getMethod:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.http.HttpMethod.is:(Ljava/lang/String;)Z
ifeq 3
iconst_1
goto 4
StackMap locals:
StackMap stack: org.eclipse.jetty.server.HttpConnection$SendCallback
3: iconst_0
StackMap locals: org.eclipse.jetty.server.HttpConnection$SendCallback org.eclipse.jetty.http.MetaData$Request org.eclipse.jetty.http.MetaData$Response java.nio.ByteBuffer int org.eclipse.jetty.util.Callback
StackMap stack: org.eclipse.jetty.server.HttpConnection$SendCallback int
4: putfield org.eclipse.jetty.server.HttpConnection$SendCallback._head:Z
5: aload 0
aload 3
putfield org.eclipse.jetty.server.HttpConnection$SendCallback._content:Ljava/nio/ByteBuffer;
6: aload 0
iload 4
putfield org.eclipse.jetty.server.HttpConnection$SendCallback._lastContent:Z
7: aload 0
aload 5
putfield org.eclipse.jetty.server.HttpConnection$SendCallback._callback:Lorg/eclipse/jetty/util/Callback;
8: aload 0
aconst_null
putfield org.eclipse.jetty.server.HttpConnection$SendCallback._header:Ljava/nio/ByteBuffer;
9: aload 0
iconst_0
putfield org.eclipse.jetty.server.HttpConnection$SendCallback._shutdownOut:Z
10: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
invokevirtual org.eclipse.jetty.server.HttpConnection.getConnector:()Lorg/eclipse/jetty/server/Connector;
invokeinterface org.eclipse.jetty.server.Connector.isShutdown:()Z
ifeq 12
11: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
getfield org.eclipse.jetty.server.HttpConnection._generator:Lorg/eclipse/jetty/http/HttpGenerator;
iconst_0
invokevirtual org.eclipse.jetty.http.HttpGenerator.setPersistent:(Z)V
12: StackMap locals:
StackMap stack:
iconst_1
ireturn
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.HttpConnection$SendCallback.isClosed:()Z
ifeq 15
14: aload 5
new org.eclipse.jetty.io.EofException
dup
invokespecial org.eclipse.jetty.io.EofException.<init>:()V
invokeinterface org.eclipse.jetty.util.Callback.failed:(Ljava/lang/Throwable;)V
goto 16
15: StackMap locals:
StackMap stack:
aload 5
new java.nio.channels.WritePendingException
dup
invokespecial java.nio.channels.WritePendingException.<init>:()V
invokeinterface org.eclipse.jetty.util.Callback.failed:(Ljava/lang/Throwable;)V
16: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/eclipse/jetty/server/HttpConnection$SendCallback;
0 17 1 request Lorg/eclipse/jetty/http/MetaData$Request;
0 17 2 info Lorg/eclipse/jetty/http/MetaData$Response;
0 17 3 content Ljava/nio/ByteBuffer;
0 17 4 last Z
0 17 5 callback Lorg/eclipse/jetty/util/Callback;
MethodParameters:
Name Flags
request
info
content
last
callback
public org.eclipse.jetty.util.IteratingCallback$Action process();
descriptor: ()Lorg/eclipse/jetty/util/IteratingCallback$Action;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._callback:Lorg/eclipse/jetty/util/Callback;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
invokevirtual org.eclipse.jetty.server.HttpConnection.isUseOutputDirectByteBuffers:()Z
istore 1
start local 1 3: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
getfield org.eclipse.jetty.server.HttpConnection._generator:Lorg/eclipse/jetty/http/HttpGenerator;
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._info:Lorg/eclipse/jetty/http/MetaData$Response;
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._head:Z
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._header:Ljava/nio/ByteBuffer;
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._chunk:Ljava/nio/ByteBuffer;
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._content:Ljava/nio/ByteBuffer;
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._lastContent:Z
invokevirtual org.eclipse.jetty.http.HttpGenerator.generateResponse:(Lorg/eclipse/jetty/http/MetaData$Response;ZLjava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Z)Lorg/eclipse/jetty/http/HttpGenerator$Result;
astore 2
start local 2 4: getstatic org.eclipse.jetty.server.HttpConnection.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 13
5: getstatic org.eclipse.jetty.server.HttpConnection.LOG:Lorg/slf4j/Logger;
ldc "generate: {} for {} ({},{},{})@{}"
bipush 6
anewarray java.lang.Object
dup
iconst_0
6: aload 2
aastore
dup
iconst_1
7: aload 0
aastore
dup
iconst_2
8: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._header:Ljava/nio/ByteBuffer;
invokestatic org.eclipse.jetty.util.BufferUtil.toSummaryString:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
aastore
dup
iconst_3
9: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._content:Ljava/nio/ByteBuffer;
invokestatic org.eclipse.jetty.util.BufferUtil.toSummaryString:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
aastore
dup
iconst_4
10: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._lastContent:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
11: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
getfield org.eclipse.jetty.server.HttpConnection._generator:Lorg/eclipse/jetty/http/HttpGenerator;
invokevirtual org.eclipse.jetty.http.HttpGenerator.getState:()Lorg/eclipse/jetty/http/HttpGenerator$State;
aastore
12: invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
13: StackMap locals: org.eclipse.jetty.http.HttpGenerator$Result
StackMap stack:
invokestatic org.eclipse.jetty.server.HttpConnection$SendCallback.$SWITCH_TABLE$org$eclipse$jetty$http$HttpGenerator$Result:()[I
aload 2
invokevirtual org.eclipse.jetty.http.HttpGenerator$Result.ordinal:()I
iaload
tableswitch { // 1 - 9
1: 22
2: 14
3: 15
4: 17
5: 24
6: 27
7: 64
8: 59
9: 61
default: 65
}
14: StackMap locals:
StackMap stack:
new org.eclipse.jetty.io.EofException
dup
ldc "request lifecycle violation"
invokespecial org.eclipse.jetty.io.EofException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
getfield org.eclipse.jetty.server.HttpConnection._bufferPool:Lorg/eclipse/jetty/io/ByteBufferPool;
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
getfield org.eclipse.jetty.server.HttpConnection._config:Lorg/eclipse/jetty/server/HttpConfiguration;
invokevirtual org.eclipse.jetty.server.HttpConfiguration.getResponseHeaderSize:()I
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
getfield org.eclipse.jetty.server.HttpConnection._config:Lorg/eclipse/jetty/server/HttpConfiguration;
invokevirtual org.eclipse.jetty.server.HttpConfiguration.getOutputBufferSize:()I
invokestatic java.lang.Math.min:(II)I
iload 1
invokeinterface org.eclipse.jetty.io.ByteBufferPool.acquire:(IZ)Ljava/nio/ByteBuffer;
putfield org.eclipse.jetty.server.HttpConnection$SendCallback._header:Ljava/nio/ByteBuffer;
16: goto 3
17: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._header:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
getfield org.eclipse.jetty.server.HttpConnection._config:Lorg/eclipse/jetty/server/HttpConfiguration;
invokevirtual org.eclipse.jetty.server.HttpConfiguration.getResponseHeaderSize:()I
if_icmplt 19
18: new org.eclipse.jetty.http.BadMessageException
dup
sipush 500
ldc "Response header too large"
invokespecial org.eclipse.jetty.http.BadMessageException.<init>:(ILjava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.HttpConnection$SendCallback.releaseHeader:()V
20: aload 0
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
getfield org.eclipse.jetty.server.HttpConnection._bufferPool:Lorg/eclipse/jetty/io/ByteBufferPool;
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
getfield org.eclipse.jetty.server.HttpConnection._config:Lorg/eclipse/jetty/server/HttpConfiguration;
invokevirtual org.eclipse.jetty.server.HttpConfiguration.getResponseHeaderSize:()I
iload 1
invokeinterface org.eclipse.jetty.io.ByteBufferPool.acquire:(IZ)Ljava/nio/ByteBuffer;
putfield org.eclipse.jetty.server.HttpConnection$SendCallback._header:Ljava/nio/ByteBuffer;
21: goto 3
22: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
getfield org.eclipse.jetty.server.HttpConnection._bufferPool:Lorg/eclipse/jetty/io/ByteBufferPool;
bipush 12
iload 1
invokeinterface org.eclipse.jetty.io.ByteBufferPool.acquire:(IZ)Ljava/nio/ByteBuffer;
putfield org.eclipse.jetty.server.HttpConnection$SendCallback._chunk:Ljava/nio/ByteBuffer;
23: goto 3
24: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.HttpConnection$SendCallback.releaseChunk:()V
25: aload 0
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
getfield org.eclipse.jetty.server.HttpConnection._bufferPool:Lorg/eclipse/jetty/io/ByteBufferPool;
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
getfield org.eclipse.jetty.server.HttpConnection._config:Lorg/eclipse/jetty/server/HttpConfiguration;
invokevirtual org.eclipse.jetty.server.HttpConfiguration.getResponseHeaderSize:()I
iload 1
invokeinterface org.eclipse.jetty.io.ByteBufferPool.acquire:(IZ)Ljava/nio/ByteBuffer;
putfield org.eclipse.jetty.server.HttpConnection$SendCallback._chunk:Ljava/nio/ByteBuffer;
26: goto 3
27: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._head:Z
ifne 28
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
getfield org.eclipse.jetty.server.HttpConnection._generator:Lorg/eclipse/jetty/http/HttpGenerator;
invokevirtual org.eclipse.jetty.http.HttpGenerator.isNoContent:()Z
ifeq 30
28: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._chunk:Ljava/nio/ByteBuffer;
invokestatic org.eclipse.jetty.util.BufferUtil.clear:(Ljava/nio/ByteBuffer;)V
29: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._content:Ljava/nio/ByteBuffer;
invokestatic org.eclipse.jetty.util.BufferUtil.clear:(Ljava/nio/ByteBuffer;)V
30: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 31: lconst_0
lstore 4
start local 4 32: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._header:Ljava/nio/ByteBuffer;
invokestatic org.eclipse.jetty.util.BufferUtil.hasContent:(Ljava/nio/ByteBuffer;)Z
ifeq 35
33: iload 3
iconst_4
iadd
i2b
istore 3
34: lload 4
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._header:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
ladd
lstore 4
35: StackMap locals: int long
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._chunk:Ljava/nio/ByteBuffer;
invokestatic org.eclipse.jetty.util.BufferUtil.hasContent:(Ljava/nio/ByteBuffer;)Z
ifeq 38
36: iload 3
iconst_2
iadd
i2b
istore 3
37: lload 4
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._chunk:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
ladd
lstore 4
38: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._content:Ljava/nio/ByteBuffer;
invokestatic org.eclipse.jetty.util.BufferUtil.hasContent:(Ljava/nio/ByteBuffer;)Z
ifeq 41
39: iload 3
iconst_1
iadd
i2b
istore 3
40: lload 4
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._content:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
ladd
lstore 4
41: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
getfield org.eclipse.jetty.server.HttpConnection.bytesOut:Ljava/util/concurrent/atomic/LongAdder;
lload 4
invokevirtual java.util.concurrent.atomic.LongAdder.add:(J)V
42: iload 3
tableswitch { // 1 - 7
1: 55
2: 53
3: 51
4: 49
5: 47
6: 45
7: 43
default: 57
}
43: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
invokevirtual org.eclipse.jetty.server.HttpConnection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aload 0
iconst_3
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._header:Ljava/nio/ByteBuffer;
aastore
dup
iconst_1
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._chunk:Ljava/nio/ByteBuffer;
aastore
dup
iconst_2
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._content:Ljava/nio/ByteBuffer;
aastore
invokeinterface org.eclipse.jetty.io.EndPoint.write:(Lorg/eclipse/jetty/util/Callback;[Ljava/nio/ByteBuffer;)V
44: goto 58
45: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
invokevirtual org.eclipse.jetty.server.HttpConnection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aload 0
iconst_2
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._header:Ljava/nio/ByteBuffer;
aastore
dup
iconst_1
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._chunk:Ljava/nio/ByteBuffer;
aastore
invokeinterface org.eclipse.jetty.io.EndPoint.write:(Lorg/eclipse/jetty/util/Callback;[Ljava/nio/ByteBuffer;)V
46: goto 58
47: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
invokevirtual org.eclipse.jetty.server.HttpConnection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aload 0
iconst_2
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._header:Ljava/nio/ByteBuffer;
aastore
dup
iconst_1
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._content:Ljava/nio/ByteBuffer;
aastore
invokeinterface org.eclipse.jetty.io.EndPoint.write:(Lorg/eclipse/jetty/util/Callback;[Ljava/nio/ByteBuffer;)V
48: goto 58
49: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
invokevirtual org.eclipse.jetty.server.HttpConnection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aload 0
iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._header:Ljava/nio/ByteBuffer;
aastore
invokeinterface org.eclipse.jetty.io.EndPoint.write:(Lorg/eclipse/jetty/util/Callback;[Ljava/nio/ByteBuffer;)V
50: goto 58
51: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
invokevirtual org.eclipse.jetty.server.HttpConnection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aload 0
iconst_2
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._chunk:Ljava/nio/ByteBuffer;
aastore
dup
iconst_1
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._content:Ljava/nio/ByteBuffer;
aastore
invokeinterface org.eclipse.jetty.io.EndPoint.write:(Lorg/eclipse/jetty/util/Callback;[Ljava/nio/ByteBuffer;)V
52: goto 58
53: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
invokevirtual org.eclipse.jetty.server.HttpConnection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aload 0
iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._chunk:Ljava/nio/ByteBuffer;
aastore
invokeinterface org.eclipse.jetty.io.EndPoint.write:(Lorg/eclipse/jetty/util/Callback;[Ljava/nio/ByteBuffer;)V
54: goto 58
55: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
invokevirtual org.eclipse.jetty.server.HttpConnection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aload 0
iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._content:Ljava/nio/ByteBuffer;
aastore
invokeinterface org.eclipse.jetty.io.EndPoint.write:(Lorg/eclipse/jetty/util/Callback;[Ljava/nio/ByteBuffer;)V
56: goto 58
57: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.HttpConnection$SendCallback.succeeded:()V
58: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.IteratingCallback$Action.SCHEDULED:Lorg/eclipse/jetty/util/IteratingCallback$Action;
areturn
end local 4 end local 3 59: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.eclipse.jetty.server.HttpConnection$SendCallback._shutdownOut:Z
60: goto 3
61: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
invokevirtual org.eclipse.jetty.server.HttpConnection.getConnector:()Lorg/eclipse/jetty/server/Connector;
invokeinterface org.eclipse.jetty.server.Connector.isShutdown:()Z
ifeq 63
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
getfield org.eclipse.jetty.server.HttpConnection._generator:Lorg/eclipse/jetty/http/HttpGenerator;
invokevirtual org.eclipse.jetty.http.HttpGenerator.isEnd:()Z
ifeq 63
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
getfield org.eclipse.jetty.server.HttpConnection._generator:Lorg/eclipse/jetty/http/HttpGenerator;
invokevirtual org.eclipse.jetty.http.HttpGenerator.isPersistent:()Z
ifeq 63
62: aload 0
iconst_1
putfield org.eclipse.jetty.server.HttpConnection$SendCallback._shutdownOut:Z
63: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.IteratingCallback$Action.SUCCEEDED:Lorg/eclipse/jetty/util/IteratingCallback$Action;
areturn
64: StackMap locals:
StackMap stack:
goto 3
65: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "generateResponse="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 66 0 this Lorg/eclipse/jetty/server/HttpConnection$SendCallback;
3 66 1 useDirectByteBuffers Z
4 66 2 result Lorg/eclipse/jetty/http/HttpGenerator$Result;
31 59 3 gatherWrite B
32 59 4 bytes J
Exceptions:
throws java.lang.Exception
private org.eclipse.jetty.util.Callback release();
descriptor: ()Lorg/eclipse/jetty/util/Callback;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._callback:Lorg/eclipse/jetty/util/Callback;
astore 1
start local 1 1: aload 0
aconst_null
putfield org.eclipse.jetty.server.HttpConnection$SendCallback._callback:Lorg/eclipse/jetty/util/Callback;
2: aload 0
aconst_null
putfield org.eclipse.jetty.server.HttpConnection$SendCallback._info:Lorg/eclipse/jetty/http/MetaData$Response;
3: aload 0
aconst_null
putfield org.eclipse.jetty.server.HttpConnection$SendCallback._content:Ljava/nio/ByteBuffer;
4: aload 0
invokevirtual org.eclipse.jetty.server.HttpConnection$SendCallback.releaseHeader:()V
5: aload 0
invokevirtual org.eclipse.jetty.server.HttpConnection$SendCallback.releaseChunk:()V
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/server/HttpConnection$SendCallback;
1 7 1 complete Lorg/eclipse/jetty/util/Callback;
private void ();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._header:Ljava/nio/ByteBuffer;
ifnull 2
1: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
getfield org.eclipse.jetty.server.HttpConnection._bufferPool:Lorg/eclipse/jetty/io/ByteBufferPool;
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._header:Ljava/nio/ByteBuffer;
invokeinterface org.eclipse.jetty.io.ByteBufferPool.release:(Ljava/nio/ByteBuffer;)V
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.eclipse.jetty.server.HttpConnection$SendCallback._header:Ljava/nio/ByteBuffer;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/HttpConnection$SendCallback;
private void releaseChunk();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._chunk:Ljava/nio/ByteBuffer;
ifnull 2
1: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
getfield org.eclipse.jetty.server.HttpConnection._bufferPool:Lorg/eclipse/jetty/io/ByteBufferPool;
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._chunk:Ljava/nio/ByteBuffer;
invokeinterface org.eclipse.jetty.io.ByteBufferPool.release:(Ljava/nio/ByteBuffer;)V
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.eclipse.jetty.server.HttpConnection$SendCallback._chunk:Ljava/nio/ByteBuffer;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/HttpConnection$SendCallback;
protected void onCompleteSuccess();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.server.HttpConnection$SendCallback.release:()Lorg/eclipse/jetty/util/Callback;
invokeinterface org.eclipse.jetty.util.Callback.succeeded:()V
1: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._shutdownOut:Z
ifeq 3
2: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
invokevirtual org.eclipse.jetty.server.HttpConnection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
invokeinterface org.eclipse.jetty.io.EndPoint.shutdownOutput:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/HttpConnection$SendCallback;
public void onCompleteFailure(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
aload 0
invokevirtual org.eclipse.jetty.server.HttpConnection$SendCallback.release:()Lorg/eclipse/jetty/util/Callback;
aload 1
invokestatic org.eclipse.jetty.server.HttpConnection.access$0:(Lorg/eclipse/jetty/server/HttpConnection;Lorg/eclipse/jetty/util/Callback;Ljava/lang/Throwable;)V
1: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._shutdownOut:Z
ifeq 3
2: aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpConnection;
invokevirtual org.eclipse.jetty.server.HttpConnection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
invokeinterface org.eclipse.jetty.io.EndPoint.shutdownOutput:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/HttpConnection$SendCallback;
0 4 1 x Ljava/lang/Throwable;
MethodParameters:
Name Flags
x final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "%s[i=%s,cb=%s]"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
invokespecial org.eclipse.jetty.util.IteratingCallback.toString:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._info:Lorg/eclipse/jetty/http/MetaData$Response;
aastore
dup
iconst_2
aload 0
getfield org.eclipse.jetty.server.HttpConnection$SendCallback._callback:Lorg/eclipse/jetty/util/Callback;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/HttpConnection$SendCallback;
static int[] $SWITCH_TABLE$org$eclipse$jetty$http$HttpGenerator$Result();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.eclipse.jetty.server.HttpConnection$SendCallback.$SWITCH_TABLE$org$eclipse$jetty$http$HttpGenerator$Result:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.eclipse.jetty.http.HttpGenerator$Result.values:()[Lorg/eclipse/jetty/http/HttpGenerator$Result;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.eclipse.jetty.http.HttpGenerator$Result.CONTINUE:Lorg/eclipse/jetty/http/HttpGenerator$Result;
invokevirtual org.eclipse.jetty.http.HttpGenerator$Result.ordinal:()I
bipush 7
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.eclipse.jetty.http.HttpGenerator$Result.DONE:Lorg/eclipse/jetty/http/HttpGenerator$Result;
invokevirtual org.eclipse.jetty.http.HttpGenerator$Result.ordinal:()I
bipush 9
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.eclipse.jetty.http.HttpGenerator$Result.FLUSH:Lorg/eclipse/jetty/http/HttpGenerator$Result;
invokevirtual org.eclipse.jetty.http.HttpGenerator$Result.ordinal:()I
bipush 6
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.eclipse.jetty.http.HttpGenerator$Result.HEADER_OVERFLOW:Lorg/eclipse/jetty/http/HttpGenerator$Result;
invokevirtual org.eclipse.jetty.http.HttpGenerator$Result.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.eclipse.jetty.http.HttpGenerator$Result.NEED_CHUNK:Lorg/eclipse/jetty/http/HttpGenerator$Result;
invokevirtual org.eclipse.jetty.http.HttpGenerator$Result.ordinal:()I
iconst_1
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic org.eclipse.jetty.http.HttpGenerator$Result.NEED_CHUNK_TRAILER:Lorg/eclipse/jetty/http/HttpGenerator$Result;
invokevirtual org.eclipse.jetty.http.HttpGenerator$Result.ordinal:()I
iconst_5
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic org.eclipse.jetty.http.HttpGenerator$Result.NEED_HEADER:Lorg/eclipse/jetty/http/HttpGenerator$Result;
invokevirtual org.eclipse.jetty.http.HttpGenerator$Result.ordinal:()I
iconst_3
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic org.eclipse.jetty.http.HttpGenerator$Result.NEED_INFO:Lorg/eclipse/jetty/http/HttpGenerator$Result;
invokevirtual org.eclipse.jetty.http.HttpGenerator$Result.ordinal:()I
iconst_2
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
getstatic org.eclipse.jetty.http.HttpGenerator$Result.SHUTDOWN_OUT:Lorg/eclipse/jetty/http/HttpGenerator$Result;
invokevirtual org.eclipse.jetty.http.HttpGenerator$Result.ordinal:()I
bipush 8
iastore
27: goto 29
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
28: pop
StackMap locals:
StackMap stack:
29: aload 0
dup
putstatic org.eclipse.jetty.server.HttpConnection$SendCallback.$SWITCH_TABLE$org$eclipse$jetty$http$HttpGenerator$Result:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
26 27 28 Class java.lang.NoSuchFieldError
}
SourceFile: "HttpConnection.java"
NestHost: org.eclipse.jetty.server.HttpConnection
InnerClasses:
public final Result = org.eclipse.jetty.http.HttpGenerator$Result of org.eclipse.jetty.http.HttpGenerator
public final State = org.eclipse.jetty.http.HttpGenerator$State of org.eclipse.jetty.http.HttpGenerator
public Request = org.eclipse.jetty.http.MetaData$Request of org.eclipse.jetty.http.MetaData
public Response = org.eclipse.jetty.http.MetaData$Response of org.eclipse.jetty.http.MetaData
private SendCallback = org.eclipse.jetty.server.HttpConnection$SendCallback of org.eclipse.jetty.server.HttpConnection
protected final Action = org.eclipse.jetty.util.IteratingCallback$Action of org.eclipse.jetty.util.IteratingCallback
public final InvocationType = org.eclipse.jetty.util.thread.Invocable$InvocationType of org.eclipse.jetty.util.thread.Invocable