class org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor extends org.springframework.http.server.reactive.AbstractListenerWriteProcessor<org.springframework.core.io.buffer.DataBuffer>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor
super_class: org.springframework.http.server.reactive.AbstractListenerWriteProcessor
{
private final org.xnio.channels.StreamSinkChannel channel;
descriptor: Lorg/xnio/channels/StreamSinkChannel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile java.nio.ByteBuffer byteBuffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private volatile boolean writePossible;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
final org.springframework.http.server.reactive.UndertowServerHttpResponse this$0;
descriptor: Lorg/springframework/http/server/reactive/UndertowServerHttpResponse;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.springframework.http.server.reactive.UndertowServerHttpResponse, org.xnio.channels.StreamSinkChannel);
descriptor: (Lorg/springframework/http/server/reactive/UndertowServerHttpResponse;Lorg/xnio/channels/StreamSinkChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.this$0:Lorg/springframework/http/server/reactive/UndertowServerHttpResponse;
1: aload 0
aload 1
getfield org.springframework.http.server.reactive.UndertowServerHttpResponse.request:Lorg/springframework/http/server/reactive/UndertowServerHttpRequest;
invokevirtual org.springframework.http.server.reactive.UndertowServerHttpRequest.getLogPrefix:()Ljava/lang/String;
invokespecial org.springframework.http.server.reactive.AbstractListenerWriteProcessor.<init>:(Ljava/lang/String;)V
2: aload 2
ldc "StreamSinkChannel must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 0
aload 2
putfield org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.channel:Lorg/xnio/channels/StreamSinkChannel;
4: aload 0
getfield org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.channel:Lorg/xnio/channels/StreamSinkChannel;
invokeinterface org.xnio.channels.StreamSinkChannel.getWriteSetter:()Lorg/xnio/ChannelListener$Setter;
aload 0
invokedynamic handleEvent(Lorg/springframework/http/server/reactive/UndertowServerHttpResponse$ResponseBodyProcessor;)Lorg/xnio/ChannelListener;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/nio/channels/Channel;)V
org/springframework/http/server/reactive/UndertowServerHttpResponse$ResponseBodyProcessor.lambda$0(Lorg/xnio/channels/StreamSinkChannel;)V (7)
(Lorg/xnio/channels/StreamSinkChannel;)V
invokeinterface org.xnio.ChannelListener$Setter.set:(Lorg/xnio/ChannelListener;)V
5: aload 0
getfield org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.channel:Lorg/xnio/channels/StreamSinkChannel;
invokeinterface org.xnio.channels.StreamSinkChannel.suspendWrites:()V
6: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/http/server/reactive/UndertowServerHttpResponse$ResponseBodyProcessor;
0 7 2 channel Lorg/xnio/channels/StreamSinkChannel;
MethodParameters:
Name Flags
this$0 final
channel
protected boolean isWritePossible();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.channel:Lorg/xnio/channels/StreamSinkChannel;
invokeinterface org.xnio.channels.StreamSinkChannel.resumeWrites:()V
1: aload 0
getfield org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.writePossible:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/server/reactive/UndertowServerHttpResponse$ResponseBodyProcessor;
protected boolean write(org.springframework.core.io.buffer.DataBuffer);
descriptor: (Lorg/springframework/core/io/buffer/DataBuffer;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.byteBuffer:Ljava/nio/ByteBuffer;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
iconst_0
putfield org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.writePossible:Z
4: aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 3
start local 3 5: aload 0
aload 2
invokevirtual org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.writeByteBuffer:(Ljava/nio/ByteBuffer;)I
istore 4
start local 4 6: aload 0
getfield org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.this$0:Lorg/springframework/http/server/reactive/UndertowServerHttpResponse;
getfield org.springframework.http.server.reactive.UndertowServerHttpResponse.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isTraceEnabled:()Z
ifeq 9
7: aload 0
getfield org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.this$0:Lorg/springframework/http/server/reactive/UndertowServerHttpResponse;
getfield org.springframework.http.server.reactive.UndertowServerHttpResponse.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.getLogPrefix:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "Wrote "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " of "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " bytes"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.trace:(Ljava/lang/Object;)V
8: goto 11
9: StackMap locals: int int
StackMap stack:
getstatic org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.rsWriteLogger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isTraceEnabled:()Z
ifeq 11
10: getstatic org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.rsWriteLogger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.getLogPrefix:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "Wrote "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " of "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " bytes"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.trace:(Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmpeq 13
12: iconst_0
ireturn
13: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.writePossible:Z
14: aload 1
invokestatic org.springframework.core.io.buffer.DataBufferUtils.release:(Lorg/springframework/core/io/buffer/DataBuffer;)Z
pop
15: aload 0
aconst_null
putfield org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.byteBuffer:Ljava/nio/ByteBuffer;
16: iconst_1
ireturn
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/springframework/http/server/reactive/UndertowServerHttpResponse$ResponseBodyProcessor;
0 17 1 dataBuffer Lorg/springframework/core/io/buffer/DataBuffer;
1 17 2 buffer Ljava/nio/ByteBuffer;
5 17 3 total I
6 17 4 written I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dataBuffer
private int writeByteBuffer(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 3
start local 3 1: StackMap locals: org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor java.nio.ByteBuffer top int
StackMap stack:
aload 0
getfield org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.channel:Lorg/xnio/channels/StreamSinkChannel;
aload 1
invokeinterface org.xnio.channels.StreamSinkChannel.write:(Ljava/nio/ByteBuffer;)I
istore 2
start local 2 2: iload 3
iload 2
iadd
istore 3
3: aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 5
iload 2
4: ifgt 1
5: StackMap locals: org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor java.nio.ByteBuffer int int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/http/server/reactive/UndertowServerHttpResponse$ResponseBodyProcessor;
0 6 1 byteBuffer Ljava/nio/ByteBuffer;
2 6 2 written I
1 6 3 totalWritten I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
byteBuffer
protected void dataReceived(org.springframework.core.io.buffer.DataBuffer);
descriptor: (Lorg/springframework/core/io/buffer/DataBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.springframework.http.server.reactive.AbstractListenerWriteProcessor.dataReceived:(Ljava/lang/Object;)V
1: aload 0
aload 1
invokeinterface org.springframework.core.io.buffer.DataBuffer.asByteBuffer:()Ljava/nio/ByteBuffer;
putfield org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.byteBuffer:Ljava/nio/ByteBuffer;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/server/reactive/UndertowServerHttpResponse$ResponseBodyProcessor;
0 3 1 dataBuffer Lorg/springframework/core/io/buffer/DataBuffer;
MethodParameters:
Name Flags
dataBuffer
protected boolean isDataEmpty(org.springframework.core.io.buffer.DataBuffer);
descriptor: (Lorg/springframework/core/io/buffer/DataBuffer;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.springframework.core.io.buffer.DataBuffer.readableByteCount:()I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/server/reactive/UndertowServerHttpResponse$ResponseBodyProcessor;
0 2 1 dataBuffer Lorg/springframework/core/io/buffer/DataBuffer;
MethodParameters:
Name Flags
dataBuffer
protected void writingComplete();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.channel:Lorg/xnio/channels/StreamSinkChannel;
invokeinterface org.xnio.channels.StreamSinkChannel.getWriteSetter:()Lorg/xnio/ChannelListener$Setter;
aconst_null
invokeinterface org.xnio.ChannelListener$Setter.set:(Lorg/xnio/ChannelListener;)V
1: aload 0
getfield org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.channel:Lorg/xnio/channels/StreamSinkChannel;
invokeinterface org.xnio.channels.StreamSinkChannel.resumeWrites:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/server/reactive/UndertowServerHttpResponse$ResponseBodyProcessor;
protected void writingFailed(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.cancel:()V
1: aload 0
aload 1
invokevirtual org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.onError:(Ljava/lang/Throwable;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/server/reactive/UndertowServerHttpResponse$ResponseBodyProcessor;
0 3 1 ex Ljava/lang/Throwable;
MethodParameters:
Name Flags
ex
protected void discardData(org.springframework.core.io.buffer.DataBuffer);
descriptor: (Lorg/springframework/core/io/buffer/DataBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.core.io.buffer.DataBufferUtils.release:(Lorg/springframework/core/io/buffer/DataBuffer;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/server/reactive/UndertowServerHttpResponse$ResponseBodyProcessor;
0 2 1 dataBuffer Lorg/springframework/core/io/buffer/DataBuffer;
MethodParameters:
Name Flags
dataBuffer
protected void discardData(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.springframework.core.io.buffer.DataBuffer
invokevirtual org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.discardData:(Lorg/springframework/core/io/buffer/DataBuffer;)V
return
LocalVariableTable:
Start End Slot Name Signature
protected boolean write(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.springframework.core.io.buffer.DataBuffer
invokevirtual org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.write:(Lorg/springframework/core/io/buffer/DataBuffer;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
protected boolean isDataEmpty(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.springframework.core.io.buffer.DataBuffer
invokevirtual org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.isDataEmpty:(Lorg/springframework/core/io/buffer/DataBuffer;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
protected void dataReceived(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.springframework.core.io.buffer.DataBuffer
invokevirtual org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.dataReceived:(Lorg/springframework/core/io/buffer/DataBuffer;)V
return
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(org.xnio.channels.StreamSinkChannel);
descriptor: (Lorg/xnio/channels/StreamSinkChannel;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
putfield org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.writePossible:Z
1: aload 0
invokevirtual org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor.onWritePossible:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/server/reactive/UndertowServerHttpResponse$ResponseBodyProcessor;
0 3 1 c Lorg/xnio/channels/StreamSinkChannel;
}
Signature: Lorg/springframework/http/server/reactive/AbstractListenerWriteProcessor<Lorg/springframework/core/io/buffer/DataBuffer;>;
SourceFile: "UndertowServerHttpResponse.java"
NestHost: org.springframework.http.server.reactive.UndertowServerHttpResponse
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private ResponseBodyProcessor = org.springframework.http.server.reactive.UndertowServerHttpResponse$ResponseBodyProcessor of org.springframework.http.server.reactive.UndertowServerHttpResponse
public abstract Setter = org.xnio.ChannelListener$Setter of org.xnio.ChannelListener