public interface ObjectStreamResponseBuilderStep<RespT> extends BuilderStep, StreamResponseBuilder<RespT>
| Modifier and Type | Method and Description |
|---|---|
ExceptionStreamResponseBuildersStep<RespT> |
and(ExceptionResponseActionBuilder responseAction)
Defines a exception
ResponseAction for the stream response. |
ObjectStreamResponseBuilderStep<RespT> |
and(ObjectResponseActionBuilder<RespT> responseAction)
Defines the next
ResponseAction in the stream response. |
default ObjectStreamResponseBuilderStep<RespT> |
and(RespT responseObject)
Defines the next
ResponseAction in the stream response. |
default ExceptionStreamResponseBuildersStep<RespT> |
and(io.grpc.Status status)
Defines a status exception
ResponseAction for the stream response. |
buildObjectStreamResponseBuilderStep<RespT> and(@Nonnull ObjectResponseActionBuilder<RespT> responseAction)
ResponseAction in the stream response.ExceptionStreamResponseBuildersStep<RespT> and(@Nonnull ExceptionResponseActionBuilder responseAction)
ResponseAction for the stream response. This is a terminating
action so no further actions can be added to the stream response.default ObjectStreamResponseBuilderStep<RespT> and(@Nonnull RespT responseObject)
ResponseAction in the stream response.default ExceptionStreamResponseBuildersStep<RespT> and(@Nonnull io.grpc.Status status)
ResponseAction for the stream response. This is a
terminating action so no further actions can be added to the stream response.Copyright © 2023. All rights reserved.