| Package | Description |
|---|---|
| org.grpcmock | |
| org.grpcmock.definitions.response | |
| org.grpcmock.definitions.response.steps |
| Modifier and Type | Method and Description |
|---|---|
static <RespT> ExceptionStreamResponseBuildersStep<RespT> |
GrpcMock.stream(ExceptionResponseActionBuilder responseAction)
Returns a terminating stream response, which will respond with
ResponseAction and
terminate the call, since it will be StreamObserver.onError(java.lang.Throwable) response. |
| Modifier and Type | Class and Description |
|---|---|
class |
StreamResponseBuilderImpl<RespT> |
| Modifier and Type | Method and Description |
|---|---|
ExceptionStreamResponseBuildersStep<RespT> |
StreamResponseBuilderImpl.and(ExceptionResponseActionBuilder responseAction) |
| Modifier and Type | Method and Description |
|---|---|
ExceptionStreamResponseBuildersStep<RespT> |
ObjectStreamResponseBuilderStep.and(ExceptionResponseActionBuilder responseAction)
Defines a exception
ResponseAction for the stream response. |
default ExceptionStreamResponseBuildersStep<RespT> |
ObjectStreamResponseBuilderStep.and(io.grpc.Status status)
Defines a status exception
ResponseAction for the stream response. |
Copyright © 2023. All rights reserved.