All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.rest.RestController.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????3{'com/groupbyinc/flux/rest/RestControllerlLcom/groupbyinc/flux/common/component/AbstractLifecycleComponent;?com/groupbyinc/flux/common/component/AbstractLifecycleComponentRestController.java)com/groupbyinc/flux/rest/RestController$29com/groupbyinc/flux/rest/RestController$RestHandlerFilter	RestHandlerFilter=com/groupbyinc/flux/rest/RestController$ControllerFilterChainControllerFilterChain)com/groupbyinc/flux/rest/RestController$1+com/groupbyinc/flux/rest/RestRequest$Method$com/groupbyinc/flux/rest/RestRequestMethodEcom/groupbyinc/flux/common/google/common/collect/ImmutableSet$Builder=com/groupbyinc/flux/common/google/common/collect/ImmutableSetBuilder0com/groupbyinc/flux/common/path/PathTrie$Decoder(com/groupbyinc/flux/common/path/PathTrieDecoderrelevantHeaders?Lcom/groupbyinc/flux/common/google/common/collect/ImmutableSet;SLcom/groupbyinc/flux/common/google/common/collect/ImmutableSet;getHandlers*Lcom/groupbyinc/flux/common/path/PathTrie;RLcom/groupbyinc/flux/common/path/PathTrie;postHandlersputHandlersdeleteHandlersheadHandlersoptionsHandlers
handlerFilter;Lcom/groupbyinc/flux/rest/RestController$RestHandlerFilter;filters&[Lcom/groupbyinc/flux/rest/RestFilter;1(Lcom/groupbyinc/flux/common/settings/Settings;)V*Lcom/groupbyinc/flux/common/inject/Inject;/0
2ofA()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableSet;45
6 !	8*com/groupbyinc/flux/rest/support/RestUtils:REST_DECODER2Lcom/groupbyinc/flux/common/path/PathTrie$Decoder;<=	;>5(Lcom/groupbyinc/flux/common/path/PathTrie$Decoder;)V/@
A#$	C&$	E'$	G($	I)$	K*$	M,(Lcom/groupbyinc/flux/rest/RestController;)V/O

P+,	R#com/groupbyinc/flux/rest/RestFilterT-.	Vthis)Lcom/groupbyinc/flux/rest/RestController;settings.Lcom/groupbyinc/flux/common/settings/Settings;doStart()VdoStopdoClose.closea]
Ubfilter%Lcom/groupbyinc/flux/rest/RestFilter;registerRelevantHeaders([Ljava/lang/String;)V/]
haddAll](Ljava/lang/Iterable;)Lcom/groupbyinc/flux/common/google/common/collect/ImmutableSet$Builder;jk
ladd\([Ljava/lang/Object;)Lcom/groupbyinc/flux/common/google/common/collect/ImmutableSet$Builder;no
pbuildr5
sheaders[Ljava/lang/String;registerFilter((Lcom/groupbyinc/flux/rest/RestFilter;)Vjava/lang/Systemy	arraycopy*(Ljava/lang/Object;ILjava/lang/Object;II)V{|
z}
Pjava/util/Arrays?sort,([Ljava/lang/Object;Ljava/util/Comparator;)V??
??preProcessorcopyregisterHandlerh(Lcom/groupbyinc/flux/rest/RestRequest$Method;Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestHandler;)V4$SwitchMap$org$elasticsearch$rest$RestRequest$Method[I??	?ordinal()I??
?insert'(Ljava/lang/String;Ljava/lang/Object;)V??
?"java/lang/IllegalArgumentException?java/lang/StringBuilder?
?hCan't handle [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??] for path [?]?toString()Ljava/lang/String;??
??(Ljava/lang/String;)V/?
??method-Lcom/groupbyinc/flux/rest/RestRequest$Method;pathLjava/lang/String;handler&Lcom/groupbyinc/flux/rest/RestHandler;filterChainOrNullQ(Lcom/groupbyinc/flux/rest/RestFilter;)Lcom/groupbyinc/flux/rest/RestFilterChain;%Lcom/groupbyinc/flux/common/Nullable;Q(Lcom/groupbyinc/flux/rest/RestController;Lcom/groupbyinc/flux/rest/RestFilter;)V/?

?executionFilterfilterChaindispatchRequestO(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/rest/RestChannel;)Vjava/lang/Throwable?checkRequestParametersO(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/rest/RestChannel;)Z??
?executeHandler??
?*com/groupbyinc/flux/rest/BytesRestResponse?>(Lcom/groupbyinc/flux/rest/RestChannel;Ljava/lang/Throwable;)V/?
??$com/groupbyinc/flux/rest/RestChannel?sendResponse*(Lcom/groupbyinc/flux/rest/RestResponse;)V??
??logger-Lcom/groupbyinc/flux/common/logging/ESLogger;??	?)failed to send failure response for uri [?uri??
?java/lang/Object?+com/groupbyinc/flux/common/logging/ESLogger?error=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V????continueProcessing??

?e1Ljava/lang/Throwable;e?Lcom/groupbyinc/flux/rest/RestController$ControllerFilterChain;request&Lcom/groupbyinc/flux/rest/RestRequest;channel&Lcom/groupbyinc/flux/rest/RestChannel;java/io/IOException?detailedErrorsEnabled()Z??
??error_trace?paramAsBoolean(Ljava/lang/String;Z)Z??
?newErrorBuilder7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??3com/groupbyinc/flux/common/xcontent/XContentBuilder?startObject?
?'error traces in responses are disabled.field[(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
		endObject?
string?
#com/groupbyinc/flux/rest/RestStatusBAD_REQUEST%Lcom/groupbyinc/flux/rest/RestStatus;	](Lcom/groupbyinc/flux/rest/RestStatus;Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)V/
?Content-Typeapplication/json%com/groupbyinc/flux/rest/RestResponse	addHeader'(Ljava/lang/String;Ljava/lang/String;)V !
"Failed to send response$warn&??'builder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;response'Lcom/groupbyinc/flux/rest/RestResponse;Ljava/io/IOException;java/lang/Exception.
getHandlerN(Lcom/groupbyinc/flux/rest/RestRequest;)Lcom/groupbyinc/flux/rest/RestHandler;01
2$com/groupbyinc/flux/rest/RestHandler4
handleRequest6?57/()Lcom/groupbyinc/flux/rest/RestRequest$Method;?9
:OPTIONS<?	=OK?	@((Lcom/groupbyinc/flux/rest/RestStatus;)V/B
?CNo handler found for uri [E] and method [G:(Lcom/groupbyinc/flux/rest/RestStatus;Ljava/lang/String;)V/I
?JgetPath:(Lcom/groupbyinc/flux/rest/RestRequest;)Ljava/lang/String;LM
NGETP?	Qparams()Ljava/util/Map;ST
Uretrieve5(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/Object;WX
Yjava/lang/String[POST]?	^PUT`?	aDELETEc?	dHEADf?	grawPathi?
j
access$000Q(Lcom/groupbyinc/flux/rest/RestController;)[Lcom/groupbyinc/flux/rest/RestFilter;x0
access$100X(Lcom/groupbyinc/flux/rest/RestController;)Lcom/groupbyinc/flux/common/logging/ESLogger;	SignatureCodeLocalVariableTableLineNumberTableRuntimeVisibleAnnotations
StackMapTableU()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableSet;
Exceptions
SourceFileInnerClasses!	 !q"#$q%&$q%'$q%($q%)$q%*$q%+,-./0r?u*+?3*?7?9*?Y???B?D*?Y???B?F*?Y???B?H*?Y???B?J*?Y???B?L*?Y???B?N*?
Y*?Q?S*?U?W?suXYuZ[t.;+-.(/60D1R2`4l7t<u1\]r+?sXYt@^]r+?sXYtD_]rs *?WL+?=>?+2:?c????sde XYtHIHKv
?
`??fgrR*?Y?i*?9?m+?q?t?9?sXYuvt
TU 5r/*?9?sXYt]qw!wxr?4*?W?`?UM*?W,*?W??~,*?W?+S,?Y*???*,?W?s 4XY4?e)?.tdef"g.m3n??r2???+??.?p(4@LXd*?D,-???h*?J,-???\*?F,-???P*?H,-???D*?N,-???8*?L,-???,??Y??Y?????+?????,???????????s*?XY?????????t>t0v9w<yEzH|Q}T]?`?i?l?u?x???v
0(??rY*?W????
Y*+???sXY?et??
?v
u???r>
?
Y*+???s
XY
?et???r7o*+,?Ě?*?W??L*+,?ǧVN,??Y,-?̶ҧ/:*?ֻ?Y??ض?+?۶???????ݹ???
Y**?S??N-+,???),?s>.*??<??h??oXYo??o??t:?	?
?????)?,?.?X?[?h?n?v"
P??????+??r?a,???[+????Q,??N-??
?
?W??Y?-?:?#,?ҧN*??%-?ݹ(??HK?s>2)*7+,L?-aXYa??a??t.???*?7?B?H?K?L?]?_?v
?K???r?h*+?3N-?-+,?8?U+?;?>?,??Y?A?D?ҧ:,??Y???Y??F??+?۶?H??+?;????????K?ұs*hXYh??h??b??t??
???0?g?v
?56x/01r-?*+?OM+?;N-?R?*?D,+?V?Z?5?-?_?*?F,+?V?Z?5?-?b?*?H,+?V?Z?5?-?e?*?J,+?V?Z?5?-?h?*?L,+?V?Z?5?-?>?*?N,+?V?Z?5??s*?XY?????????t>????"?)?9?@?P?W?g?n?~?????v?"\LMr9+?k?sXY??t?lmr/*?W?snYt)opr/*?ְsnYt)qyz:

@		




© 2015 - 2025 Weber Informatics LLC | Privacy Policy