public class StatusReference extends Object
StatusReference is constructed from the url acquired from
DirectJobResponse.getStatusUrl(), and a token provided as a
query parameter which is
added to the exit URL the signer is redirected to when
the signing ceremony is completed/aborted/failed. The token needs to
be consumed by the system the user is redirected to, and consequently provided to
StatusReference.StatusUrlContruction.withStatusQueryToken(String) to be able to construct a valid
complete StatusReference which is passed to DirectClient.getStatus(StatusReference)| Modifier and Type | Class and Description |
|---|---|
static class |
StatusReference.StatusUrlContruction |
| Modifier and Type | Field and Description |
|---|---|
static String |
STATUS_QUERY_TOKEN_PARAM_NAME |
| Modifier and Type | Method and Description |
|---|---|
URI |
getStatusUrl() |
static StatusReference.StatusUrlContruction |
of(DirectJobResponse response)
Start constructing a new
StatusReference. |
static StatusReference.StatusUrlContruction |
ofUrl(URI statusUrl)
Start constructing a new
StatusReference. |
public static final String STATUS_QUERY_TOKEN_PARAM_NAME
public static StatusReference.StatusUrlContruction of(DirectJobResponse response)
StatusReference.response - the DirectJobResponseofUrl(URI)public static StatusReference.StatusUrlContruction ofUrl(URI statusUrl)
StatusReference.statusUrl - the status url for the jobStatusReference which
must be completed with a status query token using
.withStatusQueryToken(token)public URI getStatusUrl()
Copyright © 2019 Digipost. All rights reserved.