Class ApiResponse
java.lang.Object
io.helidon.integrations.common.rest.ApiJsonParser
io.helidon.integrations.common.rest.ApiResponse
- Direct Known Subclasses:
- ApiEntityResponse,- ApiOptionalResponse,- ConfigureK8s.Response,- CreateAppRole.Response,- CreateCubbyhole.Response,- CreateKey.Response,- CreateKv1.Response,- CreateKv2.Response,- CreatePolicy.Response,- CreateRole.Response,- CreateTokenRole.Response,- DbConfigure.Response,- DbCreateRole.Response,- DbDelete.Response,- DbDeleteRole.Response,- DeleteAllKv2.Response,- DeleteAppRole.Response,- DeleteCubbyhole.Response,- DeleteKey.Response,- DeleteKv1.Response,- DeleteKv2.Response,- DeletePolicy.Response,- DeleteRole.Response,- DeleteTokenRole.Response,- DestroyKv2.Response,- DestroySecretId.Response,- DisableAuth.Response,- DisableEngine.Response,- EnableAuth.Response,- EnableEngine.Response,- GenerateSelfSignedRoot.Response,- PkiRole.Response,- RevokeAndOrphanToken.Response,- RevokeToken.Response,- UndeleteKv2.Response,- UpdateCubbyhole.Response,- UpdateKeyConfig.Response,- UpdateKv1.Response
A base for responses without an entity.
 For responses that may have an entity, use 
ApiOptionalResponse,
 for responses that must have an entity, use ApiEntityResponse.- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classApiResponse.Builder<B extends ApiResponse.Builder<B,T>, T extends ApiResponse> Abstract fluent API builder to build subclasses ofApiResponse.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedApiResponse(ApiResponse.Builder<?, ?> builder) Create a new rest response.
- 
Method SummaryMethods inherited from class io.helidon.integrations.common.rest.ApiJsonParserisPresent, stringValue, toBoolean, toBytesBase64, toDouble, toInstant, toInt, toList, toLong, toMap, toObject, toString
- 
Constructor Details- 
ApiResponseCreate a new rest response.- Parameters:
- builder- subclass of builder
 
 
- 
- 
Method Details- 
headersHTTP headers returned in the response.- Returns:
- HTTP headers
 
- 
statusHTTP status returned. In most cases for successful invocation, this should be one of statuses in the200family. In case the invocation resulted in an error, an exception is thrown instead of returning a response.- Returns:
- status of the response (only if successful)
 
- 
requestIdRequest ID that was used. As this ID may be generated during request, this is the only way to obtain it.- Returns:
- request ID used when invoking the integrated system
 
 
-