public final class org.apache.http.conn.scheme.SchemeRegistry
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.http.conn.scheme.SchemeRegistry
super_class: java.lang.Object
{
private final java.util.concurrent.ConcurrentHashMap<java.lang.String, org.apache.http.conn.scheme.Scheme> registeredSchemes;
descriptor: Ljava/util/concurrent/ConcurrentHashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentHashMap<Ljava/lang/String;Lorg/apache/http/conn/scheme/Scheme;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.apache.http.conn.scheme.SchemeRegistry.registeredSchemes:Ljava/util/concurrent/ConcurrentHashMap;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/http/conn/scheme/SchemeRegistry;
public final org.apache.http.conn.scheme.Scheme getScheme(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/http/conn/scheme/Scheme;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.http.conn.scheme.SchemeRegistry.get:(Ljava/lang/String;)Lorg/apache/http/conn/scheme/Scheme;
astore 2
start local 2 1: aload 2
ifnonnull 5
2: new java.lang.IllegalStateException
dup
3: new java.lang.StringBuilder
dup
ldc "Scheme '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' not registered."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: org.apache.http.conn.scheme.Scheme
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/http/conn/scheme/SchemeRegistry;
0 6 1 name Ljava/lang/String;
1 6 2 found Lorg/apache/http/conn/scheme/Scheme;
MethodParameters:
Name Flags
name final
public final org.apache.http.conn.scheme.Scheme getScheme(org.apache.http.HttpHost);
descriptor: (Lorg/apache/http/HttpHost;)Lorg/apache/http/conn/scheme/Scheme;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "Host"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual org.apache.http.HttpHost.getSchemeName:()Ljava/lang/String;
invokevirtual org.apache.http.conn.scheme.SchemeRegistry.getScheme:(Ljava/lang/String;)Lorg/apache/http/conn/scheme/Scheme;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/conn/scheme/SchemeRegistry;
0 2 1 host Lorg/apache/http/HttpHost;
MethodParameters:
Name Flags
host final
public final org.apache.http.conn.scheme.Scheme get(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/http/conn/scheme/Scheme;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "Scheme name"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield org.apache.http.conn.scheme.SchemeRegistry.registeredSchemes:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.http.conn.scheme.Scheme
astore 2
start local 2 2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/http/conn/scheme/SchemeRegistry;
0 3 1 name Ljava/lang/String;
2 3 2 found Lorg/apache/http/conn/scheme/Scheme;
MethodParameters:
Name Flags
name final
public final org.apache.http.conn.scheme.Scheme register(org.apache.http.conn.scheme.Scheme);
descriptor: (Lorg/apache/http/conn/scheme/Scheme;)Lorg/apache/http/conn/scheme/Scheme;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "Scheme"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield org.apache.http.conn.scheme.SchemeRegistry.registeredSchemes:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
invokevirtual org.apache.http.conn.scheme.Scheme.getName:()Ljava/lang/String;
aload 1
invokevirtual java.util.concurrent.ConcurrentHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.http.conn.scheme.Scheme
astore 2
start local 2 2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/http/conn/scheme/SchemeRegistry;
0 3 1 sch Lorg/apache/http/conn/scheme/Scheme;
2 3 2 old Lorg/apache/http/conn/scheme/Scheme;
MethodParameters:
Name Flags
sch final
public final org.apache.http.conn.scheme.Scheme unregister(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/http/conn/scheme/Scheme;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "Scheme name"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield org.apache.http.conn.scheme.SchemeRegistry.registeredSchemes:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
invokevirtual java.util.concurrent.ConcurrentHashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.http.conn.scheme.Scheme
astore 2
start local 2 2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/http/conn/scheme/SchemeRegistry;
0 3 1 name Ljava/lang/String;
2 3 2 gone Lorg/apache/http/conn/scheme/Scheme;
MethodParameters:
Name Flags
name final
public final java.util.List<java.lang.String> getSchemeNames();
descriptor: ()Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
getfield org.apache.http.conn.scheme.SchemeRegistry.registeredSchemes:Ljava/util/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.keySet:()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/conn/scheme/SchemeRegistry;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public void setItems(java.util.Map<java.lang.String, org.apache.http.conn.scheme.Scheme>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.http.conn.scheme.SchemeRegistry.registeredSchemes:Ljava/util/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.clear:()V
3: aload 0
getfield org.apache.http.conn.scheme.SchemeRegistry.registeredSchemes:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
invokevirtual java.util.concurrent.ConcurrentHashMap.putAll:(Ljava/util/Map;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/http/conn/scheme/SchemeRegistry;
0 5 1 map Ljava/util/Map<Ljava/lang/String;Lorg/apache/http/conn/scheme/Scheme;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Lorg/apache/http/conn/scheme/Scheme;>;)V
MethodParameters:
Name Flags
map final
}
SourceFile: "SchemeRegistry.java"
InnerClasses:
public KeySetView = java.util.concurrent.ConcurrentHashMap$KeySetView of java.util.concurrent.ConcurrentHashMap
RuntimeVisibleAnnotations:
java.lang.Deprecated()
RuntimeInvisibleAnnotations:
org.apache.http.annotation.Contract(threading = org.apache.http.annotation.ThreadingBehavior.SAFE:Lorg/apache/http/annotation/ThreadingBehavior;)