public interface ServiceFacade
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
GLOBAL_ROOT_PATH
The root path to identify the global "network"
|
| Modifier and Type | Method and Description |
|---|---|
ResponseInfo |
handleInboundSms(RequestInfo request)
Handles an inbound SMS request, returning the response which should be returned to the gateway
|
InvocationResult |
invoke(InvocationData data)
Invokes a service method according to the given
InvocationData |
RequestData |
resolveRequestData(java.lang.String remoteAddress,
java.lang.String rootUrl,
java.lang.String uri)
Returns the route data about a given request URI.
|
ResponseInfo |
runCustomWebService(InvocationData invocationData,
RequestInfo request)
Runs as guest the custom web service (if any) mapped to request's uri.
|
static final java.lang.String GLOBAL_ROOT_PATH
ResponseInfo handleInboundSms(RequestInfo request)
InvocationResult invoke(InvocationData data) throws FrameworkException, BusinessException, IllegalInvocationException
InvocationDataRequestData resolveRequestData(java.lang.String remoteAddress, java.lang.String rootUrl, java.lang.String uri) throws FrameworkException
FrameworkExceptionResponseInfo runCustomWebService(InvocationData invocationData, RequestInfo request) throws FrameworkException, BusinessException
FrameworkExceptionBusinessException