com.groupbyinc.flux.rest.DeprecationRestHandler.class Maven / Gradle / Ivy
???? 4 \ /com/groupbyinc/flux/rest/DeprecationRestHandler java/lang/Object $com/groupbyinc/flux/rest/RestHandler DeprecationRestHandler.java handler &Lcom/groupbyinc/flux/rest/RestHandler; deprecationMessage Ljava/lang/String; deprecationLogger 6Lcom/groupbyinc/flux/common/logging/DeprecationLogger; q(Lcom/groupbyinc/flux/rest/RestHandler;Ljava/lang/String;Lcom/groupbyinc/flux/common/logging/DeprecationLogger;)V ()V
java/util/Objects requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object;
requireValidHeader &(Ljava/lang/String;)Ljava/lang/String;
4com/groupbyinc/flux/common/logging/DeprecationLogger !
# this 1Lcom/groupbyinc/flux/rest/DeprecationRestHandler;
handleRequest {(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/rest/RestChannel;Lcom/groupbyinc/flux/client/node/NodeClient;)V java/lang/Exception )
deprecated ((Ljava/lang/String;[Ljava/lang/Object;)V + ,
" - ' ( / request &Lcom/groupbyinc/flux/rest/RestRequest; channel &Lcom/groupbyinc/flux/rest/RestChannel; client ,Lcom/groupbyinc/flux/client/node/NodeClient; validHeaderValue (Ljava/lang/String;)Z "com/groupbyinc/flux/common/Strings 9 hasText ; 8
: < java/lang/String > length ()I @ A
? B charAt (I)C D E
? F c C i I value 7 8
M "java/lang/IllegalArgumentException O ,header value must contain only US ASCII text Q (Ljava/lang/String;)V S
P T Code LocalVariableTable LineNumberTable
Exceptions
StackMapTable
SourceFile !
V { #*? *+? ? ? *,? ? *-? ? "? $? W * # % &