java.lang.Object
io.github.jopenlibs.vault.response.VaultResponse
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuthResponse,LogicalResponse,LookupResponse,SealResponse,WrapResponse
VaultResponse is a common base class for the response objects returned by
all API methods. It contains the bare minimum of information common to all Vault responses (e.g.
the raw HTTP response, the number of retry attempts if any). API methods which return additional
information will use more specialized subclasses inheriting from VaultResponse.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
VaultResponse
- Parameters:
restResponse- The raw HTTP response from Vault.retries- The number of retry attempts that occurred during the API call (can be zero).
-
-
Method Details
-
getRestResponse
-
getRetries
public int getRetries()
-