Class TrustTokenOperationDone
- java.lang.Object
-
- org.openqa.selenium.devtools.v101.network.model.TrustTokenOperationDone
-
@Beta public class TrustTokenOperationDone extends java.lang.Object
Fired exactly once for each Trust Token operation. Depending on the type of the operation and whether the operation succeeded or failed, the event is fired before the corresponding request was sent or after the response was received.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TrustTokenOperationDone.Status
-
Constructor Summary
Constructors Constructor Description TrustTokenOperationDone(TrustTokenOperationDone.Status status, TrustTokenOperationType type, RequestId requestId, java.util.Optional<java.lang.String> topLevelOrigin, java.util.Optional<java.lang.String> issuerOrigin, java.util.Optional<java.lang.Integer> issuedTokenCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.Integer>
getIssuedTokenCount()
The number of obtained Trust Tokens on a successful "Issuance" operation.java.util.Optional<java.lang.String>
getIssuerOrigin()
Origin of the issuer in case of a "Issuance" or "Redemption" operation.RequestId
getRequestId()
TrustTokenOperationDone.Status
getStatus()
Detailed success or error status of the operation.java.util.Optional<java.lang.String>
getTopLevelOrigin()
Top level origin.TrustTokenOperationType
getType()
-
-
-
Constructor Detail
-
TrustTokenOperationDone
public TrustTokenOperationDone(TrustTokenOperationDone.Status status, TrustTokenOperationType type, RequestId requestId, java.util.Optional<java.lang.String> topLevelOrigin, java.util.Optional<java.lang.String> issuerOrigin, java.util.Optional<java.lang.Integer> issuedTokenCount)
-
-
Method Detail
-
getStatus
public TrustTokenOperationDone.Status getStatus()
Detailed success or error status of the operation. 'AlreadyExists' also signifies a successful operation, as the result of the operation already exists und thus, the operation was abort preemptively (e.g. a cache hit).
-
getType
public TrustTokenOperationType getType()
-
getRequestId
public RequestId getRequestId()
-
getTopLevelOrigin
public java.util.Optional<java.lang.String> getTopLevelOrigin()
Top level origin. The context in which the operation was attempted.
-
getIssuerOrigin
public java.util.Optional<java.lang.String> getIssuerOrigin()
Origin of the issuer in case of a "Issuance" or "Redemption" operation.
-
getIssuedTokenCount
public java.util.Optional<java.lang.Integer> getIssuedTokenCount()
The number of obtained Trust Tokens on a successful "Issuance" operation.
-
-