Class ValidationHandler
- java.lang.Object
-
- io.vertx.reactivex.ext.web.validation.ValidationHandler
-
- All Implemented Interfaces:
Handler<RoutingContext>
public class ValidationHandler extends Object implements Handler<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 RX-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(ValidationHandler delegate)
ValidationHandler(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ValidationHandlerBuilder
builder(SchemaParser parser)
Deprecated.boolean
equals(Object o)
ValidationHandler
getDelegate()
void
handle(RoutingContext event)
Something has happened, so handle it.int
hashCode()
static ValidationHandler
newInstance(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(ValidationHandler delegate)
-
ValidationHandler
public ValidationHandler(Object delegate)
-
-
Method Detail
-
getDelegate
public ValidationHandler getDelegate()
-
handle
public void handle(RoutingContext event)
Something has happened, so handle it.- Specified by:
handle
in interfaceHandler<RoutingContext>
- Parameters:
event
- the event to handle
-
builder
@Deprecated public static ValidationHandlerBuilder builder(SchemaParser parser)
Deprecated.- Parameters:
parser
- a SchemaParser- Returns:
- an instance of .
-
newInstance
public static ValidationHandler newInstance(ValidationHandler arg)
-
-