Class ValidationHandler
- java.lang.Object
-
- io.vertx.mutiny.ext.web.validation.ValidationHandler
-
- All Implemented Interfaces:
io.vertx.core.Handler<RoutingContext>
,Consumer<RoutingContext>
public class ValidationHandler extends Object implements io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
This is the entry point of this module. Provides the parsing, validation and puts the parsed objects into .
You can easily build a new validation handler using a , that you can create with .
For more info read the doc.
NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<ValidationHandler>
__TYPE_ARG
static String
REQUEST_CONTEXT_KEY
-
Constructor Summary
Constructors Constructor Description ValidationHandler(io.vertx.ext.web.validation.ValidationHandler delegate)
ValidationHandler(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(RoutingContext item)
static ValidationHandlerBuilder
builder(SchemaParser parser)
boolean
equals(Object o)
io.vertx.ext.web.validation.ValidationHandler
getDelegate()
void
handle(RoutingContext arg0)
int
hashCode()
static ValidationHandler
newInstance(io.vertx.ext.web.validation.ValidationHandler arg)
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<ValidationHandler> __TYPE_ARG
-
REQUEST_CONTEXT_KEY
public static final String REQUEST_CONTEXT_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ValidationHandler
public ValidationHandler(io.vertx.ext.web.validation.ValidationHandler delegate)
-
ValidationHandler
public ValidationHandler(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.validation.ValidationHandler getDelegate()
-
handle
public void handle(RoutingContext arg0)
- Specified by:
handle
in interfaceio.vertx.core.Handler<RoutingContext>
-
builder
public static ValidationHandlerBuilder builder(SchemaParser parser)
-
accept
public void accept(RoutingContext item)
- Specified by:
accept
in interfaceConsumer<RoutingContext>
-
newInstance
public static ValidationHandler newInstance(io.vertx.ext.web.validation.ValidationHandler arg)
-
-