Uses of Interface
org.grpcmock.definitions.response.steps.ExceptionResponseActionBuilder
Packages that use ExceptionResponseActionBuilder
Package
Description
-
Uses of ExceptionResponseActionBuilder in org.grpcmock
Methods in org.grpcmock that return ExceptionResponseActionBuilderModifier and TypeMethodDescriptionReturns a response action, which will send out the given exception viaStreamObserver.onError(java.lang.Throwable).GrpcMock.statusException(io.grpc.Status status) Returns a response action, which will send out aStatusRuntimeExceptionwith givenStatusviaStreamObserver.onError(java.lang.Throwable).Methods in org.grpcmock with parameters of type ExceptionResponseActionBuilderModifier and TypeMethodDescriptionstatic <RespT> ExceptionStreamResponseBuildersStep<RespT>GrpcMock.stream(ExceptionResponseActionBuilder responseAction) Returns a terminating stream response, which will respond withResponseActionand terminate the call, since it will beStreamObserver.onError(java.lang.Throwable)response. -
Uses of ExceptionResponseActionBuilder in org.grpcmock.definitions.response
Classes in org.grpcmock.definitions.response that implement ExceptionResponseActionBuilderMethods in org.grpcmock.definitions.response that return ExceptionResponseActionBuilderModifier and TypeMethodDescriptionMethods in org.grpcmock.definitions.response with parameters of type ExceptionResponseActionBuilderModifier and TypeMethodDescriptionStreamResponseBuilderImpl.and(ExceptionResponseActionBuilder responseAction) -
Uses of ExceptionResponseActionBuilder in org.grpcmock.definitions.response.steps
Methods in org.grpcmock.definitions.response.steps with parameters of type ExceptionResponseActionBuilderModifier and TypeMethodDescriptionObjectStreamResponseBuilderStep.and(ExceptionResponseActionBuilder responseAction) Defines a exceptionResponseActionfor the stream response. -
Uses of ExceptionResponseActionBuilder in org.grpcmock.definitions.stub
Methods in org.grpcmock.definitions.stub with parameters of type ExceptionResponseActionBuilderModifier and TypeMethodDescriptionClientStreamingMethodStubBuilderImpl.nextWillReturn(ExceptionResponseActionBuilder response) ServerStreamingMethodStubBuilderImpl.nextWillReturn(ExceptionResponseActionBuilder response) UnaryMethodStubBuilderImpl.nextWillReturn(ExceptionResponseActionBuilder response) ClientStreamingMethodStubBuilderImpl.willReturn(ExceptionResponseActionBuilder response) ServerStreamingMethodStubBuilderImpl.willReturn(ExceptionResponseActionBuilder response) UnaryMethodStubBuilderImpl.willReturn(ExceptionResponseActionBuilder response) -
Uses of ExceptionResponseActionBuilder in org.grpcmock.definitions.stub.steps
Methods in org.grpcmock.definitions.stub.steps with parameters of type ExceptionResponseActionBuilderModifier and TypeMethodDescriptionNextSingleResponseBuilderStep.nextWillReturn(ExceptionResponseActionBuilder response) Defines a exceptionResponsefor subsequent request call to this stub.SingleResponseBuilderStep.willReturn(ExceptionResponseActionBuilder response) Defines a exceptionResponsethat will terminate the request.