com.groupbyinc.flux.common.http.impl.cookie.RFC2965Spec.class Maven / Gradle / Ivy
???? 2? 7com/groupbyinc/flux/common/http/impl/cookie/RFC2965Spec 7com/groupbyinc/flux/common/http/impl/cookie/RFC2109Spec RFC2965Spec.java 5Lcom/groupbyinc/flux/common/http/annotation/Obsolete; 5Lcom/groupbyinc/flux/common/http/annotation/Contract; threading >Lcom/groupbyinc/flux/common/http/annotation/ThreadingBehavior; SAFE 9com/groupbyinc/flux/common/http/impl/cookie/RFC2965Spec$1 java/util/Map$Entry
java/util/Map Entry ()V ([Ljava/lang/String;Z)V
this 9Lcom/groupbyinc/flux/common/http/impl/cookie/RFC2965Spec; Ccom/groupbyinc/flux/common/http/cookie/CommonCookieAttributeHandler Jcom/groupbyinc/flux/common/http/impl/cookie/RFC2965VersionAttributeHandler
Icom/groupbyinc/flux/common/http/impl/cookie/RFC2965DomainAttributeHandler
! Gcom/groupbyinc/flux/common/http/impl/cookie/RFC2965PortAttributeHandler #
$ >com/groupbyinc/flux/common/http/impl/cookie/BasicMaxAgeHandler &
' >com/groupbyinc/flux/common/http/impl/cookie/BasicSecureHandler )
* ?com/groupbyinc/flux/common/http/impl/cookie/BasicCommentHandler ,
- ?com/groupbyinc/flux/common/http/impl/cookie/BasicExpiresHandler / [Ljava/lang/String; 1 clone ()Ljava/lang/Object; 3 4
2 5 F[Lcom/groupbyinc/flux/common/http/cookie/CommonCookieAttributeHandler; 7
DATE_PATTERNS 9 1 : ([Ljava/lang/String;)V <
0 = Mcom/groupbyinc/flux/common/http/impl/cookie/RFC2965CommentUrlAttributeHandler ?
@ Jcom/groupbyinc/flux/common/http/impl/cookie/RFC2965DiscardAttributeHandler B
C J(Z[Lcom/groupbyinc/flux/common/http/cookie/CommonCookieAttributeHandler;)V E
F datepatterns oneHeader Z handlers parse o(Lcom/groupbyinc/flux/common/http/Header;Lcom/groupbyinc/flux/common/http/cookie/CookieOrigin;)Ljava/util/List; ?com/groupbyinc/flux/common/http/cookie/MalformedCookieException N Header P )com/groupbyinc/flux/common/http/util/Args R notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; T U
S V
Cookie origin X &com/groupbyinc/flux/common/http/Header Z getName ()Ljava/lang/String; \ ] [ ^ Set-Cookie2 ` java/lang/String b equalsIgnoreCase (Ljava/lang/String;)Z d e
c f java/lang/StringBuilder h
i Unrecognized cookie header ' k append -(Ljava/lang/String;)Ljava/lang/StringBuilder; m n
i o java/lang/Object q toString s ]
r t ' v
i t (Ljava/lang/String;)V y
O z getElements 2()[Lcom/groupbyinc/flux/common/http/HeaderElement; | } [ ~ adjustEffectiveHost l(Lcom/groupbyinc/flux/common/http/cookie/CookieOrigin;)Lcom/groupbyinc/flux/common/http/cookie/CookieOrigin; ? ?
?
createCookies w([Lcom/groupbyinc/flux/common/http/HeaderElement;Lcom/groupbyinc/flux/common/http/cookie/CookieOrigin;)Ljava/util/List; ? ?
? header (Lcom/groupbyinc/flux/common/http/Header; origin 5Lcom/groupbyinc/flux/common/http/cookie/CookieOrigin; elems 0[Lcom/groupbyinc/flux/common/http/HeaderElement; java/util/ArrayList ? (I)V ?
? ? ? 3com/groupbyinc/flux/common/http/cookie/CookieOrigin ? java/util/List ? -com/groupbyinc/flux/common/http/HeaderElement ? ? ^ getValue ? ] ? ? isEmpty ()Z ? ?
c ? Cookie name may not be empty ? >com/groupbyinc/flux/common/http/impl/cookie/BasicClientCookie2 ? '(Ljava/lang/String;Ljava/lang/String;)V ?
? ? getDefaultPath I(Lcom/groupbyinc/flux/common/http/cookie/CookieOrigin;)Ljava/lang/String; ? ?
? setPath ? y
? ? getDefaultDomain ? ?
? setDomain ? y
? ? getPort ()I ? ?
? ? setPorts ([I)V ? ?
? ?
getParameters 2()[Lcom/groupbyinc/flux/common/http/NameValuePair; ? ? ? ? java/util/HashMap ?
? ? 0[Lcom/groupbyinc/flux/common/http/NameValuePair; ? -com/groupbyinc/flux/common/http/NameValuePair ? ? ^ java/util/Locale ? ROOT Ljava/util/Locale; ? ? ? ? toLowerCase &(Ljava/util/Locale;)Ljava/lang/String; ? ?
c ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? entrySet ()Ljava/util/Set; ? ? ?
java/util/Set ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/Iterator ? hasNext ? ? ? ? next ? 4 ? ? ? 4 ? ? ? setAttribute ? ?
? ? findAttribHandler S(Ljava/lang/String;)Lcom/groupbyinc/flux/common/http/cookie/CookieAttributeHandler; ? ?
? =com/groupbyinc/flux/common/http/cookie/CookieAttributeHandler ? G(Lcom/groupbyinc/flux/common/http/cookie/SetCookie;Ljava/lang/String;)V L ? ? ? add (Ljava/lang/Object;)Z ? ? ? ? param /Lcom/groupbyinc/flux/common/http/NameValuePair; j I attrib s Ljava/lang/String; handler ?Lcom/groupbyinc/flux/common/http/cookie/CookieAttributeHandler; entry XLjava/util/Map$Entry; Ljava/util/Map$Entry; i$ Ljava/util/Iterator; name value cookie @Lcom/groupbyinc/flux/common/http/impl/cookie/BasicClientCookie2; attribs attribmap RLjava/util/Map; Ljava/util/Map;
headerelement /Lcom/groupbyinc/flux/common/http/HeaderElement; arr$ len$ cookies ALjava/util/List; Ljava/util/List; validate g(Lcom/groupbyinc/flux/common/http/cookie/Cookie;Lcom/groupbyinc/flux/common/http/cookie/CookieOrigin;)V Cookie
/Lcom/groupbyinc/flux/common/http/cookie/Cookie; match g(Lcom/groupbyinc/flux/common/http/cookie/Cookie;Lcom/groupbyinc/flux/common/http/cookie/CookieOrigin;)Z!"
# formatCookieAsVer i(Lcom/groupbyinc/flux/common/http/util/CharArrayBuffer;Lcom/groupbyinc/flux/common/http/cookie/Cookie;I)V%&
' 3com/groupbyinc/flux/common/http/cookie/ClientCookie) port+ getAttribute &(Ljava/lang/String;)Ljava/lang/String;-.*/ ; $Port1 4com/groupbyinc/flux/common/http/util/CharArrayBuffer3 m y
45 ="7 trim9 ]
c: -com/groupbyinc/flux/common/http/cookie/Cookie< getPorts ()[I>?=@ [IB ,D java/lang/IntegerF (I)Ljava/lang/String; sH
GI "K i len ports buffer 6Lcom/groupbyinc/flux/common/http/util/CharArrayBuffer; version getHostS ]
?T lengthV ?
cW charAt (I)CYZ
c[ .local] getPath_ ]
?` isSecureb ?
?c )(Ljava/lang/String;ILjava/lang/String;Z)V e
?f ch C host isLocalHost
getVersion getVersionHeader *()Lcom/groupbyinc/flux/common/http/Header;
4 ? Cookie2p : r $Version=tl ?
v 6com/groupbyinc/flux/common/http/message/BufferedHeaderx 9(Lcom/groupbyinc/flux/common/http/util/CharArrayBuffer;)V z
y{ rfc2965} Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions Signature ?(Lcom/groupbyinc/flux/common/http/Header;Lcom/groupbyinc/flux/common/http/cookie/CookieOrigin;)Ljava/util/List; ?([Lcom/groupbyinc/flux/common/http/HeaderElement;Lcom/groupbyinc/flux/common/http/cookie/CookieOrigin;)Ljava/util/List; LocalVariableTypeTable
SourceFile InnerClasses RuntimeInvisibleAnnotations !
5 *? ? ? ?
F G ?*
? Y? Y? SY? Y? SY? !Y? "SY? $Y? %SY? 'Y? (SY? *Y? +SY? -Y? .SY? 0Y+?
+? 6? 2? ? ;? >SY? @Y? ASY ? CY? DS? G? ? ? ? H 1 ? I J ?
J ? b? ; ? c 2 8 8 Q Q? 2 8 8 Q Q 2 ? E I *,? G? ? I J K 7 ?
f g L M ? P+Q? WW,Y? WW+? _ a? g? &? OY? iY? jl? p+? u? pw? p? x? {?+? N*-,? ?? ?? ? * P P ? ? P ? ? F
? ? ? m n o p ? s F t? ?? O? ? L ? H
*+,? ?? ?? ?
? ?
? ? ? {? O? ? ? ? - =? ?Y+?? ?N+:?66?"2:? ? :? ? : ? ? ??
? OY?? {?? ?Y ? ?:
,? ?? ?
,? ?? ?
?
Y,? ?O? ?? ? :? ?Y?? ?:?d6
? '
2:? ? ? ϶ ?? ? W?
????? ? ? ? :
? ? ? X
? ? ? :? ? ? ?:? ? ? ϶ ?:
? ? ? ?*? ?:?
? ? ? ? ???-
? ? W????-? ? ? ? ? ? ? ) ?
? : ? ? + ? F ? _
, 5 Y ?
? ? ? ? ? #
. ? ) & = = ? ? = ? ?
3 ? ? F ? ?
3 ? n ?
? # ? , ? 5 ? B ? L ? Y ? b ? k ? z ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?) ?, ?5 ?; ?? t ? ? ? ? ? ? , ? c c ? I ? ? ? ? ? c c ? ? ? (?
?? [? ? ? ? ? ? O? ? c +? WW,Y? WW*+,? ??? ?
? ? ? ? ? ? ?? O !" _ +? WW,Y? WW*+,? ??$? ?
? ? ? ? ? ? %&