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 TypeMethodDescriptionvoidaccept(RoutingContext item) static ValidationHandlerBuilderbuilder(SchemaParser parser) Deprecated.booleanio.vertx.ext.web.validation.ValidationHandlervoidhandle(RoutingContext arg0) inthashCode()static ValidationHandlernewInstance(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:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
handle
- Specified by:
handlein 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:
acceptin interfaceConsumer<RoutingContext>
-
newInstance
-
ValidationHandlerBuilder#create(SchemaParser).