com.groupbyinc.flux.common.apache.http.impl.cookie.LaxMaxAgeHandler.class Maven / Gradle / Ivy
???? 2 m Ccom/groupbyinc/flux/common/apache/http/impl/cookie/LaxMaxAgeHandler Qcom/groupbyinc/flux/common/apache/http/impl/cookie/AbstractCookieAttributeHandler Jcom/groupbyinc/flux/common/apache/http/cookie/CommonCookieAttributeHandler LaxMaxAgeHandler.java =Lcom/groupbyinc/flux/common/apache/http/annotation/Immutable; MAX_AGE_PATTERN Ljava/util/regex/Pattern; ()V
this ELcom/groupbyinc/flux/common/apache/http/impl/cookie/LaxMaxAgeHandler; parse N(Lcom/groupbyinc/flux/common/apache/http/cookie/SetCookie;Ljava/lang/String;)V Fcom/groupbyinc/flux/common/apache/http/cookie/MalformedCookieException java/lang/NumberFormatException Cookie 0com/groupbyinc/flux/common/apache/http/util/Args notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
5com/groupbyinc/flux/common/apache/http/util/TextUtils isBlank (Ljava/lang/CharSequence;)Z ! "
#
% java/util/regex/Pattern ' matcher 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; ) *
( + java/util/regex/Matcher - matches ()Z / 0
. 1 java/lang/Integer 3 parseInt (Ljava/lang/String;)I 5 6
4 7 7com/groupbyinc/flux/common/apache/http/cookie/SetCookie 9 java/lang/String ; java/util/Date = java/lang/System ? currentTimeMillis ()J A B
@ C ? (J)V G
> H?
setExpiryDate (Ljava/util/Date;)V L M : N e !Ljava/lang/NumberFormatException; age I
expiryDate Ljava/util/Date; cookie 9Lcom/groupbyinc/flux/common/apache/http/cookie/SetCookie; value Ljava/lang/String; Ljava/util/regex/Matcher; getAttributeName ()Ljava/lang/String; max-age ] ^\-?[0-9]+$ ` compile -(Ljava/lang/String;)Ljava/util/regex/Pattern; b c
( d Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile RuntimeInvisibleAnnotations !
f 3 *? ? g h
3 4 f Y+? W,? $? ?? &,? ,N-? 2? =,? 86? :?? ? >Y? D? Eia? I?
? >Y J? I:+? O ? $ ' g H ) P Q $ 4 R S P T U Y Y V W Y X Y B ) Z h 2 8 9 : <