public class Parameters extends Object
ParameterProcessorFactory
to use in ValidationHandlerBuilder
. original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<Parameters> |
__TYPE_ARG |
Constructor and Description |
---|
Parameters(Object delegate) |
Parameters(Parameters delegate) |
Modifier and Type | Method and Description |
---|---|
static StyledParameterProcessorFactory |
deepObjectParam(String parameterName,
ObjectSchemaBuilder schemaBuilder)
Creates a required deep object parameter.
|
boolean |
equals(Object o) |
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.
|
Parameters |
getDelegate() |
int |
hashCode() |
static StyledParameterProcessorFactory |
jsonParam(String parameterName,
SchemaBuilder builder)
Creates a required parameter serialized as valid json
|
static Parameters |
newInstance(Parameters arg) |
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
|
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
|
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.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<Parameters> __TYPE_ARG
public Parameters(Parameters delegate)
public Parameters(Object delegate)
public Parameters getDelegate()
public static ParameterProcessorFactory param(String parameterName, NumberSchemaBuilder schemaBuilder)
schemaBuilder
, the parser will parse the number as Long
or Double
parameterName
- schemaBuilder
- public static ParameterProcessorFactory optionalParam(String parameterName, NumberSchemaBuilder schemaBuilder)
schemaBuilder
, the parser will parse the number as Long
or Double
parameterName
- schemaBuilder
- public static ParameterProcessorFactory param(String parameterName, StringSchemaBuilder schemaBuilder)
parameterName
- schemaBuilder
- public static ParameterProcessorFactory optionalParam(String parameterName, StringSchemaBuilder schemaBuilder)
parameterName
- schemaBuilder
- public static ParameterProcessorFactory param(String parameterName, BooleanSchemaBuilder schemaBuilder)
parameterName
- schemaBuilder
- public static ParameterProcessorFactory optionalParam(String parameterName, BooleanSchemaBuilder schemaBuilder)
parameterName
- schemaBuilder
- public static ParameterProcessorFactory param(String parameterName, ArraySchemaBuilder schemaBuilder)
parameterName
- schemaBuilder
- public static ParameterProcessorFactory optionalParam(String parameterName, ArraySchemaBuilder schemaBuilder)
parameterName
- schemaBuilder
- public static ParameterProcessorFactory param(String parameterName, TupleSchemaBuilder schemaBuilder)
parameterName
- schemaBuilder
- public static ParameterProcessorFactory optionalParam(String parameterName, TupleSchemaBuilder schemaBuilder)
parameterName
- schemaBuilder
- public static ParameterProcessorFactory param(String parameterName, ObjectSchemaBuilder schemaBuilder)
key1,value1,key2,value2
parameterName
- schemaBuilder
- public static ParameterProcessorFactory optionalParam(String parameterName, ObjectSchemaBuilder schemaBuilder)
key1,value1,key2,value2
parameterName
- schemaBuilder
- public static ParameterProcessorFactory param(String parameterName, SchemaBuilder schemaBuilder, io.vertx.ext.web.validation.impl.parser.ValueParser<String> valueParser)
parameterName
- schemaBuilder
- valueParser
- public static ParameterProcessorFactory optionalParam(String parameterName, SchemaBuilder schemaBuilder, io.vertx.ext.web.validation.impl.parser.ValueParser<String> valueParser)
parameterName
- schemaBuilder
- valueParser
- public static StyledParameterProcessorFactory jsonParam(String parameterName, SchemaBuilder builder)
parameterName
- builder
- public static StyledParameterProcessorFactory optionalJsonParam(String parameterName, SchemaBuilder builder)
parameterName
- builder
- public static StyledParameterProcessorFactory serializedParam(String parameterName, ArrayParserFactory arrayParserFactory, ArraySchemaBuilder schemaBuilder)
Parsers
for available parser factoriesparameterName
- arrayParserFactory
- schemaBuilder
- public static StyledParameterProcessorFactory optionalSerializedParam(String parameterName, ArrayParserFactory arrayParserFactory, ArraySchemaBuilder schemaBuilder)
Parsers
for available parser factoriesparameterName
- arrayParserFactory
- schemaBuilder
- public static StyledParameterProcessorFactory serializedParam(String parameterName, TupleParserFactory tupleParserFactory, TupleSchemaBuilder schemaBuilder)
Parsers
for available parser factoriesparameterName
- tupleParserFactory
- schemaBuilder
- public static StyledParameterProcessorFactory optionalSerializedParam(String parameterName, TupleParserFactory tupleParserFactory, TupleSchemaBuilder schemaBuilder)
Parsers
for available parser factoriesparameterName
- tupleParserFactory
- schemaBuilder
- public static StyledParameterProcessorFactory serializedParam(String parameterName, ObjectParserFactory objectParserFactory, ObjectSchemaBuilder schemaBuilder)
Parsers
for available parser factoriesparameterName
- objectParserFactory
- schemaBuilder
- public static StyledParameterProcessorFactory optionalSerializedParam(String parameterName, ObjectParserFactory objectParserFactory, ObjectSchemaBuilder schemaBuilder)
Parsers
for available parser factoriesparameterName
- objectParserFactory
- schemaBuilder
- public static StyledParameterProcessorFactory explodedParam(String parameterName, ArraySchemaBuilder schemaBuilder)
parameterName=item1¶meterName=item2
parameterName
- schemaBuilder
- public static StyledParameterProcessorFactory optionalExplodedParam(String parameterName, ArraySchemaBuilder schemaBuilder)
parameterName=item1¶meterName=item2
parameterName
- schemaBuilder
- public static StyledParameterProcessorFactory explodedParam(String parameterName, TupleSchemaBuilder schemaBuilder)
parameterName=item1¶meterName=item2
parameterName
- schemaBuilder
- public static StyledParameterProcessorFactory optionalExplodedParam(String parameterName, TupleSchemaBuilder schemaBuilder)
parameterName=item1¶meterName=item2
parameterName
- schemaBuilder
- public static StyledParameterProcessorFactory explodedParam(String parameterName, ObjectSchemaBuilder schemaBuilder)
key1=value1&key2=value2
parameterName
- schemaBuilder
- public static StyledParameterProcessorFactory optionalExplodedParam(String parameterName, ObjectSchemaBuilder schemaBuilder)
key1=value1&key2=value2
parameterName
- schemaBuilder
- public static StyledParameterProcessorFactory deepObjectParam(String parameterName, ObjectSchemaBuilder schemaBuilder)
parameterName[key1]=value1¶meterName[key2]=value2
parameterName
- schemaBuilder
- public static StyledParameterProcessorFactory optionalDeepObjectParam(String parameterName, ObjectSchemaBuilder schemaBuilder)
parameterName[key1]=value1¶meterName[key2]=value2
parameterName
- schemaBuilder
- public static Parameters newInstance(Parameters arg)
Copyright © 2024 Eclipse. All rights reserved.