- java.lang.Object
-
- io.github.jopenlibs.vault.response.VaultResponse
-
- io.github.jopenlibs.vault.response.SealResponse
-
- All Implemented Interfaces:
java.io.Serializable
public class SealResponse extends VaultResponse
This class is a container for the information returned by Vault inv1/sys/*seal*
operations.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SealResponse(RestResponse restResponse, int retries)
This constructor simply exposes the common base class constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
getNumberOfShares()
java.lang.Long
getProgress()
java.lang.Boolean
getSealed()
java.lang.Long
getThreshold()
-
Methods inherited from class io.github.jopenlibs.vault.response.VaultResponse
getRestResponse, getRetries
-
-
-
-
Constructor Detail
-
SealResponse
public SealResponse(RestResponse restResponse, int retries)
This constructor simply exposes the common base class constructor.- Parameters:
restResponse
- The raw HTTP response from Vault.retries
- The number of retry attempts that occurred during the API call (can be zero).
-
-