Class ApiOptionalResponse.Builder<X,R>
java.lang.Object
io.helidon.integrations.common.rest.ApiResponse.Builder<B,T>
io.helidon.integrations.common.rest.ApiOptionalResponse.BuilderBase<ApiOptionalResponse.Builder<X,R>,ApiOptionalResponse<R>,X,R>
io.helidon.integrations.common.rest.ApiOptionalResponse.Builder<X,R>
- Type Parameters:
X
- type of the entity, such asJsonObject
R
- type of the response created from entity
- All Implemented Interfaces:
Builder<ApiOptionalResponse.Builder<X,
,R>, ApiOptionalResponse<R>> ResponseBuilder<ApiOptionalResponse.Builder<X,
,R>, ApiOptionalResponse<R>, X> Supplier<ApiOptionalResponse<R>>
- Enclosing class:
- ApiOptionalResponse<R>
public static final class ApiOptionalResponse.Builder<X,R>
extends ApiOptionalResponse.BuilderBase<ApiOptionalResponse.Builder<X,R>,ApiOptionalResponse<R>,X,R>
Fluent API builder for
ApiOptionalResponse
.-
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
-
Method Details
-
build
Description copied from interface:Builder
Build the instance from this builder.- Returns:
- instance of the built type
-