Interface ObjectStreamResponseBuilderStep<RespT>
- All Superinterfaces:
BuilderStep,StreamResponseBuilder<RespT>
- All Known Implementing Classes:
StreamResponseBuilderImpl
public interface ObjectStreamResponseBuilderStep<RespT>
extends BuilderStep, StreamResponseBuilder<RespT>
- Author:
- Fadelis
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExceptionStreamResponseBuildersStep<RespT>and(io.grpc.Status status) Defines a status exceptionResponseActionfor the stream response.and(ExceptionResponseActionBuilder responseAction) Defines a exceptionResponseActionfor the stream response.and(ObjectResponseActionBuilder<RespT> responseAction) Defines the nextResponseActionin the stream response.default ObjectStreamResponseBuilderStep<RespT>Defines the nextResponseActionin the stream response.Methods inherited from interface org.grpcmock.definitions.response.steps.StreamResponseBuilder
build
-
Method Details
-
and
ObjectStreamResponseBuilderStep<RespT> and(@Nonnull ObjectResponseActionBuilder<RespT> responseAction) Defines the nextResponseActionin the stream response. -
and
ExceptionStreamResponseBuildersStep<RespT> and(@Nonnull ExceptionResponseActionBuilder responseAction) Defines a exceptionResponseActionfor the stream response. This is a terminating action so no further actions can be added to the stream response. -
and
Defines the nextResponseActionin the stream response. -
and
Defines a status exceptionResponseActionfor the stream response. This is a terminating action so no further actions can be added to the stream response.
-