@Component public class TransactionListDownloadPathParamsValidatorImpl extends Object implements TransactionListDownloadPathParamsValidator
| Constructor and Description |
|---|
TransactionListDownloadPathParamsValidatorImpl(ErrorBuildingService errorBuildingService) |
| Modifier and Type | Method and Description |
|---|---|
MessageError |
validate(Map<String,String> queryParameterMap,
MessageError messageError)
Validates path parameters from the request and populates given error with error text if parameters are invalid
|
public TransactionListDownloadPathParamsValidatorImpl(ErrorBuildingService errorBuildingService)
public MessageError validate(Map<String,String> queryParameterMap, MessageError messageError)
PathParameterValidatorvalidate in interface PathParameterValidatorqueryParameterMap - path parameters from the request, with their names acting as keysmessageError - error to be populatedMessageError object, enriched or not.Copyright © 2020. All rights reserved.