- Type Parameters:
RQ
- A type of the request thisRequestProcessor
processes.RS
- A type of the response.
- All Known Subinterfaces:
HttpRequestProcessor
,RequestDispatcher<RQ,RS>
- All Known Implementing Classes:
RequestDispatcherByProcessorName
,RequestProcessorWithStats
,SimpleHttpRequestDispatcherByUrl
,SimpleSpringHttpRequestDispatcherByUrl
,SpringRequestDispatcher
@ThreadSafe public interface RequestProcessor<RQ,RS>
Processes requests.
-
Method Summary
Modifier and Type Method Description CompletionStage<RS>
process(RQ request)
Processes therequest
.
-
Method Details
-
process
Processes therequest
.- Returns:
CompletionStage
that will be completed when the result is ready. If there is no any result, then thisCompletionStage
may be completed withnull
.
-