public final class org.apache.http.HttpHost implements java.lang.Cloneable, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.http.HttpHost
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -7529410654042457626
public static final java.lang.String DEFAULT_SCHEME_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http"
protected final java.lang.String hostname;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.lang.String lcHostname;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final int port;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.lang.String schemeName;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.net.InetAddress address;
descriptor: Ljava/net/InetAddress;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public void <init>(java.lang.String, int, java.lang.String);
descriptor: (Ljava/lang/String;ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
ldc "Host name"
invokestatic org.apache.http.util.Args.containsNoBlanks:(Ljava/lang/CharSequence;Ljava/lang/String;)Ljava/lang/CharSequence;
checkcast java.lang.String
putfield org.apache.http.HttpHost.hostname:Ljava/lang/String;
2: aload 0
aload 1
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
putfield org.apache.http.HttpHost.lcHostname:Ljava/lang/String;
3: aload 3
ifnull 6
4: aload 0
aload 3
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
putfield org.apache.http.HttpHost.schemeName:Ljava/lang/String;
5: goto 7
6: StackMap locals: org.apache.http.HttpHost java.lang.String int java.lang.String
StackMap stack:
aload 0
ldc "http"
putfield org.apache.http.HttpHost.schemeName:Ljava/lang/String;
7: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield org.apache.http.HttpHost.port:I
8: aload 0
aconst_null
putfield org.apache.http.HttpHost.address:Ljava/net/InetAddress;
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/http/HttpHost;
0 10 1 hostname Ljava/lang/String;
0 10 2 port I
0 10 3 scheme Ljava/lang/String;
MethodParameters:
Name Flags
hostname final
port final
scheme final
public void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
aconst_null
invokespecial org.apache.http.HttpHost.<init>:(Ljava/lang/String;ILjava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/HttpHost;
0 2 1 hostname Ljava/lang/String;
0 2 2 port I
MethodParameters:
Name Flags
hostname final
port final
public static org.apache.http.HttpHost create(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/http/HttpHost;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
ldc "HTTP Host"
invokestatic org.apache.http.util.Args.containsNoBlanks:(Ljava/lang/CharSequence;Ljava/lang/String;)Ljava/lang/CharSequence;
pop
1: aload 0
astore 1
start local 1 2: aconst_null
astore 2
start local 2 3: aload 1
ldc "://"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 3
start local 3 4: iload 3
ifle 7
5: aload 1
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
6: aload 1
iload 3
iconst_3
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
7: StackMap locals: java.lang.String java.lang.String int
StackMap stack:
iconst_m1
istore 4
start local 4 8: aload 1
ldc ":"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 5
start local 5 9: iload 5
ifle 15
10: aload 1
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 4
11: goto 14
StackMap locals: java.lang.String java.lang.String java.lang.String int int int
StackMap stack: java.lang.NumberFormatException
12: pop
13: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid HTTP host: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
aload 1
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
15: StackMap locals:
StackMap stack:
new org.apache.http.HttpHost
dup
aload 1
iload 4
aload 2
invokespecial org.apache.http.HttpHost.<init>:(Ljava/lang/String;ILjava/lang/String;)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 s Ljava/lang/String;
2 16 1 text Ljava/lang/String;
3 16 2 scheme Ljava/lang/String;
4 16 3 schemeIdx I
8 16 4 port I
9 16 5 portIdx I
Exception table:
from to target type
10 11 12 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
s final
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_m1
aconst_null
invokespecial org.apache.http.HttpHost.<init>:(Ljava/lang/String;ILjava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/HttpHost;
0 2 1 hostname Ljava/lang/String;
MethodParameters:
Name Flags
hostname final
public void <init>(java.net.InetAddress, int, java.lang.String);
descriptor: (Ljava/net/InetAddress;ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
ldc "Inet address"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.net.InetAddress
aload 1
invokevirtual java.net.InetAddress.getHostName:()Ljava/lang/String;
iload 2
aload 3
invokespecial org.apache.http.HttpHost.<init>:(Ljava/net/InetAddress;Ljava/lang/String;ILjava/lang/String;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/HttpHost;
0 2 1 address Ljava/net/InetAddress;
0 2 2 port I
0 2 3 scheme Ljava/lang/String;
MethodParameters:
Name Flags
address final
port final
scheme final
public void <init>(java.net.InetAddress, java.lang.String, int, java.lang.String);
descriptor: (Ljava/net/InetAddress;Ljava/lang/String;ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
ldc "Inet address"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.net.InetAddress
putfield org.apache.http.HttpHost.address:Ljava/net/InetAddress;
2: aload 0
aload 2
ldc "Hostname"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
putfield org.apache.http.HttpHost.hostname:Ljava/lang/String;
3: aload 0
aload 0
getfield org.apache.http.HttpHost.hostname:Ljava/lang/String;
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
putfield org.apache.http.HttpHost.lcHostname:Ljava/lang/String;
4: aload 4
ifnull 7
5: aload 0
aload 4
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
putfield org.apache.http.HttpHost.schemeName:Ljava/lang/String;
6: goto 8
7: StackMap locals: org.apache.http.HttpHost java.net.InetAddress java.lang.String int java.lang.String
StackMap stack:
aload 0
ldc "http"
putfield org.apache.http.HttpHost.schemeName:Ljava/lang/String;
8: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield org.apache.http.HttpHost.port:I
9: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/http/HttpHost;
0 10 1 address Ljava/net/InetAddress;
0 10 2 hostname Ljava/lang/String;
0 10 3 port I
0 10 4 scheme Ljava/lang/String;
MethodParameters:
Name Flags
address final
hostname final
port final
scheme final
public void <init>(java.net.InetAddress, int);
descriptor: (Ljava/net/InetAddress;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
aconst_null
invokespecial org.apache.http.HttpHost.<init>:(Ljava/net/InetAddress;ILjava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/HttpHost;
0 2 1 address Ljava/net/InetAddress;
0 2 2 port I
MethodParameters:
Name Flags
address final
port final
public void <init>(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_m1
aconst_null
invokespecial org.apache.http.HttpHost.<init>:(Ljava/net/InetAddress;ILjava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/HttpHost;
0 2 1 address Ljava/net/InetAddress;
MethodParameters:
Name Flags
address final
public void <init>(org.apache.http.HttpHost);
descriptor: (Lorg/apache/http/HttpHost;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "HTTP host"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 0
aload 1
getfield org.apache.http.HttpHost.hostname:Ljava/lang/String;
putfield org.apache.http.HttpHost.hostname:Ljava/lang/String;
3: aload 0
aload 1
getfield org.apache.http.HttpHost.lcHostname:Ljava/lang/String;
putfield org.apache.http.HttpHost.lcHostname:Ljava/lang/String;
4: aload 0
aload 1
getfield org.apache.http.HttpHost.schemeName:Ljava/lang/String;
putfield org.apache.http.HttpHost.schemeName:Ljava/lang/String;
5: aload 0
aload 1
getfield org.apache.http.HttpHost.port:I
putfield org.apache.http.HttpHost.port:I
6: aload 0
aload 1
getfield org.apache.http.HttpHost.address:Ljava/net/InetAddress;
putfield org.apache.http.HttpHost.address:Ljava/net/InetAddress;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/http/HttpHost;
0 8 1 httphost Lorg/apache/http/HttpHost;
MethodParameters:
Name Flags
httphost final
public java.lang.String getHostName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.http.HttpHost.hostname:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/HttpHost;
public int getPort();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.http.HttpHost.port:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/HttpHost;
public java.lang.String getSchemeName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.http.HttpHost.schemeName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/HttpHost;
public java.net.InetAddress getAddress();
descriptor: ()Ljava/net/InetAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.http.HttpHost.address:Ljava/net/InetAddress;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/HttpHost;
public java.lang.String toURI();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
getfield org.apache.http.HttpHost.schemeName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
ldc "://"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
aload 0
getfield org.apache.http.HttpHost.hostname:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 0
getfield org.apache.http.HttpHost.port:I
iconst_m1
if_icmpeq 7
5: aload 1
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: aload 1
aload 0
getfield org.apache.http.HttpHost.port:I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/http/HttpHost;
1 8 1 buffer Ljava/lang/StringBuilder;
public java.lang.String toHostString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.http.HttpHost.port:I
iconst_m1
if_icmpeq 6
1: new java.lang.StringBuilder
dup
aload 0
getfield org.apache.http.HttpHost.hostname:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
bipush 6
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 2: aload 1
aload 0
getfield org.apache.http.HttpHost.hostname:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
aload 0
getfield org.apache.http.HttpHost.port:I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.http.HttpHost.hostname:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/http/HttpHost;
2 6 1 buffer Ljava/lang/StringBuilder;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.http.HttpHost.toURI:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/HttpHost;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.apache.http.HttpHost
ifeq 11
3: aload 1
checkcast org.apache.http.HttpHost
astore 2
start local 2 4: aload 0
getfield org.apache.http.HttpHost.lcHostname:Ljava/lang/String;
aload 2
getfield org.apache.http.HttpHost.lcHostname:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
5: aload 0
getfield org.apache.http.HttpHost.port:I
aload 2
getfield org.apache.http.HttpHost.port:I
if_icmpne 10
6: aload 0
getfield org.apache.http.HttpHost.schemeName:Ljava/lang/String;
aload 2
getfield org.apache.http.HttpHost.schemeName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
7: aload 0
getfield org.apache.http.HttpHost.address:Ljava/net/InetAddress;
ifnonnull 8
aload 2
getfield org.apache.http.HttpHost.address:Ljava/net/InetAddress;
ifnonnull 10
goto 9
StackMap locals: org.apache.http.HttpHost
StackMap stack:
8: aload 0
getfield org.apache.http.HttpHost.address:Ljava/net/InetAddress;
aload 2
getfield org.apache.http.HttpHost.address:Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.equals:(Ljava/lang/Object;)Z
ifeq 10
9: StackMap locals:
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
10: iconst_0
ireturn
end local 2 11: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/http/HttpHost;
0 12 1 obj Ljava/lang/Object;
4 11 2 that Lorg/apache/http/HttpHost;
MethodParameters:
Name Flags
obj final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: bipush 17
istore 1
start local 1 1: iload 1
aload 0
getfield org.apache.http.HttpHost.lcHostname:Ljava/lang/String;
invokestatic org.apache.http.util.LangUtils.hashCode:(ILjava/lang/Object;)I
istore 1
2: iload 1
aload 0
getfield org.apache.http.HttpHost.port:I
invokestatic org.apache.http.util.LangUtils.hashCode:(II)I
istore 1
3: iload 1
aload 0
getfield org.apache.http.HttpHost.schemeName:Ljava/lang/String;
invokestatic org.apache.http.util.LangUtils.hashCode:(ILjava/lang/Object;)I
istore 1
4: aload 0
getfield org.apache.http.HttpHost.address:Ljava/net/InetAddress;
ifnull 6
5: iload 1
aload 0
getfield org.apache.http.HttpHost.address:Ljava/net/InetAddress;
invokestatic org.apache.http.util.LangUtils.hashCode:(ILjava/lang/Object;)I
istore 1
6: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/http/HttpHost;
1 7 1 hash I
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/HttpHost;
Exceptions:
throws java.lang.CloneNotSupportedException
}
SourceFile: "HttpHost.java"
RuntimeInvisibleAnnotations:
org.apache.http.annotation.Contract(threading = org.apache.http.annotation.ThreadingBehavior.IMMUTABLE:Lorg/apache/http/annotation/ThreadingBehavior;)