java.lang.Object
dev.mccue.microhttp.handler.DelegatingHandler
- All Implemented Interfaces:
Handler
Template for a class which has a list of handlers that it tries
in order.
-
Constructor Summary
ConstructorsConstructorDescriptionDelegatingHandler(List<? extends Handler> handlers, IntoResponse notHandled) -
Method Summary
-
Constructor Details
-
DelegatingHandler
- Parameters:
handlers- The list of handlers, in the order they should be tried.notHandled- TheIntoResponseto use if no handler matches the request.
-
-
Method Details