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 theoriginalnon Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<ValidationHandler>__TYPE_ARGstatic StringREQUEST_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 Deprecated Methods Modifier and Type Method Description voidaccept(RoutingContext item)static ValidationHandlerBuilderbuilder(SchemaParser parser)Deprecated.This method duplicates the behavior ofValidationHandlerBuilder#create(SchemaParser).booleanequals(Object o)io.vertx.ext.web.validation.ValidationHandlergetDelegate()voidhandle(RoutingContext arg0)inthashCode()static ValidationHandlernewInstance(io.vertx.ext.web.validation.ValidationHandler arg)StringtoString()
-
-
-
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:
handlein interfaceio.vertx.core.Handler<RoutingContext>
-
builder
@Deprecated public static ValidationHandlerBuilder builder(SchemaParser parser)
Deprecated.This method duplicates the behavior ofValidationHandlerBuilder#create(SchemaParser).- Parameters:
parser- a SchemaParser- Returns:
- an instance of .
-
accept
public void accept(RoutingContext item)
- Specified by:
acceptin interfaceConsumer<RoutingContext>
-
newInstance
public static ValidationHandler newInstance(io.vertx.ext.web.validation.ValidationHandler arg)
-
-