C - Context classP - ASPSP API path parameters classH - ASPSP API headers classpublic class PathHeadersMapperTemplate<C extends BaseContext,P,H> extends Object
Xs2aContext
to ASPSP API request parameters (path parameters, headers).| Constructor and Description |
|---|
PathHeadersMapperTemplate() |
| Modifier and Type | Method and Description |
|---|---|
ValidatedPathHeaders<P,H> |
forExecution(C context)
Converts context object into object that can be used for ASPSP API call.
|
PathHeadersToValidate<P,H> |
forValidation(C context)
Converts context object into object that can be used for validation.
|
public PathHeadersToValidate<P,H> forValidation(C context)
context - Context to convertXs2aValidator
to check if all necessary parameters are presentpublic ValidatedPathHeaders<P,H> forExecution(C context)
context - Context to convertXs2aAdapter to perform ASPSP API callsCopyright © 2020. All rights reserved.