Class ValidationHandler
java.lang.Object
io.vertx.mutiny.ext.web.validation.ValidationHandler
- All Implemented Interfaces:
MutinyDelegate
,io.vertx.core.Handler<RoutingContext>
,Consumer<RoutingContext>
public class ValidationHandler
extends Object
implements MutinyDelegate, 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 the
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 the
original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionValidationHandler
(io.vertx.ext.web.validation.ValidationHandler delegate) ValidationHandler
(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(RoutingContext item) static ValidationHandlerBuilder
builder
(SchemaParser parser) Deprecated.boolean
io.vertx.ext.web.validation.ValidationHandler
void
handle
(RoutingContext arg0) int
hashCode()
static ValidationHandler
newInstance
(io.vertx.ext.web.validation.ValidationHandler arg) toString()
-
Field Details
-
__TYPE_ARG
-
REQUEST_CONTEXT_KEY
- See Also:
-
-
Constructor Details
-
ValidationHandler
public ValidationHandler(io.vertx.ext.web.validation.ValidationHandler delegate) -
ValidationHandler
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.validation.ValidationHandler getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
handle
- Specified by:
handle
in interfaceio.vertx.core.Handler<RoutingContext>
-
builder
Deprecated.This method duplicates the behavior ofValidationHandlerBuilder#create(SchemaParser)
.- Parameters:
parser
- a SchemaParser- Returns:
- an instance of .
-
accept
- Specified by:
accept
in interfaceConsumer<RoutingContext>
-
newInstance
-
ValidationHandlerBuilder#create(SchemaParser)
.