public class ValidationHandlerImpl extends Object implements ValidationHandler
REQUEST_CONTEXT_KEY| Constructor and Description |
|---|
ValidationHandlerImpl(Map<ParameterLocation,List<ParameterProcessor>> parameterProcessors,
List<BodyProcessor> bodyProcessors,
List<Function<RoutingContext,RequestPredicateResult>> predicates) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(RoutingContext routingContext)
Something has happened, so handle it.
|
boolean |
isBodyRequired() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderpublic ValidationHandlerImpl(Map<ParameterLocation,List<ParameterProcessor>> parameterProcessors, List<BodyProcessor> bodyProcessors, List<Function<RoutingContext,RequestPredicateResult>> predicates)
public void handle(RoutingContext routingContext)
Handlerhandle in interface Handler<RoutingContext>routingContext - the event to handlepublic boolean isBodyRequired()
Copyright © 2021. All rights reserved.