Class StatusReference
java.lang.Object
no.digipost.signature.client.direct.StatusReference
A
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)-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionof(DirectJobResponse response) Start constructing a newStatusReference.Start constructing a newStatusReference.
-
Field Details
-
STATUS_QUERY_TOKEN_PARAM_NAME
- See Also:
-
-
Method Details
-
of
Start constructing a newStatusReference.- Parameters:
response- theDirectJobResponse- See Also:
-
ofUrl
Start constructing a newStatusReference.- Parameters:
statusUrl- the status url for the job- Returns:
- partially constructed
StatusReferencewhich must be completed with a status query token using.withStatusQueryToken(token)
-
getStatusUrl
-