com.groupbyinc.flux.common.http.impl.cookie.RFC6265CookieSpec.class Maven / Gradle / Ivy
???? 2? =com/groupbyinc/flux/common/http/impl/cookie/RFC6265CookieSpec java/lang/Object 1com/groupbyinc/flux/common/http/cookie/CookieSpec RFC6265CookieSpec.java 5Lcom/groupbyinc/flux/common/http/annotation/Contract; threading >Lcom/groupbyinc/flux/common/http/annotation/ThreadingBehavior; SAFE java/util/Map$Entry
java/util/Map Entry PARAM_DELIMITER C ;
COMMA_CHAR ,
EQUAL_CHAR = DQUOTE_CHAR " ESCAPE_CHAR \ TOKEN_DELIMS Ljava/util/BitSet; VALUE_DELIMS
SPECIAL_CHARS attribHandlers @[Lcom/groupbyinc/flux/common/http/cookie/CookieAttributeHandler; attribHandlerMap Ljava/util/Map; bLjava/util/Map; tokenParser 5Lcom/groupbyinc/flux/common/http/message/TokenParser; I([Lcom/groupbyinc/flux/common/http/cookie/CommonCookieAttributeHandler;)V ()V ' )
* F[Lcom/groupbyinc/flux/common/http/cookie/CommonCookieAttributeHandler; , clone ()Ljava/lang/Object; . /
- 0 ! ! 3 &java/util/concurrent/ConcurrentHashMap 5 (I)V ' 7
6 8 " # : Ccom/groupbyinc/flux/common/http/cookie/CommonCookieAttributeHandler < getAttributeName ()Ljava/lang/String; > ? = @ java/util/Locale B ROOT Ljava/util/Locale; D E C F java/lang/String H toLowerCase &(Ljava/util/Locale;)Ljava/lang/String; J K
I L put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; N O P 3com/groupbyinc/flux/common/http/message/TokenParser R INSTANCE T & S U % & W handler ELcom/groupbyinc/flux/common/http/cookie/CommonCookieAttributeHandler; arr$ len$ I i$ this ?Lcom/groupbyinc/flux/common/http/impl/cookie/RFC6265CookieSpec; handlers getDefaultPath I(Lcom/groupbyinc/flux/common/http/cookie/CookieOrigin;)Ljava/lang/String; 3com/groupbyinc/flux/common/http/cookie/CookieOrigin d getPath f ?
e g lastIndexOf (I)I i j
I k substring (II)Ljava/lang/String; m n
I o origin 5Lcom/groupbyinc/flux/common/http/cookie/CookieOrigin; defaultPath Ljava/lang/String; lastSlashIndex getDefaultDomain getHost w ?
e x 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 | Header ~ )com/groupbyinc/flux/common/http/util/Args ? notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; ? ?
? ?
Cookie origin ? &com/groupbyinc/flux/common/http/Header ? getName ? ? ? ?
Set-Cookie ? equalsIgnoreCase (Ljava/lang/String;)Z ? ?
I ? java/lang/StringBuilder ?
? * Unrecognized cookie header: ' ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? toString ? ?
? ' ?
? ? (Ljava/lang/String;)V ' ?
} ? /com/groupbyinc/flux/common/http/FormattedHeader ? getBuffer 8()Lcom/groupbyinc/flux/common/http/util/CharArrayBuffer; ? ? ? ? 4com/groupbyinc/flux/common/http/message/ParserCursor ? getValuePos ()I ? ? ? ? 4com/groupbyinc/flux/common/http/util/CharArrayBuffer ? length ? ?
? ? (II)V ' ?
? ? getValue ? ? ? ? Header value is null ?
I ?
? 8 ? ?
? ? ?
parseToken ?(Lcom/groupbyinc/flux/common/http/util/CharArrayBuffer;Lcom/groupbyinc/flux/common/http/message/ParserCursor;Ljava/util/BitSet;)Ljava/lang/String; ? ?
S ? java/util/Collections ? emptyList ()Ljava/util/List; ? ?
? ? atEnd ()Z ? ?
? ? getPos ? ?
? ? charAt (I)C ? ?
? ? updatePos ? 7
? ? Cookie value is invalid: ' ? ?
parseValue ? ?
S ? =com/groupbyinc/flux/common/http/impl/cookie/BasicClientCookie ? '(Ljava/lang/String;Ljava/lang/String;)V ' ?
? ? b c
? setPath ? ?
? ? v c
? setDomain ? ?
? ? java/util/Date ?
? * setCreationDate (Ljava/util/Date;)V ? ?
? ? java/util/LinkedHashMap ?
? * setAttribute ? ?
? ? max-age ? containsKey (Ljava/lang/Object;)Z expires remove &(Ljava/lang/Object;)Ljava/lang/Object; entrySet ()Ljava/util/Set;
java/util/Set iterator ()Ljava/util/Iterator; java/util/Iterator hasNext ? next / getKey /
? /
get" # =com/groupbyinc/flux/common/http/cookie/CookieAttributeHandler% G(Lcom/groupbyinc/flux/common/http/cookie/SetCookie;Ljava/lang/String;)V z'&(
singletonList $(Ljava/lang/Object;)Ljava/util/List;*+
?, buffer 6Lcom/groupbyinc/flux/common/http/util/CharArrayBuffer; cursor 6Lcom/groupbyinc/flux/common/http/message/ParserCursor; s
paramDelim paramName
paramValue ?Lcom/groupbyinc/flux/common/http/cookie/CookieAttributeHandler; entry ;Ljava/util/Map$Entry; Ljava/util/Map$Entry; Ljava/util/Iterator; header (Lcom/groupbyinc/flux/common/http/Header; name
valueDelim value cookie ?Lcom/groupbyinc/flux/common/http/impl/cookie/BasicClientCookie; attribMap 5Ljava/util/Map; validate g(Lcom/groupbyinc/flux/common/http/cookie/Cookie;Lcom/groupbyinc/flux/common/http/cookie/CookieOrigin;)V CookieFDE&H /Lcom/groupbyinc/flux/common/http/cookie/Cookie; match g(Lcom/groupbyinc/flux/common/http/cookie/Cookie;Lcom/groupbyinc/flux/common/http/cookie/CookieOrigin;)ZKL&M
formatCookies "(Ljava/util/List;)Ljava/util/List; List of cookiesQ notEmpty @(Ljava/util/Collection;Ljava/lang/String;)Ljava/util/Collection;ST
?U java/util/ListW sizeY ?XZ java/util/ArrayList\ (Ljava/util/Collection;)V '^
]_ ?com/groupbyinc/flux/common/http/cookie/CookiePriorityComparatora ALcom/groupbyinc/flux/common/http/cookie/CookiePriorityComparator; Tc bd sort )(Ljava/util/List;Ljava/util/Comparator;)Vfg
?h : j (I)Ljava/lang/Object;"lXm -com/groupbyinc/flux/common/http/cookie/Cookieo (C)V ?q
?rp ?p ? containsSpecialChar (Ljava/lang/CharSequence;)Zvw
x
I ?
] 8 6com/groupbyinc/flux/common/http/message/BufferedHeader| 9(Lcom/groupbyinc/flux/common/http/util/CharArrayBuffer;)V '~
} add?X?
sortedCookies BLjava/util/List<+Lcom/groupbyinc/flux/common/http/cookie/Cookie;>; Ljava/util/List; ch i n cookies ALjava/util/List; headers :Ljava/util/List; ?
containsChars -(Ljava/lang/CharSequence;Ljava/util/BitSet;)Z??
? Ljava/lang/CharSequence; java/lang/CharSequence?? ?? ? java/util/BitSet? (I)Z"?
?? chars
getVersion getVersionHeader *()Lcom/groupbyinc/flux/common/http/Header; INIT_BITSET ([I)Ljava/util/BitSet;??
S?
ConstantValue Signature Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable
Exceptions ?(Lcom/groupbyinc/flux/common/http/Header;Lcom/groupbyinc/flux/common/http/cookie/CookieOrigin;)Ljava/util/List; }(Ljava/util/List;)Ljava/util/List;
SourceFile InnerClasses RuntimeInvisibleAnnotations ! ? ? ? ? ? ! " # ? $ % &