com.groupbyinc.flux.common.util.concurrent.ThreadContext.class Maven / Gradle / Ivy
???? 4? 8com/groupbyinc/flux/common/util/concurrent/ThreadContext java/lang/Object java/io/Closeable .com/groupbyinc/flux/common/io/stream/Writeable ThreadContext.java :com/groupbyinc/flux/common/util/concurrent/ThreadContext$1
Zcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ContextPreservingAbstractRunnable !ContextPreservingAbstractRunnable Rcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ContextPreservingRunnable ContextPreservingRunnable Kcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ContextThreadLocal ContextThreadLocal Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct ThreadContextStruct Fcom/groupbyinc/flux/common/util/concurrent/ThreadContext$StoredContext
StoredContext java/util/Map$Entry
java/util/Map Entry 4com/groupbyinc/flux/common/settings/Setting$Property +com/groupbyinc/flux/common/settings/Setting " Property %java/lang/invoke/MethodHandles$Lookup % java/lang/invoke/MethodHandles ' Lookup PREFIX Ljava/lang/String; request.headers , DEFAULT_HEADERS_SETTING -Lcom/groupbyinc/flux/common/settings/Setting; ]Lcom/groupbyinc/flux/common/settings/Setting; DEFAULT_CONTEXT NLcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct;
defaultHeader Ljava/util/Map; 5Ljava/util/Map; threadLocal MLcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ContextThreadLocal; isSystemContext Z 1(Lcom/groupbyinc/flux/common/settings/Settings;)V ()V : <
= . / ? get B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object; A B
# C ,com/groupbyinc/flux/common/settings/Settings E java/util/Collections G emptyMap ()Ljava/util/Map; I J
H K 3 4 M java/util/HashMap O
P = names ()Ljava/util/Set; R S
F T
java/util/Set V iterator ()Ljava/util/Iterator; X Y W Z java/util/Iterator \ hasNext ()Z ^ _ ] ` next ()Ljava/lang/Object; b c ] d java/lang/String f &(Ljava/lang/String;)Ljava/lang/String; A h
F i put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; k l m unmodifiableMap (Ljava/util/Map;)Ljava/util/Map; o p
H q ?(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$1;)V : s
t 6 7 v key this :Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext; settings .Lcom/groupbyinc/flux/common/settings/Settings; headers close java/io/IOException ~ <
? stashContext J()Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$StoredContext; P()Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct; A ?
? set Q(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct;)V ? ?
? "java/lang/invoke/LambdaMetafactory ? metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; ? ?
? ? ? < lambda$stashContext$0 ? ?
? ? ?(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct;)Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$StoredContext; ~ ? ? context stashAndMergeHeaders Y(Ljava/util/Map;)Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$StoredContext; (Ljava/util/Map;)V : ?
P ?
access$200 _(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct;)Ljava/util/Map; ? ?
? putAll ? ? ? 1 2 ?
access$300 ?(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct;Ljava/util/Map;)Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct; ? ?
? lambda$stashAndMergeHeaders$1 ? ?
? ? ? newHeader newStoredContext K(Z)Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$StoredContext; lambda$newStoredContext$2 R(ZLcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct;)V ? ?
? ? ?(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;ZLcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct;)Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$StoredContext; ~ ? ? preserveResponseHeaders newRestorableContext (Z)Ljava/util/function/Supplier; ? ?
? wrapRestorable g(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$StoredContext;)Ljava/util/function/Supplier; ? ?
? c lambda$wrapRestorable$3 ?(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$StoredContext;)Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$StoredContext; ? ?
? ? ? ?(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$StoredContext;)Ljava/util/function/Supplier; A ? ?
storedContext HLcom/groupbyinc/flux/common/util/concurrent/ThreadContext$StoredContext; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V
access$400 ?(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct;Lcom/groupbyinc/flux/common/io/stream/StreamOutput;Ljava/util/Map;)V ? ?
? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; readHeaders 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V q(Lcom/groupbyinc/flux/common/io/stream/StreamInput;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$1;)V : ?
? in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; getHeader &(Ljava/lang/Object;)Ljava/lang/Object; A ? ? value
getHeaders
P ? map 9Ljava/util/HashMap; Ljava/util/HashMap; getResponseHeaders
access$600 ? ?
? size ()I ? ? ? (I)V : ?
P ? entrySet ? S ? getKey ? c ? getValue ? c ? java/util/List unmodifiableList "(Ljava/util/List;)Ljava/util/List;
H
P m entry MLjava/util/Map$Entry;>; Ljava/util/Map$Entry; responseHeaders GLjava/util/Map;>; KLjava/util/HashMap;>; copyHeaders (Ljava/lang/Iterable;)V
access$700 ?(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct;Ljava/lang/Iterable;)Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct;
QLjava/lang/Iterable;>; Ljava/lang/Iterable; putHeader '(Ljava/lang/String;Ljava/lang/String;)V
access$800 ?(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct;Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct;
header putTransient '(Ljava/lang/String;Ljava/lang/Object;)V
access$900 ?(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct;Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct;
Ljava/lang/Object; getTransient &(Ljava/lang/String;)Ljava/lang/Object; access$1000% ?
& addResponseHeader ? lambda$addResponseHeader$4* h
+, h apply ()Ljava/util/function/Function;/0 1 D(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;)V(3
4 access$1100 ?(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;)Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct;67
8 uniqueValue CLjava/util/function/Function; Ljava/util/function/Function; preserveContext *(Ljava/lang/Runnable;)Ljava/lang/Runnable; ;com/groupbyinc/flux/common/util/concurrent/AbstractRunnable? ?(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;Lcom/groupbyinc/flux/common/util/concurrent/AbstractRunnable;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$1;)V :A
B ?(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;Ljava/lang/Runnable;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$1;)V :D
E command Ljava/lang/Runnable; unwrap ?()Lcom/groupbyinc/flux/common/util/concurrent/AbstractRunnable;IJ
K ()Ljava/lang/Runnable;IM
N isDefaultContext markAsSystemContext access$1400 ?(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct;)Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct;RS
T access$1500 Q(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ThreadContextStruct;)ZVW
X isClosed access$1600 z(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ContextThreadLocal;)Ljava/util/concurrent/atomic/AtomicBoolean;[\
] )java/util/concurrent/atomic/AtomicBoolean_ A _
`a v restored < e access$1900g ?
h access$1700 access$1800 ?(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;)Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$ContextThreadLocal; x0 request.headers.o NodeScope 6Lcom/groupbyinc/flux/common/settings/Setting$Property;qr !s groupSetting x(Ljava/lang/String;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;uv
#w
t
ConstantValue Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable
Exceptions (Ljava/util/Map;)Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$StoredContext; j(Z)Ljava/util/function/Supplier; ?(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$StoredContext;)Ljava/util/function/Supplier; 7()Ljava/util/Map; I()Ljava/util/Map;>; T(Ljava/lang/Iterable;>;)V 8(Ljava/util/Map;)V -(Ljava/lang/String;)TT; j(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;)V BootstrapMethods
SourceFile InnerClasses 1 * + z - . / { 0 1 2 3 4 { 5 6 7 8 9 ! : ; | m*? >? @+? D? FM,?
*? L? N? F? PY? QN,? U? [ :? a ? !? e ? g:-,? j? n W???*-? r? N*? Y? u? w? } 4 F x + % ; 3 4 m y z m { | ^ } | ~ % ; 3 5 . S T U V X % Y F Z U [ X \ ` ^ l _? ! ? F F ? ]? '? ~ <