public class LogicalResponse extends VaultResponse
| Constructor and Description |
|---|
LogicalResponse(RestResponse restResponse,
int retries)
This constructor simply exposes the common base class constructor.
|
LogicalResponse(RestResponse restResponse,
int retries,
java.util.Map<java.lang.String,java.lang.String> data)
This constructor also takes all of the values read by a Vault read operation.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getData() |
void |
setData(java.util.Map<java.lang.String,java.lang.String> data) |
baseSetRenewable, getLeaseDuration, getLeaseId, getRenewable, getRestResponse, getRetries, setLeaseDuration, setLeaseId, setRenewable, setRestResponse, setRetriespublic LogicalResponse(RestResponse restResponse, int retries)
restResponse - The raw HTTP response from Vault.retries - The number of retry attempts that occurred during the API call (can be zero).public LogicalResponse(RestResponse restResponse, int retries, java.util.Map<java.lang.String,java.lang.String> data)
restResponse - The raw HTTP response from Vault.retries - The number of retry attempts that occurred during the API call (can be zero).data - All name/value pairs found in the data section of a Vault read operation response.