- java.lang.Object
-
- io.github.jopenlibs.vault.response.VaultResponse
-
- io.github.jopenlibs.vault.response.AuthResponse
-
- io.github.jopenlibs.vault.response.UnwrapResponse
-
- All Implemented Interfaces:
java.io.Serializable
public class UnwrapResponse extends AuthResponse
This class is a container for the information returned by Vault in unwrap backend operations.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class io.github.jopenlibs.vault.response.AuthResponse
jsonResponse
-
-
Constructor Summary
Constructors Constructor Description UnwrapResponse(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 JsonObject
getData()
-
Methods inherited from class io.github.jopenlibs.vault.response.AuthResponse
getAppId, getAuthClientToken, getAuthLeaseDuration, getAuthPolicies, getNonce, getRenewable, getTokenAccessor, getUserId, getUsername, isAuthRenewable
-
Methods inherited from class io.github.jopenlibs.vault.response.VaultResponse
getRestResponse, getRetries
-
-
-
-
Constructor Detail
-
UnwrapResponse
public UnwrapResponse(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).
-
-
Method Detail
-
getData
public JsonObject getData()
-
-