@Component public class TransactionStatusAcceptHeaderValidator extends Object
| Constructor and Description |
|---|
TransactionStatusAcceptHeaderValidator() |
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
validate(@NotNull String acceptHeader)
Validates whether media type in Accept header is supported by the ASPSP.
|
public TransactionStatusAcceptHeaderValidator()
public ValidationResult validate(@NotNull @NotNull String acceptHeader)
acceptHeader - accept header with requested media typesCopyright © 2019. All rights reserved.