Class DefaultBankIDMessageRepository
java.lang.Object
se.swedenconnect.bankid.rpapi.support.DefaultBankIDMessageRepository
- All Implemented Interfaces:
BankIDMessageRepository
Default implementation for the
BankIDMessageRepository
interface. The implementation uses the message codes
defined in this jar under bankid-messages.properties.- Author:
- Martin Lindström
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionBased on the message ID (short name), the method finds the message.
-
Constructor Details
-
DefaultBankIDMessageRepository
public DefaultBankIDMessageRepository()
-
-
Method Details
-
getBankIDMessage
Based on the message ID (short name), the method finds the message.- Specified by:
getBankIDMessage
in interfaceBankIDMessageRepository
- Parameters:
id
- the short name for the message- Returns:
- the
BankIDMessage
ornull
if no message is found
-