Interface Bodies
public interface Bodies
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
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic BodyProcessorFactoryformUrlEncoded(ObjectSchemaBuilder schemaBuilder) Create a formapplication/x-www-form-urlencodedprocessorstatic BodyProcessorFactoryjson(SchemaBuilder schemaBuilder) Create a json body processorstatic BodyProcessorFactorymultipartFormData(ObjectSchemaBuilder schemaBuilder) Create a formmultipart/form-dataprocessorstatic BodyProcessorFactorytextPlain(StringSchemaBuilder schemaBuilder) Create atext/plainbody processor
-
Method Details
-
json
Create a json body processor- Parameters:
schemaBuilder-- Returns:
-
textPlain
Create atext/plainbody processor- Parameters:
schemaBuilder-- Returns:
-
formUrlEncoded
Create a formapplication/x-www-form-urlencodedprocessor- Parameters:
schemaBuilder-- Returns:
-
multipartFormData
Create a formmultipart/form-dataprocessor- Parameters:
schemaBuilder-- Returns:
-