com.groupbyinc.flux.common.http.impl.cookie.RFC2965PortAttributeHandler.class Maven / Gradle / Ivy
???? 2 ? Gcom/groupbyinc/flux/common/http/impl/cookie/RFC2965PortAttributeHandler java/lang/Object Ccom/groupbyinc/flux/common/http/cookie/CommonCookieAttributeHandler RFC2965PortAttributeHandler.java 5Lcom/groupbyinc/flux/common/http/annotation/Contract; threading >Lcom/groupbyinc/flux/common/http/annotation/ThreadingBehavior; IMMUTABLE ()V
this ILcom/groupbyinc/flux/common/http/impl/cookie/RFC2965PortAttributeHandler; parsePortAttribute (Ljava/lang/String;)[I ?com/groupbyinc/flux/common/http/cookie/MalformedCookieException java/lang/NumberFormatException java/util/StringTokenizer , '(Ljava/lang/String;Ljava/lang/String;)V
countTokens ()I
! [I #
hasMoreTokens ()Z % &
' nextToken ()Ljava/lang/String; ) *
+ java/lang/String - trim / *
. 0 java/lang/Integer 2 parseInt (Ljava/lang/String;)I 4 5
3 6 Invalid Port attribute. 8 (Ljava/lang/String;)V :
; java/lang/StringBuilder =
> Invalid Port attribute: @ append -(Ljava/lang/String;)Ljava/lang/StringBuilder; B C
> D
getMessage F *
G toString I *
> J i I e !Ljava/lang/NumberFormatException; portValue Ljava/lang/String; st Ljava/util/StringTokenizer; ports portMatch (I[I)Z port2 arr$ len$ i$ port
portInList Z parse G(Lcom/groupbyinc/flux/common/http/cookie/SetCookie;Ljava/lang/String;)V Cookie ` )com/groupbyinc/flux/common/http/util/Args b notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; d e
c f 1com/groupbyinc/flux/common/http/cookie/SetCookie2 h isEmpty j &
. k
m setPorts ([I)V o p i q cookie2 3Lcom/groupbyinc/flux/common/http/cookie/SetCookie2; cookie 2Lcom/groupbyinc/flux/common/http/cookie/SetCookie; validate g(Lcom/groupbyinc/flux/common/http/cookie/Cookie;Lcom/groupbyinc/flux/common/http/cookie/CookieOrigin;)V
Cookie origin y 3com/groupbyinc/flux/common/http/cookie/CookieOrigin { getPort }
| ~ 3com/groupbyinc/flux/common/http/cookie/ClientCookie ? [ containsAttribute (Ljava/lang/String;)Z ? ? ? ? -com/groupbyinc/flux/common/http/cookie/Cookie ? getPorts ()[I ? ? ? ? U V
? Jcom/groupbyinc/flux/common/http/cookie/CookieRestrictionViolationException ? OPort attribute violates RFC 2965: Request port not found in cookie's port list. ?
? ; /Lcom/groupbyinc/flux/common/http/cookie/Cookie; origin 5Lcom/groupbyinc/flux/common/http/cookie/CookieOrigin; match g(Lcom/groupbyinc/flux/common/http/cookie/Cookie;Lcom/groupbyinc/flux/common/http/cookie/CookieOrigin;)Z getAttributeName Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile RuntimeInvisibleAnnotations !
? 3 *? ? ? ?
5 6
? b? Y*? L+? "?
M>+? (? &,+? ,? 1? 7O,.?
? Y9? ???٧ "N? Y? >Y? ?A? E-? H? E? K? ,? > A ? 4 * L M B N O b P Q W R S P T # ? 2 C D F G H ( I . J 8 L > Q A N B O ` R ? ? $#? B ?
U V ? ? +=+N-?66? -.6? =? ????? ? H W M % X # ! Y M Z M + [ M + T # ) \ ] ? _ ` a b c # ` ) f ? ? $ $ ? ^ _ ? ? 0+a? gW+? i? $+? iN,? ,? 1? l? ,? n:-? r ? ? 4 ' T # s t 0 0 u v 0 P Q ? o p q r ! s ' t / w ? / ? w x ? ? @+a? gW,z? gW,? >+? ?? (+? ??? ? ? +? ? ? ??
? ?Y?? ??? ? * @ @ u ? @ ? ? - [ M ? ? ? ? ? ( ? 5 ? ? ? ? ? ? ? ? ? ? ? D+a? gW,z? gW,? >+? ?? ++? ??? ? ? +? ? ? ?+? ? ? ?? ?? ? * D D u ? D ? ? 1 [ M ? &