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<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 forApiOptionalResponse
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiOptionalResponse<R>
build()
Build the instance from this builder.-
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 Detail
-
build
public ApiOptionalResponse<R> build()
Description copied from interface:Builder
Build the instance from this builder.- Returns:
- instance of the built type
-
-