![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.handler.codec.http.cookie.ServerCookieEncoder.class Maven / Gradle / Ivy
The newest version!
???? 2
J ? ?
?
F ? ^
? ? ? ? ? ?
F ?
? ? ?
? ?
? ? ? ?? ? ?
? ? ? ?
? ?
? ?
? ?
? ?
? ? ? ? ? ? ? ? ?
? ? ? ?
? ? ? ? ? ? @ ? ? ? ? ? ?
0 ? ? ? ?
2 ? ? ? ? ? | }
? ? F ? ?
; ?
0 ? ? ?
F ? ? @ ? @ ? ? C ?
2 ? ?
F ? F ? F ? ? STRICT 8Lio/netty/handler/codec/http/cookie/ServerCookieEncoder; LAX (Z)V Code LineNumberTable LocalVariableTable this strict Z encode 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; name Ljava/lang/String; value ?(Lio/netty/handler/codec/http/cookie/Cookie;)Ljava/lang/String; expires Ljava/util/Date; cookie +Lio/netty/handler/codec/http/cookie/Cookie; buf Ljava/lang/StringBuilder;
StackMapTable ? ? dedup 1(Ljava/util/List;Ljava/util/Map;)Ljava/util/List; idx I i n encoded Ljava/util/List; nameToLastIndex Ljava/util/Map; isLastInstance [Z dedupd LocalVariableTypeTable $Ljava/util/List; 6Ljava/util/Map; p ? ? Signature ?(Ljava/util/List;Ljava/util/Map;)Ljava/util/List; >([Lio/netty/handler/codec/http/cookie/Cookie;)Ljava/util/List; c cookies ,[Lio/netty/handler/codec/http/cookie/Cookie; nameToIndex hasDupdName ? ? ? ? R([Lio/netty/handler/codec/http/cookie/Cookie;)Ljava/util/List; ((Ljava/util/Collection;)Ljava/util/List; Ljava/util/Collection; DLjava/util/Collection<+Lio/netty/handler/codec/http/cookie/Cookie;>; ? j(Ljava/util/Collection<+Lio/netty/handler/codec/http/cookie/Cookie;>;)Ljava/util/List; &(Ljava/lang/Iterable;)Ljava/util/List; Ljava/lang/Iterable; cookiesIt Ljava/util/Iterator; firstCookie BLjava/lang/Iterable<+Lio/netty/handler/codec/http/cookie/Cookie;>; BLjava/util/Iterator<+Lio/netty/handler/codec/http/cookie/Cookie;>; ? h(Ljava/lang/Iterable<+Lio/netty/handler/codec/http/cookie/Cookie;>;)Ljava/util/List; ()V
SourceFile ServerCookieEncoder.java N O 0io/netty/handler/codec/http/cookie/DefaultCookie N ? V [ ? ? ? )io/netty/handler/codec/http/cookie/Cookie X ? Z ? ? ? ? ? ? ? ? ? ? ? ? ? ? java/lang/Long 4io/netty/handler/codec/http/cookie/CookieHeaderNames Max-Age ? ? java/util/Date ? ? ? N ? Expires ? ? ? ? ? ? ? ? )io/netty/handler/codec/http/HttpConstants ? ? Path ? ? Domain ? ? Secure ? ? ? HTTPOnly ? ? ? ?
java/lang/Integer java/util/ArrayList N
? T U java/util/HashMap N ? e f java/util/Collection ? java/lang/Iterable 6io/netty/handler/codec/http/cookie/ServerCookieEncoder K L M L 0io/netty/handler/codec/http/cookie/CookieEncoder java/lang/String java/lang/StringBuilder java/util/Iterator java/util/List
java/util/Map '(Ljava/lang/String;Ljava/lang/String;)V !io/netty/util/internal/ObjectUtil checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; ()Ljava/lang/String; validateCookie -io/netty/handler/codec/http/cookie/CookieUtil
stringBuilder ()Ljava/lang/StringBuilder; wrap ()Z addQuoted @(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V add maxAge ()J /(Ljava/lang/StringBuilder;Ljava/lang/String;J)V java/lang/System currentTimeMillis (J)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (C)Ljava/lang/StringBuilder; $io/netty/handler/codec/DateFormatter D(Ljava/util/Date;Ljava/lang/StringBuilder;)Ljava/lang/StringBuilder; path domain isSecure .(Ljava/lang/StringBuilder;Ljava/lang/String;)V
isHttpOnly stripTrailingSeparator -(Ljava/lang/StringBuilder;)Ljava/lang/String; size ()I values ()Ljava/util/Collection; iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; intValue (I)V get (I)Ljava/lang/Object; (Ljava/lang/Object;)Z java/util/Collections emptyList ()Ljava/util/List; valueOf (I)Ljava/lang/Integer; put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; isEmpty 1 F J K L M L N O P > *? ? Q
F G R S L T U V W P L *? Y+,? ? ? Q Q R S L X Y Z Y V [ P ? ?+? ? ? M+? ? +? ?
N*,-? ? :+?
?
,-? ?
,-? +? ?? O+? ? ? Y+? i? a? :? W=? W? W;? W ? W+? ! ? "+? ! ? +? # ? $+? # ? +? % ?
&? '+? ( ?
)? '? *? Q b [ \ $ ^ * ` / b 8 c B e I h V i c j z k ? l ? m ? n ? o ? r ? s ? v ? w ? y ? z ? | ? } ? ? R > z ( \ ] ? S L ? ^ _ ? X Y $ ? Z Y / ? ` a b ? ! cA c? c d? X
e f P B r*? + ?M+? , ? - N-? . ? -? / ? 0? 16,T??? 2Y+? 3 ? 4N6*? + 6? ,3? -*? 5 ? 6 W????-? Q *
? ? , ? 1 ? 4 ? B ? T ? [ ? j ? p ? R H , g h E + i h M # j h r k l r m n i o p B 0 q l r r k s r m t B 0 q s b ? u v? ? w? x y ? V z P ? ?+7? ? 8?? ? 9?? 2Y+?? 4M*? :? +??
? ;Y?