io.netty.handler.codec.DefaultHeaders.class Maven / Gradle / Ivy
???? 2? %io/netty/handler/codec/DefaultHeaders ?;>Ljava/lang/Object;Lio/netty/handler/codec/Headers; java/lang/Object io/netty/handler/codec/Headers DefaultHeaders.java 'io/netty/handler/codec/DefaultHeaders$1 1io/netty/handler/codec/DefaultHeaders$HeaderEntry HeaderEntry 4io/netty/handler/codec/DefaultHeaders$HeaderIterator HeaderIterator 3io/netty/handler/codec/DefaultHeaders$NameValidator
NameValidator java/util/Map$Entry
java/util/Map Entry HASH_CODE_SEED I²?5 entries 4[Lio/netty/handler/codec/DefaultHeaders$HeaderEntry; <[Lio/netty/handler/codec/DefaultHeaders$HeaderEntry; head 3Lio/netty/handler/codec/DefaultHeaders$HeaderEntry; ;Lio/netty/handler/codec/DefaultHeaders$HeaderEntry; hashMask B valueConverter 'Lio/netty/handler/codec/ValueConverter; ,Lio/netty/handler/codec/ValueConverter;
nameValidator 5Lio/netty/handler/codec/DefaultHeaders$NameValidator; :Lio/netty/handler/codec/DefaultHeaders$NameValidator; hashingStrategy Lio/netty/util/HashingStrategy; $Lio/netty/util/HashingStrategy; size *(Lio/netty/handler/codec/ValueConverter;)V io/netty/util/HashingStrategy 0 JAVA_HASHER 2 + 1 3 I(Lio/netty/util/HashingStrategy;Lio/netty/handler/codec/ValueConverter;)V . 5
6 this 2Lio/netty/handler/codec/DefaultHeaders; 'Lio/netty/handler/codec/DefaultHeaders; _(Lio/netty/handler/codec/ValueConverter;Lio/netty/handler/codec/DefaultHeaders$NameValidator;)V ~(Lio/netty/util/HashingStrategy;Lio/netty/handler/codec/ValueConverter;Lio/netty/handler/codec/DefaultHeaders$NameValidator;)V . <
= NOT_NULL ? ( @ nameHashingStrategy (Lio/netty/util/HashingStrategy;Lio/netty/handler/codec/ValueConverter;Lio/netty/handler/codec/DefaultHeaders$NameValidator;I)V . C
D ()V . F
G $ !io/netty/util/internal/ObjectUtil J checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; L M
K N %io/netty/handler/codec/ValueConverter P $ % R ' ' ( U B * + X java/lang/Math Z min (II)I \ ]
[ ^ max ` ]
[ a io/netty/util/internal/MathUtil c findNextPositivePowerOfTwo (I)I e f
d g i " # k
G n
arraySizeHint get &(Ljava/lang/Object;)Ljava/lang/Object; name s hashCode (Ljava/lang/Object;)I u v 1 w index y f
z hash | } key Ljava/lang/Object; ? ? equals '(Ljava/lang/Object;Ljava/lang/Object;)Z ? ? 1 ? value ? ? ? next ? ? TK; h i e TV; 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; q r
? defaultValue getAndRemove remove0 ((IILjava/lang/Object;)Ljava/lang/Object; ? ?
? ? r
? getAll $(Ljava/lang/Object;)Ljava/util/List; java/util/LinkedList ?
? G getValue ()Ljava/lang/Object; ? ?
? addFirst (Ljava/lang/Object;)V ? ?
? ? values Ljava/util/LinkedList; Ljava/util/LinkedList; getAllAndRemove ? ?
? remove (Ljava/lang/Object;)Z ? ?
? all Ljava/util/List; Ljava/util/List; contains containsObject ?
convertObject ? r Q ? ? ?
? containsBoolean (Ljava/lang/Object;Z)Z convertBoolean (Z)Ljava/lang/Object; ? ? Q ? Z containsByte (Ljava/lang/Object;B)Z convertByte (B)Ljava/lang/Object; ? ? Q ? containsChar (Ljava/lang/Object;C)Z convertChar (C)Ljava/lang/Object; ? ? Q ? C
containsShort (Ljava/lang/Object;S)Z convertShort (S)Ljava/lang/Object; ? ? Q ? S containsInt (Ljava/lang/Object;I)Z
convertInt (I)Ljava/lang/Object; ? ? Q ? containsLong (Ljava/lang/Object;J)Z convertLong (J)Ljava/lang/Object; ? ? Q ? J
containsFloat (Ljava/lang/Object;F)Z convertFloat (F)Ljava/lang/Object; ? ? Q ? F containsDouble (Ljava/lang/Object;D)Z
convertDouble (D)Ljava/lang/Object; ? ? Q ? D containsTimeMillis convertTimeMillis ? ? Q ? F(Ljava/lang/Object;Ljava/lang/Object;Lio/netty/util/HashingStrategy;)Z ? ?
? valueHashingStrategy %Lio/netty/util/HashingStrategy<-TV;>; ()I - ? isEmpty ()Z after names ()Ljava/util/Set;
java/util/Collections
emptySet
java/util/LinkedHashSet - ?
(I)V .
java/util/Set getKey ?
add ? Ljava/util/Set; Ljava/util/Set; F(Ljava/lang/Object;Ljava/lang/Object;)Lio/netty/handler/codec/Headers; validateName! ? " add0 )(IILjava/lang/Object;Ljava/lang/Object;)V$%
& thisT "()Lio/netty/handler/codec/Headers;()
* H(Ljava/lang/Object;Ljava/lang/Iterable;)Lio/netty/handler/codec/Headers; java/lang/Iterable- iterator ()Ljava/util/Iterator;/0.1 java/util/Iterator3 hasNext546 ? ?48 v Ljava/lang/Iterable<+TV;>; Ljava/lang/Iterable; G(Ljava/lang/Object;[Ljava/lang/Object;)Lio/netty/handler/codec/Headers; [Ljava/lang/Object;> [TV; addObject
BA
D Ljava/lang/Iterable<*>; addInt 5(Ljava/lang/Object;I)Lio/netty/handler/codec/Headers; addLong 5(Ljava/lang/Object;J)Lio/netty/handler/codec/Headers; addDouble 5(Ljava/lang/Object;D)Lio/netty/handler/codec/Headers;
addTimeMillis addChar 5(Ljava/lang/Object;C)Lio/netty/handler/codec/Headers;
addBoolean 5(Ljava/lang/Object;Z)Lio/netty/handler/codec/Headers; addFloat 5(Ljava/lang/Object;F)Lio/netty/handler/codec/Headers; addByte 5(Ljava/lang/Object;B)Lio/netty/handler/codec/Headers; addShort 5(Ljava/lang/Object;S)Lio/netty/handler/codec/Headers; B(Lio/netty/handler/codec/Headers;)Lio/netty/handler/codec/Headers; "java/lang/IllegalArgumentExceptionY can't add to itself.[ (Ljava/lang/String;)V .]
Z^ addImpl #(Lio/netty/handler/codec/Headers;)V`a
b headers +Lio/netty/handler/codec/Headers<+TK;+TV;*>; Lio/netty/handler/codec/Headers; 1 ? defaultHeaders 4Lio/netty/handler/codec/DefaultHeaders<+TK;+TV;TT;>; =Lio/netty/handler/codec/DefaultHeaders$HeaderEntry<+TK;+TV;>; header Ljava/util/Map$Entry<+TK;+TV;>; Ljava/util/Map$Entry; set ? setObject convertedValuesp
u setInt setLong setDouble
setTimeMillis setFloat setChar
setBoolean setByte setShort clear?)
? setAll ?1 java/util/Arrays? fill (([Ljava/lang/Object;Ljava/lang/Object;)V??
?? before? ? S(Lio/netty/handler/codec/DefaultHeaders;Lio/netty/handler/codec/DefaultHeaders$1;)V .?
?
getBoolean '(Ljava/lang/Object;)Ljava/lang/Boolean; convertToBoolean? ? Q? java/lang/Boolean? valueOf (Z)Ljava/lang/Boolean;??
????
? booleanValue?
?? Ljava/lang/Boolean; getByte $(Ljava/lang/Object;)Ljava/lang/Byte;
convertToByte (Ljava/lang/Object;)B?? Q? java/lang/Byte? (B)Ljava/lang/Byte;??
?? (Ljava/lang/Object;B)B??
? byteValue ()B??
?? Ljava/lang/Byte; getChar )(Ljava/lang/Object;)Ljava/lang/Character;
convertToChar (Ljava/lang/Object;)C?? Q? java/lang/Character? (C)Ljava/lang/Character;??
?? (Ljava/lang/Object;C)C??
? charValue ()C??
?? Ljava/lang/Character; getShort %(Ljava/lang/Object;)Ljava/lang/Short; convertToShort (Ljava/lang/Object;)S?? Q? java/lang/Short? (S)Ljava/lang/Short;??
?? (Ljava/lang/Object;S)S??
?
shortValue ()S??
?? Ljava/lang/Short; getInt '(Ljava/lang/Object;)Ljava/lang/Integer; convertToInt? v Q? java/lang/Integer? (I)Ljava/lang/Integer;??
?? (Ljava/lang/Object;I)I??
? intValue? ?
?? Ljava/lang/Integer; getLong $(Ljava/lang/Object;)Ljava/lang/Long;
convertToLong (Ljava/lang/Object;)J?? Q? java/lang/Long? (J)Ljava/lang/Long;??
?? (Ljava/lang/Object;J)J??
? longValue ()J??
?? Ljava/lang/Long; getFloat %(Ljava/lang/Object;)Ljava/lang/Float; convertToFloat (Ljava/lang/Object;)F Q java/lang/Float (F)Ljava/lang/Float;?
(Ljava/lang/Object;F)F
floatValue ()F
Ljava/lang/Float; getDouble &(Ljava/lang/Object;)Ljava/lang/Double; convertToDouble (Ljava/lang/Object;)D Q java/lang/Double (D)Ljava/lang/Double;?
(Ljava/lang/Object;D)D
doubleValue ()D"#
$ Ljava/lang/Double;
getTimeMillis convertToTimeMillis(? Q)'?
+ getBooleanAndRemove-?
. getByteAndRemove0?
1 getCharAndRemove java/lang/Throwable4 ignored Ljava/lang/Throwable;3?
8 getShortAndRemove:?
; getIntAndRemove=?
> getLongAndRemove@?
A getFloatAndRemoveC
D getDoubleAndRemoveF
G getTimeMillisAndRemoveI?
J B(Lio/netty/handler/codec/Headers;Lio/netty/util/HashingStrategy;)Z ?L
M o "(Lio/netty/util/HashingStrategy;)I uP
Q
? ? java/util/ListVW q ?WY otherValues h2 )Lio/netty/handler/codec/Headers; $Lio/netty/util/HashingStrategy; result toString ()Ljava/lang/String; java/lang/StringBuilderb getClass ()Ljava/lang/Class;de
f java/lang/Classh
getSimpleNameja
ik
c^ append (C)Ljava/lang/StringBuilder;no
cp r java/lang/Stringt -(Ljava/lang/String;)Ljava/lang/StringBuilder;nv
cw -(Ljava/lang/Object;)Ljava/lang/StringBuilder;ny
cz : | , ~`a
c? builder Ljava/lang/StringBuilder; separator Ljava/lang/String; newHeaderEntry ?(ILjava/lang/Object;Ljava/lang/Object;Lio/netty/handler/codec/DefaultHeaders$HeaderEntry;)Lio/netty/handler/codec/DefaultHeaders$HeaderEntry; ?(ILjava/lang/Object;Ljava/lang/Object;Lio/netty/handler/codec/DefaultHeaders$HeaderEntry;Lio/netty/handler/codec/DefaultHeaders$HeaderEntry;)V .?
? )()Lio/netty/handler/codec/ValueConverter;??
? ? F
?
ConstantValue Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable /(Lio/netty/handler/codec/ValueConverter;)V i(Lio/netty/handler/codec/ValueConverter;Lio/netty/handler/codec/DefaultHeaders$NameValidator;)V S(Lio/netty/util/HashingStrategy;Lio/netty/handler/codec/ValueConverter;)V ?(Lio/netty/util/HashingStrategy;Lio/netty/handler/codec/ValueConverter;Lio/netty/handler/codec/DefaultHeaders$NameValidator;)V ?(Lio/netty/util/HashingStrategy;Lio/netty/handler/codec/ValueConverter;Lio/netty/handler/codec/DefaultHeaders$NameValidator;I)V
StackMapTable (TK;)TV; (TK;TV;)TV; (TK;)Ljava/util/List; (TK;)Z (TK;Ljava/lang/Object;)Z (TK;Z)Z (TK;B)Z (TK;C)Z (TK;S)Z (TK;I)Z (TK;J)Z (TK;F)Z (TK;D)Z (TK;TV;)Z .(TK;TV;Lio/netty/util/HashingStrategy<-TV;>;)Z ()Ljava/util/Set; (TK;TV;)TT; "(TK;Ljava/lang/Iterable<+TV;>;)TT; (TK;[TV;)TT; (TK;Ljava/lang/Object;)TT; (TK;Ljava/lang/Iterable<*>;)TT; (TK;[Ljava/lang/Object;)TT; (TK;I)TT; (TK;J)TT; (TK;D)TT; (TK;C)TT; (TK;Z)TT; (TK;F)TT; (TK;B)TT; (TK;S)TT; 0(Lio/netty/handler/codec/Headers<+TK;+TV;*>;)TT; .(Lio/netty/handler/codec/Headers<+TK;+TV;*>;)V ()TT; 5()Ljava/util/Iterator;>; (TK;)Ljava/lang/Boolean; (TK;)Ljava/lang/Byte; (TK;B)B (TK;)Ljava/lang/Character; (TK;C)C (TK;)Ljava/lang/Short; (TK;S)S (TK;)Ljava/lang/Integer; (TK;I)I (TK;)Ljava/lang/Long; (TK;J)J (TK;)Ljava/lang/Float; (TK;F)F (TK;)Ljava/lang/Double; (TK;D)D P(Lio/netty/handler/codec/Headers;Lio/netty/util/HashingStrategy;)Z '(Lio/netty/util/HashingStrategy;)I (ITK;TV;Lio/netty/handler/codec/DefaultHeaders$HeaderEntry;)Lio/netty/handler/codec/DefaultHeaders$HeaderEntry; .()Lio/netty/handler/codec/ValueConverter; (IITK;TV;)V
(IITK;)TV;
SourceFile InnerClasses ! ? ? ? ! " # $ % ? &