public class org.apache.tomcat.util.http.parser.Host
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.http.parser.Host
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/http/parser/Host;
public static int parse(org.apache.tomcat.util.buf.MessageBytes);
descriptor: (Lorg/apache/tomcat/util/buf/MessageBytes;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.tomcat.util.http.parser.Host$MessageBytesReader
dup
aload 0
invokespecial org.apache.tomcat.util.http.parser.Host$MessageBytesReader.<init>:(Lorg/apache/tomcat/util/buf/MessageBytes;)V
invokestatic org.apache.tomcat.util.http.parser.Host.parse:(Ljava/io/Reader;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 mb Lorg/apache/tomcat/util/buf/MessageBytes;
MethodParameters:
Name Flags
mb
public static int parse(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.io.StringReader
dup
aload 0
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
invokestatic org.apache.tomcat.util.http.parser.Host.parse:(Ljava/io/Reader;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 string Ljava/lang/String;
MethodParameters:
Name Flags
string
private static int parse(java.io.Reader);
descriptor: (Ljava/io/Reader;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual java.io.Reader.mark:(I)V
1: aload 0
invokevirtual java.io.Reader.read:()I
istore 1
start local 1 2: aload 0
invokevirtual java.io.Reader.reset:()V
3: iload 1
invokestatic org.apache.tomcat.util.http.parser.HttpParser.isAlpha:(I)Z
ifeq 6
4: aload 0
invokestatic org.apache.tomcat.util.http.parser.HttpParser.readHostDomainName:(Ljava/io/Reader;)I
5: ireturn
6: StackMap locals: int
StackMap stack:
iload 1
invokestatic org.apache.tomcat.util.http.parser.HttpParser.isNumeric:(I)Z
ifeq 9
7: aload 0
iconst_0
invokestatic org.apache.tomcat.util.http.parser.HttpParser.readHostIPv4:(Ljava/io/Reader;Z)I
8: ireturn
9: StackMap locals:
StackMap stack:
bipush 91
iload 1
if_icmpne 12
10: aload 0
invokestatic org.apache.tomcat.util.http.parser.HttpParser.readHostIPv6:(Ljava/io/Reader;)I
11: ireturn
12: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
end local 1 13: StackMap locals: java.io.Reader
StackMap stack: java.io.IOException
astore 1
start local 1 14: new java.lang.IllegalArgumentException
dup
aload 1
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 reader Ljava/io/Reader;
2 13 1 first I
14 15 1 ioe Ljava/io/IOException;
Exception table:
from to target type
0 5 13 Class java.io.IOException
6 8 13 Class java.io.IOException
9 11 13 Class java.io.IOException
12 13 13 Class java.io.IOException
MethodParameters:
Name Flags
reader
}
SourceFile: "Host.java"
NestMembers:
org.apache.tomcat.util.http.parser.Host$MessageBytesReader
InnerClasses:
private MessageBytesReader = org.apache.tomcat.util.http.parser.Host$MessageBytesReader of org.apache.tomcat.util.http.parser.Host