public class FormBodyProcessorImpl extends ObjectParser<List<String>> implements BodyProcessor
additionalPropertiesParser| Constructor and Description |
|---|
FormBodyProcessorImpl(Map<String,ValueParser<List<String>>> propertiesParsers,
Map<Pattern,ValueParser<List<String>>> patternPropertiesParsers,
ValueParser<List<String>> additionalPropertiesParsers,
String contentType,
ValueValidator valueValidator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProcess(String contentType) |
protected ValueParser<List<String>> |
getAdditionalPropertiesParserIfRequired() |
protected boolean |
mustNullateValue(List<String> serialized,
ValueParser<List<String>> parser) |
Future<RequestParameter> |
process(RoutingContext requestContext) |
parseFieldpublic FormBodyProcessorImpl(Map<String,ValueParser<List<String>>> propertiesParsers, Map<Pattern,ValueParser<List<String>>> patternPropertiesParsers, ValueParser<List<String>> additionalPropertiesParsers, String contentType, ValueValidator valueValidator)
public boolean canProcess(String contentType)
canProcess in interface BodyProcessorpublic Future<RequestParameter> process(RoutingContext requestContext)
process in interface BodyProcessorprotected ValueParser<List<String>> getAdditionalPropertiesParserIfRequired()
getAdditionalPropertiesParserIfRequired in class ObjectParser<List<String>>protected boolean mustNullateValue(List<String> serialized, ValueParser<List<String>> parser)
mustNullateValue in class ObjectParser<List<String>>Copyright © 2021. All rights reserved.