public interface InboundSmsRequestHandler
| Modifier and Type | Method and Description |
|---|---|
ResponseInfo |
generateResponse(ConfigurationAccessor configuration,
SmsChannelConfiguration channelConfiguration,
RequestInfo request,
InboundSmsData smsData,
InboundSms sms)
Generates the response to the SMS gateway
|
ResponseInfo |
generateResponseForError(ConfigurationAccessor configuration,
SmsChannelConfiguration channelConfiguration,
RequestInfo request,
java.lang.Exception exception)
Generates the response to the SMS gateway when there is a general error
|
ResponseInfo |
generateResponseForMissingParameters(ConfigurationAccessor configuration,
SmsChannelConfiguration channelConfiguration,
RequestInfo request)
Generates the response to the SMS gateway when the bare minimum parameters - number and message - are missing
|
InboundSmsBasicData |
resolveSmsData(ConfigurationAccessor configuration,
SmsChannelConfiguration channelConfiguration,
RequestInfo request)
Parses, from the given request, the inbound SMS data
|
ResponseInfo generateResponse(ConfigurationAccessor configuration, SmsChannelConfiguration channelConfiguration, RequestInfo request, InboundSmsData smsData, InboundSms sms)
ResponseInfo generateResponseForError(ConfigurationAccessor configuration, SmsChannelConfiguration channelConfiguration, RequestInfo request, java.lang.Exception exception)
ResponseInfo generateResponseForMissingParameters(ConfigurationAccessor configuration, SmsChannelConfiguration channelConfiguration, RequestInfo request)
InboundSmsBasicData resolveSmsData(ConfigurationAccessor configuration, SmsChannelConfiguration channelConfiguration, RequestInfo request)