- 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
public abstract class VaultResponse extends ApiEntityResponse
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
Constructors Modifier Constructor Description protected
VaultResponse(ApiEntityResponse.Builder<?,? extends VaultResponse,JsonObject> builder)
Create a new response from a builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
vaultRequestId()
Request ID as understood by Vault.-
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 Detail
-
VaultResponse
protected VaultResponse(ApiEntityResponse.Builder<?,? extends VaultResponse,JsonObject> builder)
Create a new response from a builder.- Parameters:
builder
- builder with response entity
-
-
Method Detail
-
vaultRequestId
public String vaultRequestId()
Request ID as understood by Vault. May differ fromApiResponse.requestId()
.- Returns:
- valut request ID
-
-