public final class ExitUrls extends Object implements WithExitUrls
| Modifier and Type | Method and Description |
|---|---|
String |
getCompletionUrl() |
String |
getErrorUrl() |
String |
getRejectionUrl() |
static ExitUrls |
of(String completionUrl,
String rejectionUrl,
String errorUrl)
Specify the urls the user is will be redirected to for different
outcomes of a signing ceremony.
|
static ExitUrls |
singleExitUrl(String url)
A single exit url can be used if you do not need to separate
resources for handling the different outcomes of a direct job.
|
public static ExitUrls singleExitUrl(String url)
of(String, String, String) with the same url
given for all the arguments.url - The url you want the user to be redirected to upon
completing the signing ceremony, regardless of its outcomepublic static ExitUrls of(String completionUrl, String rejectionUrl, String errorUrl)
StatusReference.STATUS_QUERY_TOKEN_PARAM_NAME)
which contains a token required to query for the status of the job.completionUrl - the user will be redirected to this url after having successfully signed the document.rejectionUrl - the user will be redirected to this url if actively rejecting to sign the document.errorUrl - the user will be redirected to this url if any unexpected error happens during the signing ceremony.public String getCompletionUrl()
getCompletionUrl in interface WithExitUrlspublic String getRejectionUrl()
getRejectionUrl in interface WithExitUrlspublic String getErrorUrl()
getErrorUrl in interface WithExitUrlsCopyright © 2018 Digipost. All rights reserved.