Package org.infinispan.rest.framework
Interface RestDispatcher
-
- All Known Implementing Classes:
RestDispatcherImpl
public interface RestDispatcherRoutes a particularRestRequestto be executed by the correct {link @Invocation}, and produces theRestResponse.- Since:
- 10.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletionStage<RestResponse>dispatch(RestRequest restRequest)CompletionStage<RestResponse>dispatch(RestRequest restRequest, LookupResult lookupResult)LookupResultlookupInvocation(RestRequest restRequest)
-
-
-
Method Detail
-
lookupInvocation
LookupResult lookupInvocation(RestRequest restRequest)
-
dispatch
CompletionStage<RestResponse> dispatch(RestRequest restRequest)
-
dispatch
CompletionStage<RestResponse> dispatch(RestRequest restRequest, LookupResult lookupResult)
-
-