class org.apache.tomcat.util.http.parser.Host$MessageBytesReader extends java.io.Reader
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.tomcat.util.http.parser.Host$MessageBytesReader
super_class: java.io.Reader
{
private final byte[] bytes;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int end;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int mark;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(org.apache.tomcat.util.buf.MessageBytes);
descriptor: (Lorg/apache/tomcat/util/buf/MessageBytes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.Reader.<init>:()V
1: aload 1
invokevirtual org.apache.tomcat.util.buf.MessageBytes.getByteChunk:()Lorg/apache/tomcat/util/buf/ByteChunk;
astore 2
start local 2 2: aload 0
aload 2
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getBytes:()[B
putfield org.apache.tomcat.util.http.parser.Host$MessageBytesReader.bytes:[B
3: aload 0
aload 2
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getOffset:()I
putfield org.apache.tomcat.util.http.parser.Host$MessageBytesReader.pos:I
4: aload 0
aload 2
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getEnd:()I
putfield org.apache.tomcat.util.http.parser.Host$MessageBytesReader.end:I
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/http/parser/Host$MessageBytesReader;
0 6 1 mb Lorg/apache/tomcat/util/buf/MessageBytes;
2 6 2 bc Lorg/apache/tomcat/util/buf/ByteChunk;
MethodParameters:
Name Flags
mb
public int read(char[], int, int);
descriptor: ([CII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
istore 4
start local 4 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 1
iload 4
aload 0
getfield org.apache.tomcat.util.http.parser.Host$MessageBytesReader.bytes:[B
aload 0
dup
getfield org.apache.tomcat.util.http.parser.Host$MessageBytesReader.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.tomcat.util.http.parser.Host$MessageBytesReader.pos:I
baload
sipush 255
iand
i2c
castore
3: iinc 4 1
StackMap locals:
StackMap stack:
4: iload 4
iload 2
iload 3
iadd
if_icmplt 2
end local 4 5: 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/apache/tomcat/util/http/parser/Host$MessageBytesReader;
0 6 1 cbuf [C
0 6 2 off I
0 6 3 len I
1 5 4 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf
off
len
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/parser/Host$MessageBytesReader;
Exceptions:
throws java.io.IOException
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.parser.Host$MessageBytesReader.pos:I
aload 0
getfield org.apache.tomcat.util.http.parser.Host$MessageBytesReader.end:I
if_icmpge 2
1: aload 0
getfield org.apache.tomcat.util.http.parser.Host$MessageBytesReader.bytes:[B
aload 0
dup
getfield org.apache.tomcat.util.http.parser.Host$MessageBytesReader.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.tomcat.util.http.parser.Host$MessageBytesReader.pos:I
baload
sipush 255
iand
ireturn
2: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/http/parser/Host$MessageBytesReader;
Exceptions:
throws java.io.IOException
public boolean markSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/parser/Host$MessageBytesReader;
public void mark(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.apache.tomcat.util.http.parser.Host$MessageBytesReader.pos:I
putfield org.apache.tomcat.util.http.parser.Host$MessageBytesReader.mark:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/http/parser/Host$MessageBytesReader;
0 2 1 readAheadLimit I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
readAheadLimit
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.tomcat.util.http.parser.Host$MessageBytesReader.mark:I
putfield org.apache.tomcat.util.http.parser.Host$MessageBytesReader.pos:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/http/parser/Host$MessageBytesReader;
Exceptions:
throws java.io.IOException
}
SourceFile: "Host.java"
NestHost: org.apache.tomcat.util.http.parser.Host
InnerClasses:
private MessageBytesReader = org.apache.tomcat.util.http.parser.Host$MessageBytesReader of org.apache.tomcat.util.http.parser.Host