public interface Parameters
ParameterProcessorFactory
to use in ValidationHandlerBuilder
. SchemaBuilder
, look at the docs of vertx-json-schemaModifier and Type | Method and Description |
---|---|
static StyledParameterProcessorFactory |
deepObjectParam(String parameterName,
ObjectSchemaBuilder schemaBuilder)
Creates a required deep object parameter.
|
static StyledParameterProcessorFactory |
explodedParam(String parameterName,
ArraySchemaBuilder schemaBuilder)
Creates a required exploded array parameter.
|
static StyledParameterProcessorFactory |
explodedParam(String parameterName,
ObjectSchemaBuilder schemaBuilder)
Creates a required exploded object parameter.
|
static StyledParameterProcessorFactory |
explodedParam(String parameterName,
TupleSchemaBuilder schemaBuilder)
Creates a required exploded tuple parameter.
|
static StyledParameterProcessorFactory |
jsonParam(String parameterName,
SchemaBuilder builder)
Creates a required parameter serialized as valid json
|
static StyledParameterProcessorFactory |
optionalDeepObjectParam(String parameterName,
ObjectSchemaBuilder schemaBuilder)
Creates an optional deep object parameter.
|
static StyledParameterProcessorFactory |
optionalExplodedParam(String parameterName,
ArraySchemaBuilder schemaBuilder)
Creates an optional exploded array parameter.
|
static StyledParameterProcessorFactory |
optionalExplodedParam(String parameterName,
ObjectSchemaBuilder schemaBuilder)
Creates an optional exploded object parameter.
|
static StyledParameterProcessorFactory |
optionalExplodedParam(String parameterName,
TupleSchemaBuilder schemaBuilder)
Creates an optional exploded tuple parameter.
|
static StyledParameterProcessorFactory |
optionalJsonParam(String parameterName,
SchemaBuilder builder)
Creates an optional parameter serialized as valid json
|
static ParameterProcessorFactory |
optionalParam(String parameterName,
ArraySchemaBuilder schemaBuilder)
Creates a new optional array parameter serialized as comma separated
|
static ParameterProcessorFactory |
optionalParam(String parameterName,
BooleanSchemaBuilder schemaBuilder)
Creates a new optional boolean parameter
|
static ParameterProcessorFactory |
optionalParam(String parameterName,
NumberSchemaBuilder schemaBuilder)
Creates a new optional number parameter.
|
static ParameterProcessorFactory |
optionalParam(String parameterName,
ObjectSchemaBuilder schemaBuilder)
Creates an optional object parameter serialized as comma separated, like
key1,value1,key2,value2 |
static ParameterProcessorFactory |
optionalParam(String parameterName,
SchemaBuilder schemaBuilder,
io.vertx.ext.web.validation.impl.parser.ValueParser<String> valueParser)
Creates an optional parameter providing a
ValueParser |
static ParameterProcessorFactory |
optionalParam(String parameterName,
StringSchemaBuilder schemaBuilder)
Creates a new optional string parameter
|
static ParameterProcessorFactory |
optionalParam(String parameterName,
TupleSchemaBuilder schemaBuilder)
Creates a new optional tuple parameter serialized as comma separated
|
static StyledParameterProcessorFactory |
optionalSerializedParam(String parameterName,
ArrayParserFactory arrayParserFactory,
ArraySchemaBuilder schemaBuilder)
Creates an optional array parameter deserializable using the provided parser factory.
|
static StyledParameterProcessorFactory |
optionalSerializedParam(String parameterName,
ObjectParserFactory objectParserFactory,
ObjectSchemaBuilder schemaBuilder)
Creates an optional object parameter deserializable using the provided parser factory.
|
static StyledParameterProcessorFactory |
optionalSerializedParam(String parameterName,
TupleParserFactory tupleParserFactory,
TupleSchemaBuilder schemaBuilder)
Creates an optional tuple parameter deserializable using the provided parser factory.
|
static ParameterProcessorFactory |
param(String parameterName,
ArraySchemaBuilder schemaBuilder)
Creates a new required array parameter serialized as comma separated
|
static ParameterProcessorFactory |
param(String parameterName,
BooleanSchemaBuilder schemaBuilder)
Creates a new required boolean parameter
|
static ParameterProcessorFactory |
param(String parameterName,
NumberSchemaBuilder schemaBuilder)
Creates a new required number parameter.
|
static ParameterProcessorFactory |
param(String parameterName,
ObjectSchemaBuilder schemaBuilder)
Creates a required object parameter serialized as comma separated, like
key1,value1,key2,value2 |
static ParameterProcessorFactory |
param(String parameterName,
SchemaBuilder schemaBuilder,
io.vertx.ext.web.validation.impl.parser.ValueParser<String> valueParser)
Creates a required parameter providing a
ValueParser |
static ParameterProcessorFactory |
param(String parameterName,
StringSchemaBuilder schemaBuilder)
Creates a new required string parameter
|
static ParameterProcessorFactory |
param(String parameterName,
TupleSchemaBuilder schemaBuilder)
Creates a new required tuple parameter serialized as comma separated
|
static StyledParameterProcessorFactory |
serializedParam(String parameterName,
ArrayParserFactory arrayParserFactory,
ArraySchemaBuilder schemaBuilder)
Creates a required array parameter deserializable using the provided parser factory.
|
static StyledParameterProcessorFactory |
serializedParam(String parameterName,
ObjectParserFactory objectParserFactory,
ObjectSchemaBuilder schemaBuilder)
Creates a required object parameter deserializable using the provided parser factory.
|
static StyledParameterProcessorFactory |
serializedParam(String parameterName,
TupleParserFactory tupleParserFactory,
TupleSchemaBuilder schemaBuilder)
Creates a required tuple parameter deserializable using the provided parser factory.
|
static ParameterProcessorFactory param(String parameterName, NumberSchemaBuilder schemaBuilder)
schemaBuilder
, the parser will parse the number as Long
or Double
parameterName
- schemaBuilder
- static ParameterProcessorFactory optionalParam(String parameterName, NumberSchemaBuilder schemaBuilder)
schemaBuilder
, the parser will parse the number as Long
or Double
parameterName
- schemaBuilder
- static ParameterProcessorFactory param(String parameterName, StringSchemaBuilder schemaBuilder)
parameterName
- schemaBuilder
- static ParameterProcessorFactory optionalParam(String parameterName, StringSchemaBuilder schemaBuilder)
parameterName
- schemaBuilder
- static ParameterProcessorFactory param(String parameterName, BooleanSchemaBuilder schemaBuilder)
parameterName
- schemaBuilder
- static ParameterProcessorFactory optionalParam(String parameterName, BooleanSchemaBuilder schemaBuilder)
parameterName
- schemaBuilder
- static ParameterProcessorFactory param(String parameterName, ArraySchemaBuilder schemaBuilder)
parameterName
- schemaBuilder
- static ParameterProcessorFactory optionalParam(String parameterName, ArraySchemaBuilder schemaBuilder)
parameterName
- schemaBuilder
- static ParameterProcessorFactory param(String parameterName, TupleSchemaBuilder schemaBuilder)
parameterName
- schemaBuilder
- static ParameterProcessorFactory optionalParam(String parameterName, TupleSchemaBuilder schemaBuilder)
parameterName
- schemaBuilder
- static ParameterProcessorFactory param(String parameterName, ObjectSchemaBuilder schemaBuilder)
key1,value1,key2,value2
parameterName
- schemaBuilder
- static ParameterProcessorFactory optionalParam(String parameterName, ObjectSchemaBuilder schemaBuilder)
key1,value1,key2,value2
parameterName
- schemaBuilder
- static ParameterProcessorFactory param(String parameterName, SchemaBuilder schemaBuilder, io.vertx.ext.web.validation.impl.parser.ValueParser<String> valueParser)
ValueParser
parameterName
- schemaBuilder
- valueParser
- static ParameterProcessorFactory optionalParam(String parameterName, SchemaBuilder schemaBuilder, io.vertx.ext.web.validation.impl.parser.ValueParser<String> valueParser)
ValueParser
parameterName
- schemaBuilder
- valueParser
- static StyledParameterProcessorFactory jsonParam(String parameterName, SchemaBuilder builder)
parameterName
- builder
- static StyledParameterProcessorFactory optionalJsonParam(String parameterName, SchemaBuilder builder)
parameterName
- builder
- static StyledParameterProcessorFactory serializedParam(String parameterName, ArrayParserFactory arrayParserFactory, ArraySchemaBuilder schemaBuilder)
Parsers
for available parser factoriesparameterName
- arrayParserFactory
- schemaBuilder
- static StyledParameterProcessorFactory optionalSerializedParam(String parameterName, ArrayParserFactory arrayParserFactory, ArraySchemaBuilder schemaBuilder)
Parsers
for available parser factoriesparameterName
- arrayParserFactory
- schemaBuilder
- static StyledParameterProcessorFactory serializedParam(String parameterName, TupleParserFactory tupleParserFactory, TupleSchemaBuilder schemaBuilder)
Parsers
for available parser factoriesparameterName
- tupleParserFactory
- schemaBuilder
- static StyledParameterProcessorFactory optionalSerializedParam(String parameterName, TupleParserFactory tupleParserFactory, TupleSchemaBuilder schemaBuilder)
Parsers
for available parser factoriesparameterName
- tupleParserFactory
- schemaBuilder
- static StyledParameterProcessorFactory serializedParam(String parameterName, ObjectParserFactory objectParserFactory, ObjectSchemaBuilder schemaBuilder)
Parsers
for available parser factoriesparameterName
- objectParserFactory
- schemaBuilder
- static StyledParameterProcessorFactory optionalSerializedParam(String parameterName, ObjectParserFactory objectParserFactory, ObjectSchemaBuilder schemaBuilder)
Parsers
for available parser factoriesparameterName
- objectParserFactory
- schemaBuilder
- static StyledParameterProcessorFactory explodedParam(String parameterName, ArraySchemaBuilder schemaBuilder)
parameterName=item1¶meterName=item2
parameterName
- schemaBuilder
- static StyledParameterProcessorFactory optionalExplodedParam(String parameterName, ArraySchemaBuilder schemaBuilder)
parameterName=item1¶meterName=item2
parameterName
- schemaBuilder
- static StyledParameterProcessorFactory explodedParam(String parameterName, TupleSchemaBuilder schemaBuilder)
parameterName=item1¶meterName=item2
parameterName
- schemaBuilder
- static StyledParameterProcessorFactory optionalExplodedParam(String parameterName, TupleSchemaBuilder schemaBuilder)
parameterName=item1¶meterName=item2
parameterName
- schemaBuilder
- static StyledParameterProcessorFactory explodedParam(String parameterName, ObjectSchemaBuilder schemaBuilder)
key1=value1&key2=value2
parameterName
- schemaBuilder
- static StyledParameterProcessorFactory optionalExplodedParam(String parameterName, ObjectSchemaBuilder schemaBuilder)
key1=value1&key2=value2
parameterName
- schemaBuilder
- static StyledParameterProcessorFactory deepObjectParam(String parameterName, ObjectSchemaBuilder schemaBuilder)
parameterName[key1]=value1¶meterName[key2]=value2
parameterName
- schemaBuilder
- static StyledParameterProcessorFactory optionalDeepObjectParam(String parameterName, ObjectSchemaBuilder schemaBuilder)
parameterName[key1]=value1¶meterName[key2]=value2
parameterName
- schemaBuilder
- Copyright © 2022 Eclipse. All rights reserved.