com.groupbyinc.flux.common.http.impl.auth.RFC2617Scheme.class Maven / Gradle / Ivy
???? 2 ? 7com/groupbyinc/flux/common/http/impl/auth/RFC2617Scheme 8com/groupbyinc/flux/common/http/impl/auth/AuthSchemeBase java/io/Serializable RFC2617Scheme.java serialVersionUID J???:?1 params Ljava/util/Map; 5Ljava/util/Map; credentialsCharset Ljava/nio/charset/Charset; 8(Lcom/groupbyinc/flux/common/http/auth/ChallengeState;)V Ljava/lang/Deprecated;
java/util/HashMap ()V
&com/groupbyinc/flux/common/http/Consts ASCII " this 9Lcom/groupbyinc/flux/common/http/impl/auth/RFC2617Scheme; challengeState 5Lcom/groupbyinc/flux/common/http/auth/ChallengeState; (Ljava/nio/charset/Charset;)V
java/nio/charset/Charset * (
, getCredentialsCharset ()Ljava/nio/charset/Charset; A(Lcom/groupbyinc/flux/common/http/HttpRequest;)Ljava/lang/String; +com/groupbyinc/flux/common/http/HttpRequest 1 getParams 5()Lcom/groupbyinc/flux/common/http/params/HttpParams; 3 4 2 5 http.auth.credential-charset 7 1com/groupbyinc/flux/common/http/params/HttpParams 9 getParameter &(Ljava/lang/String;)Ljava/lang/Object; ; < : = java/lang/String ? . /
A name ()Ljava/lang/String; C D
+ E request -Lcom/groupbyinc/flux/common/http/HttpRequest; charset Ljava/lang/String; parseChallenge ;(Lcom/groupbyinc/flux/common/http/util/CharArrayBuffer;II)V @com/groupbyinc/flux/common/http/auth/MalformedChallengeException M >com/groupbyinc/flux/common/http/message/BasicHeaderValueParser O INSTANCE @Lcom/groupbyinc/flux/common/http/message/BasicHeaderValueParser; Q R P S 4com/groupbyinc/flux/common/http/message/ParserCursor U 4com/groupbyinc/flux/common/http/util/CharArrayBuffer W length ()I Y Z
X [ (II)V ]
V ^ 9com/groupbyinc/flux/common/http/message/HeaderValueParser `
parseElements ?(Lcom/groupbyinc/flux/common/http/util/CharArrayBuffer;Lcom/groupbyinc/flux/common/http/message/ParserCursor;)[Lcom/groupbyinc/flux/common/http/HeaderElement; b c a d
java/util/Map f clear h g i 0[Lcom/groupbyinc/flux/common/http/HeaderElement; k -com/groupbyinc/flux/common/http/HeaderElement m getName o D n p java/util/Locale r ROOT Ljava/util/Locale; t u s v toLowerCase &(Ljava/util/Locale;)Ljava/lang/String; x y
@ z getValue | D n } put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? g ? element /Lcom/groupbyinc/flux/common/http/HeaderElement; arr$ len$ I i$ buffer 6Lcom/groupbyinc/flux/common/http/util/CharArrayBuffer; pos len parser ;Lcom/groupbyinc/flux/common/http/message/HeaderValueParser; cursor 6Lcom/groupbyinc/flux/common/http/message/ParserCursor; elements
getParameters ()Ljava/util/Map; &(Ljava/lang/String;)Ljava/lang/String; get &(Ljava/lang/Object;)Ljava/lang/Object; ? ? g ? getRealm realm ? ; ?
? writeObject (Ljava/io/ObjectOutputStream;)V java/io/IOException ? java/io/ObjectOutputStream ? defaultWriteObject ?
? ? writeUTF (Ljava/lang/String;)V ? ?
? ? &