| Modifier and Type | Method and Description |
|---|---|
boolean |
ParameterProcessorGenerator.canGenerate(JsonObject parameter,
JsonObject fakeParameterSchema,
ParameterLocation parsedLocation,
String parsedStyle) |
boolean |
JsonParameterProcessorGenerator.canGenerate(JsonObject parameter,
JsonObject fakeSchema,
ParameterLocation parsedLocation,
String parsedStyle) |
boolean |
ExplodedSimpleObjectParameterProcessorGenerator.canGenerate(JsonObject parameter,
JsonObject fakeSchema,
ParameterLocation parsedLocation,
String parsedStyle) |
boolean |
ExplodedObjectParameterProcessorGenerator.canGenerate(JsonObject parameter,
JsonObject fakeSchema,
ParameterLocation parsedLocation,
String parsedStyle) |
boolean |
ExplodedMatrixArrayParameterProcessorGenerator.canGenerate(JsonObject parameter,
JsonObject fakeSchema,
ParameterLocation parsedLocation,
String parsedStyle) |
boolean |
ExplodedArrayParameterProcessorGenerator.canGenerate(JsonObject parameter,
JsonObject fakeSchema,
ParameterLocation parsedLocation,
String parsedStyle) |
boolean |
DeepObjectParameterProcessorGenerator.canGenerate(JsonObject parameter,
JsonObject fakeParameterSchema,
ParameterLocation parsedLocation,
String parsedStyle) |
boolean |
DefaultParameterProcessorGenerator.canGenerate(JsonObject parameter,
JsonObject fakeSchema,
ParameterLocation parsedLocation,
String parsedStyle) |
ParameterProcessor |
ParameterProcessorGenerator.generate(JsonObject parameter,
JsonObject fakeParameterSchema,
JsonPointer parameterPointer,
ParameterLocation parsedLocation,
String parsedStyle,
GeneratorContext context) |
ParameterProcessor |
JsonParameterProcessorGenerator.generate(JsonObject parameter,
JsonObject fakeSchema,
JsonPointer parameterPointer,
ParameterLocation parsedLocation,
String parsedStyle,
GeneratorContext context) |
ParameterProcessor |
ExplodedSimpleObjectParameterProcessorGenerator.generate(JsonObject parameter,
JsonObject fakeSchema,
JsonPointer parameterPointer,
ParameterLocation parsedLocation,
String parsedStyle,
GeneratorContext context) |
ParameterProcessor |
ExplodedObjectParameterProcessorGenerator.generate(JsonObject parameter,
JsonObject fakeSchema,
JsonPointer parameterPointer,
ParameterLocation parsedLocation,
String parsedStyle,
GeneratorContext context) |
ParameterProcessor |
ExplodedMatrixArrayParameterProcessorGenerator.generate(JsonObject parameter,
JsonObject fakeSchema,
JsonPointer parameterPointer,
ParameterLocation parsedLocation,
String parsedStyle,
GeneratorContext context) |
ParameterProcessor |
ExplodedArrayParameterProcessorGenerator.generate(JsonObject parameter,
JsonObject fakeSchema,
JsonPointer parameterPointer,
ParameterLocation parsedLocation,
String parsedStyle,
GeneratorContext context) |
ParameterProcessor |
DeepObjectParameterProcessorGenerator.generate(JsonObject parameter,
JsonObject fakeParameterSchema,
JsonPointer parameterPointer,
ParameterLocation parsedLocation,
String parsedStyle,
GeneratorContext context) |
ParameterProcessor |
DefaultParameterProcessorGenerator.generate(JsonObject parameter,
JsonObject fakeSchema,
JsonPointer parameterPointer,
ParameterLocation parsedLocation,
String parsedStyle,
GeneratorContext context) |
| Modifier and Type | Method and Description |
|---|---|
ParameterLocation |
ParameterProcessorException.getLocation() |
| Modifier and Type | Method and Description |
|---|---|
static ParameterProcessorException |
ParameterProcessorException.createMissingParameterWhenRequired(String parameterName,
ParameterLocation location) |
static ParameterProcessorException |
ParameterProcessorException.createParsingError(String parameterName,
ParameterLocation location,
MalformedValueException cause) |
static ParameterProcessorException |
ParameterProcessorException.createValidationError(String parameterName,
ParameterLocation location,
Throwable cause) |
| Constructor and Description |
|---|
ParameterProcessorException(String message,
String parameterName,
ParameterLocation location,
ParameterProcessorException.ParameterProcessorErrorType errorType,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
ParameterProcessor |
StyledParameterProcessorFactory.create(ParameterLocation location,
SchemaParser parser) |
ParameterProcessor |
ParameterProcessorFactory.create(ParameterLocation location,
SchemaParser jsonSchemaParser) |
ValidationHandlerBuilder |
ValidationHandlerBuilder.parameter(ParameterLocation location,
ParameterProcessor processor)
Add a parameter given the location and the processor
|
| Modifier and Type | Method and Description |
|---|---|
static BiFunction<ParameterLocation,SchemaParser,ParameterProcessor> |
ValidationDSLUtils.createArrayParamFactory(String parameterName,
ArrayParserFactory arrayParserFactory,
ArraySchemaBuilder schemaBuilder,
boolean isOptional) |
static BiFunction<ParameterLocation,SchemaParser,ParameterProcessor> |
ValidationDSLUtils.createObjectParamFactory(String parameterName,
ObjectParserFactory objectParserFactory,
ObjectSchemaBuilder schemaBuilder,
boolean isOptional) |
static BiFunction<ParameterLocation,SchemaParser,ParameterProcessor> |
ValidationDSLUtils.createTupleParamFactory(String parameterName,
TupleParserFactory tupleParserFactory,
TupleSchemaBuilder schemaBuilder,
boolean isOptional) |
| Modifier and Type | Method and Description |
|---|---|
ValidationHandlerBuilder |
ValidationHandlerBuilderImpl.parameter(ParameterLocation location,
ParameterProcessor processor) |
| Modifier and Type | Method and Description |
|---|---|
static ParameterLocation |
ParameterLocation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParameterLocation[] |
ParameterLocation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
ValidationHandlerImpl(Map<ParameterLocation,List<ParameterProcessor>> parameterProcessors,
List<BodyProcessor> bodyProcessors,
List<Function<RoutingContext,RequestPredicateResult>> predicates) |
| Modifier and Type | Method and Description |
|---|---|
ParameterLocation |
ParameterProcessorImpl.getLocation() |
ParameterLocation |
ParameterProcessor.getLocation() |
| Modifier and Type | Method and Description |
|---|---|
static ParameterProcessor |
ParameterProcessor.create(String parameterName,
ParameterLocation location,
boolean isOptional,
ParameterParser parser,
ValueValidator validator)
Create a new request parameter processor
|
| Constructor and Description |
|---|
ParameterProcessorImpl(String parameterName,
ParameterLocation location,
boolean isOptional,
ParameterParser parser,
ValueValidator validator) |
Copyright © 2021. All rights reserved.