Interface Bodies
-
public interface Bodies
In this interface you can find all availableBodyProcessorFactory
to use inValidationHandlerBuilder
.
To create new schemas using
SchemaBuilder
, look at the docs of vertx-json-schema
-
-
Method Summary
Static Methods Modifier and Type Method Description static BodyProcessorFactory
formUrlEncoded(ObjectSchemaBuilder schemaBuilder)
Create a formapplication/x-www-form-urlencoded
processorstatic BodyProcessorFactory
json(SchemaBuilder schemaBuilder)
Create a json body processorstatic BodyProcessorFactory
multipartFormData(ObjectSchemaBuilder schemaBuilder)
Create a formmultipart/form-data
processorstatic BodyProcessorFactory
textPlain(StringSchemaBuilder schemaBuilder)
Create atext/plain
body processor
-
-
-
Method Detail
-
json
static BodyProcessorFactory json(SchemaBuilder schemaBuilder)
Create a json body processor- Parameters:
schemaBuilder
-- Returns:
-
textPlain
static BodyProcessorFactory textPlain(StringSchemaBuilder schemaBuilder)
Create atext/plain
body processor- Parameters:
schemaBuilder
-- Returns:
-
formUrlEncoded
static BodyProcessorFactory formUrlEncoded(ObjectSchemaBuilder schemaBuilder)
Create a formapplication/x-www-form-urlencoded
processor- Parameters:
schemaBuilder
-- Returns:
-
multipartFormData
static BodyProcessorFactory multipartFormData(ObjectSchemaBuilder schemaBuilder)
Create a formmultipart/form-data
processor- Parameters:
schemaBuilder
-- Returns:
-
-