com.groupbyinc.flux.common.apache.http.auth.AuthSchemeRegistry.class Maven / Gradle / Ivy
???? 2 ? >com/groupbyinc/flux/common/apache/http/auth/AuthSchemeRegistry ?Ljava/lang/Object;Lcom/groupbyinc/flux/common/apache/http/config/Lookup; java/lang/Object 4com/groupbyinc/flux/common/apache/http/config/Lookup AuthSchemeRegistry.java Ljava/lang/Deprecated; >Lcom/groupbyinc/flux/common/apache/http/annotation/ThreadSafe; @com/groupbyinc/flux/common/apache/http/auth/AuthSchemeRegistry$1 registeredSchemes (Ljava/util/concurrent/ConcurrentHashMap; {Ljava/util/concurrent/ConcurrentHashMap; ()V
&java/util/concurrent/ConcurrentHashMap
this @Lcom/groupbyinc/flux/common/apache/http/auth/AuthSchemeRegistry; register T(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/http/auth/AuthSchemeFactory;)V Name 0com/groupbyinc/flux/common/apache/http/util/Args notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; ! "
# Authentication scheme factory % java/util/Locale ' ENGLISH Ljava/util/Locale; ) * ( + java/lang/String - toLowerCase &(Ljava/util/Locale;)Ljava/lang/String; / 0
. 1 put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; 3 4
5 name Ljava/lang/String; factory ?Lcom/groupbyinc/flux/common/apache/http/auth/AuthSchemeFactory;
unregister (Ljava/lang/String;)V remove &(Ljava/lang/Object;)Ljava/lang/Object; = >
?
getAuthScheme ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/http/params/HttpParams;)Lcom/groupbyinc/flux/common/apache/http/auth/AuthScheme; java/lang/IllegalStateException C get E >
F =com/groupbyinc/flux/common/apache/http/auth/AuthSchemeFactory H newInstance t(Lcom/groupbyinc/flux/common/apache/http/params/HttpParams;)Lcom/groupbyinc/flux/common/apache/http/auth/AuthScheme; J K I L java/lang/StringBuilder N
O #Unsupported authentication scheme: Q append -(Ljava/lang/String;)Ljava/lang/StringBuilder; S T
O U toString ()Ljava/lang/String; W X
O Y <
D [ params :Lcom/groupbyinc/flux/common/apache/http/params/HttpParams; getSchemeNames ()Ljava/util/List; java/util/ArrayList a keySet ()Ljava/util/Set; c d
e (Ljava/util/Collection;)V g
b h setItems (Ljava/util/Map;)V clear l
m putAll o k
p map bLjava/util/Map; Ljava/util/Map; lookup T(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/http/auth/AuthSchemeProvider; U(Lcom/groupbyinc/flux/common/apache/http/auth/AuthSchemeRegistry;Ljava/lang/String;)V w
x &(Ljava/lang/String;)Ljava/lang/Object; u v
{ x0 Signature Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions &()Ljava/util/List; LocalVariableTypeTable e(Ljava/util/Map;)V
SourceFile
Deprecated InnerClasses RuntimeVisibleAnnotations RuntimeInvisibleAnnotations 1
~ B *? *? Y? ? ? ? ? : ; <