public class org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer implements org.apache.coyote.http11.HttpOutputBuffer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer
super_class: java.lang.Object
{
final org.apache.coyote.http11.Http11OutputBuffer this$0;
descriptor: Lorg/apache/coyote/http11/Http11OutputBuffer;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
protected void <init>(org.apache.coyote.http11.Http11OutputBuffer);
descriptor: (Lorg/apache/coyote/http11/Http11OutputBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.this$0:Lorg/apache/coyote/http11/Http11OutputBuffer;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/http11/Http11OutputBuffer$SocketOutputBuffer;
MethodParameters:
Name Flags
this$0 final
public int doWrite(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 2
start local 2 1: aload 0
getfield org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.this$0:Lorg/apache/coyote/http11/Http11OutputBuffer;
getfield org.apache.coyote.http11.Http11OutputBuffer.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
astore 3
start local 3 2: aload 3
ifnull 5
3: aload 3
aload 0
getfield org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.this$0:Lorg/apache/coyote/http11/Http11OutputBuffer;
invokevirtual org.apache.coyote.http11.Http11OutputBuffer.isBlocking:()Z
aload 1
invokevirtual org.apache.tomcat.util.net.SocketWrapperBase.write:(ZLjava/nio/ByteBuffer;)V
4: goto 6
5: StackMap locals: int org.apache.tomcat.util.net.SocketWrapperBase
StackMap stack:
new org.apache.coyote.CloseNowException
dup
getstatic org.apache.coyote.http11.Http11OutputBuffer.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "iob.failedwrite"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial org.apache.coyote.CloseNowException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
iload 2
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
isub
istore 2
7: aload 0
getfield org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.this$0:Lorg/apache/coyote/http11/Http11OutputBuffer;
dup
getfield org.apache.coyote.http11.Http11OutputBuffer.byteCount:J
iload 2
i2l
ladd
putfield org.apache.coyote.http11.Http11OutputBuffer.byteCount:J
8: iload 2
9: ireturn
end local 3 end local 2 10: StackMap locals: org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer java.nio.ByteBuffer
StackMap stack: java.io.IOException
astore 2
start local 2 11: aload 0
getfield org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.this$0:Lorg/apache/coyote/http11/Http11OutputBuffer;
getfield org.apache.coyote.http11.Http11OutputBuffer.response:Lorg/apache/coyote/Response;
getstatic org.apache.coyote.ActionCode.CLOSE_NOW:Lorg/apache/coyote/ActionCode;
aload 2
invokevirtual org.apache.coyote.Response.action:(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V
12: aload 2
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/coyote/http11/Http11OutputBuffer$SocketOutputBuffer;
0 13 1 chunk Ljava/nio/ByteBuffer;
1 10 2 len I
2 10 3 socketWrapper Lorg/apache/tomcat/util/net/SocketWrapperBase<*>;
11 13 2 ioe Ljava/io/IOException;
Exception table:
from to target type
0 9 10 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
chunk
public long getBytesWritten();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.this$0:Lorg/apache/coyote/http11/Http11OutputBuffer;
getfield org.apache.coyote.http11.Http11OutputBuffer.byteCount:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/http11/Http11OutputBuffer$SocketOutputBuffer;
public void end();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.this$0:Lorg/apache/coyote/http11/Http11OutputBuffer;
getfield org.apache.coyote.http11.Http11OutputBuffer.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
iconst_1
invokevirtual org.apache.tomcat.util.net.SocketWrapperBase.flush:(Z)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/coyote/http11/Http11OutputBuffer$SocketOutputBuffer;
Exceptions:
throws java.io.IOException
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.this$0:Lorg/apache/coyote/http11/Http11OutputBuffer;
getfield org.apache.coyote.http11.Http11OutputBuffer.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
aload 0
getfield org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.this$0:Lorg/apache/coyote/http11/Http11OutputBuffer;
invokevirtual org.apache.coyote.http11.Http11OutputBuffer.isBlocking:()Z
invokevirtual org.apache.tomcat.util.net.SocketWrapperBase.flush:(Z)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/coyote/http11/Http11OutputBuffer$SocketOutputBuffer;
Exceptions:
throws java.io.IOException
}
SourceFile: "Http11OutputBuffer.java"
NestHost: org.apache.coyote.http11.Http11OutputBuffer
InnerClasses:
protected SocketOutputBuffer = org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer of org.apache.coyote.http11.Http11OutputBuffer