Class Bodies
java.lang.Object
io.vertx.mutiny.ext.web.validation.builder.Bodies
- All Implemented Interfaces:
MutinyDelegate
In this interface you can find all available
BodyProcessorFactory to use in
ValidationHandlerBuilder.
To create new schemas using SchemaBuilder, look at the
docs of vertx-json-schema
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- See Also:
-
Bodies
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic BodyProcessorFactoryformUrlEncoded(io.vertx.json.schema.common.dsl.ObjectSchemaBuilder schemaBuilder) Create a formapplication/x-www-form-urlencodedprocessorio.vertx.ext.web.validation.builder.BodiesGet the delegate instance.inthashCode()static BodyProcessorFactoryjson(io.vertx.json.schema.common.dsl.SchemaBuilder schemaBuilder) Create a json body processorstatic BodyProcessorFactorymultipartFormData(io.vertx.json.schema.common.dsl.ObjectSchemaBuilder schemaBuilder) Create a formmultipart/form-dataprocessorstatic BodiesnewInstance(io.vertx.ext.web.validation.builder.Bodies delegate) Creates a new instance of theBodies.static BodyProcessorFactorytextPlain(io.vertx.json.schema.common.dsl.StringSchemaBuilder schemaBuilder) Create atext/plainbody processortoString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
Bodies
public Bodies(io.vertx.ext.web.validation.builder.Bodies delegate) Create a new instance ofBodiesdelegating to the given (non-null) instance ofBodies. -
Bodies
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.validation.builder.Bodies getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
json
public static BodyProcessorFactory json(io.vertx.json.schema.common.dsl.SchemaBuilder schemaBuilder) Create a json body processor- Parameters:
schemaBuilder-- Returns:
-
textPlain
public static BodyProcessorFactory textPlain(io.vertx.json.schema.common.dsl.StringSchemaBuilder schemaBuilder) Create atext/plainbody processor- Parameters:
schemaBuilder-- Returns:
-
formUrlEncoded
public static BodyProcessorFactory formUrlEncoded(io.vertx.json.schema.common.dsl.ObjectSchemaBuilder schemaBuilder) Create a formapplication/x-www-form-urlencodedprocessor- Parameters:
schemaBuilder-- Returns:
-
multipartFormData
public static BodyProcessorFactory multipartFormData(io.vertx.json.schema.common.dsl.ObjectSchemaBuilder schemaBuilder) Create a formmultipart/form-dataprocessor- Parameters:
schemaBuilder-- Returns:
-
newInstance
Creates a new instance of theBodies. -
hashCode
public int hashCode() -
equals
-
toString
-