Module
bfsi_payment_initiation_api.interceptor
Modules
bfsi_payment_initiation_api
bfsi_payment_initiation_api.interceptor
bfsi_payment_initiation_api.modelbfsi_payment_initiation_api.utilModule bfsi_payment_initiation_api.interceptor
wso2bfsi/bfsi_payment_initiation_api.interceptor
1.0.0
Classes
bfsi_payment_initiation_api.interceptor: RequestErrorInterceptor
Isolated
A RequestErrorInterceptor
service class implementation. It allows intercepting
the error that occurred in the request path and handle it accordingly
A RequestErrorInterceptor
service class can have only one resource function
'default [string... path]
Isolated FunctionResource Function
function 'default [string... path](error err) returns BadRequest
Parameters
- err error -
bfsi_payment_initiation_api.interceptor: RequestInterceptor
Isolated
Request interceptor to pre-process every API interaction.
'default [string... path]
Isolated FunctionResource Function
function 'default [string... path](RequestContext ctx, string? x\-fapi\-auth\-date, string? x\-fapi\-customer\-ip\-address, string? x\-fapi\-interaction\-id) returns anydata|NextService|error
Parameters
- ctx RequestContext -
- x\-fapi\-auth\-date string? -
- x\-fapi\-customer\-ip\-address string? -
- x\-fapi\-interaction\-id string? -
bfsi_payment_initiation_api.interceptor: ResponseErrorInterceptor
Isolated
interceptResponseError
Isolated FunctionRemote Function
function interceptResponseError(error err) returns BadRequest
Parameters
- err error -
Import
import wso2bfsi/bfsi_payment_initiation_api.interceptor;
Metadata
Released date: over 1 year ago
Version: 1.0.0
Compatibility
Platform: any
Ballerina version: 2201.3.1
GraalVM compatible: Yes
Pull count
Total: 2
Current verison: 2
Weekly downloads
Keywords
Type/RestApi
Category/Service
Internal/http
Cost/Free
Vertical/bfsi
Contributors
Other versions
1.0.0