@Component public class TransactionListBodyValidatorImpl extends AbstractBodyValidatorImpl implements TransactionListBodyValidator
errorBuildingService, xs2aObjectMapper| Constructor and Description |
|---|
TransactionListBodyValidatorImpl(ErrorBuildingService errorBuildingService,
Xs2aObjectMapper xs2aObjectMapper) |
| Modifier and Type | Method and Description |
|---|---|
MessageError |
validate(javax.servlet.http.HttpServletRequest request,
MessageError messageError)
Validates HTTP requests payloads and populates given error with error text if parameters are invalid.
|
checkFieldForMaxLength, extractErrorField, validateBodyFields, validateRawData@Autowired public TransactionListBodyValidatorImpl(ErrorBuildingService errorBuildingService, Xs2aObjectMapper xs2aObjectMapper)
public MessageError validate(javax.servlet.http.HttpServletRequest request, MessageError messageError)
BodyValidatorvalidate in interface BodyValidatorvalidate in class AbstractBodyValidatorImplrequest - incoming HttpServletRequest objectmessageError - error to be populatedMessageError object, enriched or not.Copyright © 2020. All rights reserved.