class org.eclipse.jetty.server.HttpChannel$SendCallback extends org.eclipse.jetty.util.Callback$Nested
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jetty.server.HttpChannel$SendCallback
super_class: org.eclipse.jetty.util.Callback$Nested
{
private final java.nio.ByteBuffer _content;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int _length;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean _commit;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean _complete;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.eclipse.jetty.server.HttpChannel this$0;
descriptor: Lorg/eclipse/jetty/server/HttpChannel;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(org.eclipse.jetty.server.HttpChannel, org.eclipse.jetty.util.Callback, java.nio.ByteBuffer, boolean, boolean);
descriptor: (Lorg/eclipse/jetty/server/HttpChannel;Lorg/eclipse/jetty/util/Callback;Ljava/nio/ByteBuffer;ZZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, 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.HttpChannel$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpChannel;
1: aload 0
aload 2
invokespecial org.eclipse.jetty.util.Callback$Nested.<init>:(Lorg/eclipse/jetty/util/Callback;)V
2: aload 0
aload 3
ifnonnull 3
getstatic org.eclipse.jetty.util.BufferUtil.EMPTY_BUFFER:Ljava/nio/ByteBuffer;
goto 4
StackMap locals: org.eclipse.jetty.server.HttpChannel$SendCallback org.eclipse.jetty.server.HttpChannel org.eclipse.jetty.util.Callback java.nio.ByteBuffer int int
StackMap stack: org.eclipse.jetty.server.HttpChannel$SendCallback
3: aload 3
invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
StackMap locals: org.eclipse.jetty.server.HttpChannel$SendCallback org.eclipse.jetty.server.HttpChannel org.eclipse.jetty.util.Callback java.nio.ByteBuffer int int
StackMap stack: org.eclipse.jetty.server.HttpChannel$SendCallback java.nio.ByteBuffer
4: putfield org.eclipse.jetty.server.HttpChannel$SendCallback._content:Ljava/nio/ByteBuffer;
5: aload 0
aload 0
getfield org.eclipse.jetty.server.HttpChannel$SendCallback._content:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
putfield org.eclipse.jetty.server.HttpChannel$SendCallback._length:I
6: aload 0
iload 4
putfield org.eclipse.jetty.server.HttpChannel$SendCallback._commit:Z
7: aload 0
iload 5
putfield org.eclipse.jetty.server.HttpChannel$SendCallback._complete:Z
8: return
end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/server/HttpChannel$SendCallback;
0 9 2 callback Lorg/eclipse/jetty/util/Callback;
0 9 3 content Ljava/nio/ByteBuffer;
0 9 4 commit Z
0 9 5 complete Z
MethodParameters:
Name Flags
this$0 final
callback
content
commit
complete
public void succeeded();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpChannel$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpChannel;
dup
getfield org.eclipse.jetty.server.HttpChannel._written:J
aload 0
getfield org.eclipse.jetty.server.HttpChannel$SendCallback._length:I
i2l
ladd
putfield org.eclipse.jetty.server.HttpChannel._written:J
1: aload 0
getfield org.eclipse.jetty.server.HttpChannel$SendCallback._commit:Z
ifeq 3
2: aload 0
getfield org.eclipse.jetty.server.HttpChannel$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpChannel;
getfield org.eclipse.jetty.server.HttpChannel._combinedListener:Lorg/eclipse/jetty/server/HttpChannel$Listener;
aload 0
getfield org.eclipse.jetty.server.HttpChannel$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpChannel;
getfield org.eclipse.jetty.server.HttpChannel._request:Lorg/eclipse/jetty/server/Request;
invokeinterface org.eclipse.jetty.server.HttpChannel$Listener.onResponseCommit:(Lorg/eclipse/jetty/server/Request;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpChannel$SendCallback._length:I
ifle 5
4: aload 0
getfield org.eclipse.jetty.server.HttpChannel$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpChannel;
getfield org.eclipse.jetty.server.HttpChannel._combinedListener:Lorg/eclipse/jetty/server/HttpChannel$Listener;
aload 0
getfield org.eclipse.jetty.server.HttpChannel$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpChannel;
getfield org.eclipse.jetty.server.HttpChannel._request:Lorg/eclipse/jetty/server/Request;
aload 0
getfield org.eclipse.jetty.server.HttpChannel$SendCallback._content:Ljava/nio/ByteBuffer;
invokeinterface org.eclipse.jetty.server.HttpChannel$Listener.onResponseContent:(Lorg/eclipse/jetty/server/Request;Ljava/nio/ByteBuffer;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpChannel$SendCallback._complete:Z
ifeq 7
aload 0
getfield org.eclipse.jetty.server.HttpChannel$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpChannel;
getfield org.eclipse.jetty.server.HttpChannel._state:Lorg/eclipse/jetty/server/HttpChannelState;
invokevirtual org.eclipse.jetty.server.HttpChannelState.completeResponse:()Z
ifeq 7
6: aload 0
getfield org.eclipse.jetty.server.HttpChannel$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpChannel;
getfield org.eclipse.jetty.server.HttpChannel._combinedListener:Lorg/eclipse/jetty/server/HttpChannel$Listener;
aload 0
getfield org.eclipse.jetty.server.HttpChannel$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpChannel;
getfield org.eclipse.jetty.server.HttpChannel._request:Lorg/eclipse/jetty/server/Request;
invokeinterface org.eclipse.jetty.server.HttpChannel$Listener.onResponseEnd:(Lorg/eclipse/jetty/server/Request;)V
7: StackMap locals:
StackMap stack:
aload 0
invokespecial org.eclipse.jetty.util.Callback$Nested.succeeded:()V
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/server/HttpChannel$SendCallback;
public void failed(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.eclipse.jetty.server.HttpChannel.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.server.HttpChannel.LOG:Lorg/slf4j/Logger;
ldc "Commit failed"
aload 1
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.eclipse.jetty.http.BadMessageException
ifeq 5
3: aload 0
getfield org.eclipse.jetty.server.HttpChannel$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpChannel;
getfield org.eclipse.jetty.server.HttpChannel._transport:Lorg/eclipse/jetty/server/HttpTransport;
aload 0
getfield org.eclipse.jetty.server.HttpChannel$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpChannel;
getfield org.eclipse.jetty.server.HttpChannel._request:Lorg/eclipse/jetty/server/Request;
invokevirtual org.eclipse.jetty.server.Request.getMetaData:()Lorg/eclipse/jetty/http/MetaData$Request;
getstatic org.eclipse.jetty.http.HttpGenerator.RESPONSE_500_INFO:Lorg/eclipse/jetty/http/MetaData$Response;
aconst_null
iconst_1
new org.eclipse.jetty.server.HttpChannel$SendCallback$1
dup
aload 0
aload 0
aload 1
invokespecial org.eclipse.jetty.server.HttpChannel$SendCallback$1.<init>:(Lorg/eclipse/jetty/server/HttpChannel$SendCallback;Lorg/eclipse/jetty/util/Callback$Nested;Ljava/lang/Throwable;)V
invokeinterface org.eclipse.jetty.server.HttpTransport.send:(Lorg/eclipse/jetty/http/MetaData$Request;Lorg/eclipse/jetty/http/MetaData$Response;Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)V
4: goto 7
5: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpChannel$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpChannel;
aload 1
invokevirtual org.eclipse.jetty.server.HttpChannel.abort:(Ljava/lang/Throwable;)V
6: aload 0
aload 1
invokespecial org.eclipse.jetty.util.Callback$Nested.failed:(Ljava/lang/Throwable;)V
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/server/HttpChannel$SendCallback;
0 8 1 x Ljava/lang/Throwable;
MethodParameters:
Name Flags
x final
static org.eclipse.jetty.server.HttpChannel access$0(org.eclipse.jetty.server.HttpChannel$SendCallback);
descriptor: (Lorg/eclipse/jetty/server/HttpChannel$SendCallback;)Lorg/eclipse/jetty/server/HttpChannel;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield org.eclipse.jetty.server.HttpChannel$SendCallback.this$0:Lorg/eclipse/jetty/server/HttpChannel;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "HttpChannel.java"
NestHost: org.eclipse.jetty.server.HttpChannel
InnerClasses:
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
public abstract Listener = org.eclipse.jetty.server.HttpChannel$Listener of org.eclipse.jetty.server.HttpChannel
private SendCallback = org.eclipse.jetty.server.HttpChannel$SendCallback of org.eclipse.jetty.server.HttpChannel
org.eclipse.jetty.server.HttpChannel$SendCallback$1
public Nested = org.eclipse.jetty.util.Callback$Nested of org.eclipse.jetty.util.Callback