Package io.helidon.integrations.vault
Class VaultOptionalResponse.BuilderBase<B extends VaultOptionalResponse.BuilderBase<B,X,R>,X,R>
java.lang.Object
io.helidon.integrations.common.rest.ApiResponse.Builder<B,T>
io.helidon.integrations.common.rest.ApiOptionalResponse.BuilderBase<B,VaultOptionalResponse<R>,X,R>
io.helidon.integrations.vault.VaultOptionalResponse.BuilderBase<B,X,R>
- Type Parameters:
B
- Type of builder - a subclass of this classX
- type of entity (actual entity on HTTP communication, such asJsonObject
)R
- type of response (object entity type)
- All Implemented Interfaces:
Builder<B,
,VaultOptionalResponse<R>> ResponseBuilder<B,
,VaultOptionalResponse<R>, X> Supplier<VaultOptionalResponse<R>>
- Direct Known Subclasses:
VaultOptionalResponse.Builder
- Enclosing class:
- VaultOptionalResponse<R>
public abstract static class VaultOptionalResponse.BuilderBase<B extends VaultOptionalResponse.BuilderBase<B,X,R>,X,R>
extends ApiOptionalResponse.BuilderBase<B,VaultOptionalResponse<R>,X,R>
Base builder class for subclasses of
VaultOptionalResponse
.-
Constructor Summary
ModifierConstructorDescriptionprotected
Construct a new builder, should not be public. -
Method Summary
Methods inherited from class io.helidon.integrations.common.rest.ApiOptionalResponse.BuilderBase
entity, entity, entityProcessor, entityProcessor
Methods inherited from class io.helidon.integrations.common.rest.ApiResponse.Builder
headers, headers, me, requestId, requestId, status, status
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.helidon.integrations.common.rest.ResponseBuilder
headers, requestId, status
-
Constructor Details
-
BuilderBase
protected BuilderBase()Construct a new builder, should not be public.
-
-
Method Details
-
errors
Configure list of Vault errors as read from response.- Parameters:
errors
- errors to add- Returns:
- updated builder
-