java.lang.Object
io.helidon.integrations.common.rest.ApiJsonParser
io.helidon.integrations.common.rest.ApiResponse
io.helidon.integrations.common.rest.ApiEntityResponse
io.helidon.integrations.vault.VaultResponse
- Direct Known Subclasses:
Decrypt.Response
,DecryptBatch.Response
,Encrypt.Response
,EncryptBatch.Response
,GenerateSecretId.Response
,Hmac.Response
,IssueCertificate.Response
,Login.Response
,Login.Response
,RevokeCertificate.Response
,Sign.Response
,SignCsr.Response
,TokenResponse
,UpdateKv2.Response
,Verify.Response
Response from Vault, always expects a JSON entity.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.helidon.integrations.common.rest.ApiEntityResponse
ApiEntityResponse.Builder<B extends ApiEntityResponse.Builder<B,
T, X>, T extends ApiEntityResponse, X> -
Constructor Summary
ModifierConstructorDescriptionprotected
VaultResponse
(ApiEntityResponse.Builder<?, ? extends VaultResponse, JsonObject> builder) Create a new response from a builder. -
Method Summary
Methods inherited from class io.helidon.integrations.common.rest.ApiResponse
headers, requestId, status
Methods inherited from class io.helidon.integrations.common.rest.ApiJsonParser
isPresent, stringValue, toBoolean, toBytesBase64, toDouble, toInstant, toInt, toList, toLong, toMap, toObject, toString
-
Constructor Details
-
VaultResponse
Create a new response from a builder.- Parameters:
builder
- builder with response entity
-
-
Method Details
-
vaultRequestId
Request ID as understood by Vault. May differ fromApiResponse.requestId()
.- Returns:
- vault request ID
-