- wasCalled() - Method in interface org.grpcmock.definitions.response.Traceable
-
- willProxyTo(Function<StreamObserver<RespT>, StreamObserver<ReqT>>) - Method in class org.grpcmock.definitions.stub.BidiStreamingMethodStubBuilderImpl
-
- willProxyTo(Function<StreamObserver<RespT>, StreamObserver<ReqT>>) - Method in class org.grpcmock.definitions.stub.ClientStreamingMethodStubBuilderImpl
-
- willProxyTo(BiConsumer<ReqT, StreamObserver<RespT>>) - Method in class org.grpcmock.definitions.stub.ServerStreamingMethodStubBuilderImpl
-
- willProxyTo(BiConsumer<ReqT, StreamObserver<RespT>>) - Method in interface org.grpcmock.definitions.stub.steps.SingleRequestProxyResponseBuilderStep
-
Defines a proxying response, which will proxy the request to given
Response.
- willProxyTo(Function<StreamObserver<RespT>, StreamObserver<ReqT>>) - Method in interface org.grpcmock.definitions.stub.steps.StreamRequestProxyResponseBuilderStep
-
Defines a proxying response, which will proxy the request to given
Response.
- willProxyTo(BiConsumer<ReqT, StreamObserver<RespT>>) - Method in class org.grpcmock.definitions.stub.UnaryMethodStubBuilderImpl
-
- willReturn(ObjectResponseActionBuilder<RespT>) - Method in class org.grpcmock.definitions.stub.ClientStreamingMethodStubBuilderImpl
-
- willReturn(ExceptionResponseActionBuilder) - Method in class org.grpcmock.definitions.stub.ClientStreamingMethodStubBuilderImpl
-
- willReturn(ObjectResponseActionBuilder<RespT>) - Method in class org.grpcmock.definitions.stub.ServerStreamingMethodStubBuilderImpl
-
- willReturn(ExceptionResponseActionBuilder) - Method in class org.grpcmock.definitions.stub.ServerStreamingMethodStubBuilderImpl
-
- willReturn(StreamResponseBuilder<RespT>) - Method in class org.grpcmock.definitions.stub.ServerStreamingMethodStubBuilderImpl
-
- willReturn(Function<ReqT, RespT>) - Method in interface org.grpcmock.definitions.stub.steps.SingleRequestProxyResponseBuilderStep
-
Defines a proxying response, which is built based on received request.
- willReturn(ObjectResponseActionBuilder<RespT>) - Method in interface org.grpcmock.definitions.stub.steps.SingleResponseBuilderStep
-
Defines a single
Response that will be returned for the request and complete it.
- willReturn(ExceptionResponseActionBuilder) - Method in interface org.grpcmock.definitions.stub.steps.SingleResponseBuilderStep
-
Defines a exception
Response that will terminate the request.
- willReturn(RespT) - Method in interface org.grpcmock.definitions.stub.steps.SingleResponseBuilderStep
-
Defines a single
Response that will be returned for the request and complete it.
- willReturn(Status) - Method in interface org.grpcmock.definitions.stub.steps.SingleResponseBuilderStep
-
Defines a exception
Response that will terminate the request.
- willReturn(StreamResponseBuilder<RespT>) - Method in interface org.grpcmock.definitions.stub.steps.StreamResponseBuilderStep
-
- willReturn(List<RespT>) - Method in interface org.grpcmock.definitions.stub.steps.StreamResponseBuilderStep
-
- willReturn(RespT...) - Method in interface org.grpcmock.definitions.stub.steps.StreamResponseBuilderStep
-
- willReturn(ObjectResponseActionBuilder<RespT>) - Method in class org.grpcmock.definitions.stub.UnaryMethodStubBuilderImpl
-
- willReturn(ExceptionResponseActionBuilder) - Method in class org.grpcmock.definitions.stub.UnaryMethodStubBuilderImpl
-
- withDelay(Delay) - Method in class org.grpcmock.definitions.response.ExceptionResponseActionBuilderImpl
-
- withDelay(Delay) - Method in class org.grpcmock.definitions.response.ObjectResponseActionBuilderImpl
-
- withDelay(Delay) - Method in interface org.grpcmock.definitions.response.steps.DelayBuilderStep
-
Configure a
Delay for the response action.
- withFirstRequest(Predicate<ReqT>) - Method in interface org.grpcmock.definitions.matcher.steps.FirstRequestMatcherBuilderStep
-
Adds a request matcher for the stub, which will trigger only if incoming first request
satisfies given
Predicate.
- withFirstRequest(ReqT) - Method in interface org.grpcmock.definitions.matcher.steps.FirstRequestMatcherBuilderStep
-
Adds a request matcher for the stub, which will trigger only if incoming first request
is equal to the provided one.
- withFirstRequest(Predicate<ReqT>) - Method in interface org.grpcmock.definitions.matcher.steps.StreamRequestMatcherBuilderStep
-
Adds a requests' matcher, which checks if the first received request satisfies given
Predicate.
- withFirstRequest(ReqT) - Method in interface org.grpcmock.definitions.matcher.steps.StreamRequestMatcherBuilderStep
-
Adds a requests' matcher, which checks if the first received request is equal to given request object.
- withFirstRequest(Predicate<ReqT>) - Method in class org.grpcmock.definitions.stub.BidiStreamingMethodStubBuilderImpl
-
- withFirstRequest(Predicate<ReqT>) - Method in class org.grpcmock.definitions.stub.ClientStreamingMethodStubBuilderImpl
-
- withFixedDelay(long) - Method in interface org.grpcmock.definitions.response.steps.DelayBuilderStep
-
Configures a fixed
Delay in milliseconds for the response action.
- withFixedDelay(Duration) - Method in interface org.grpcmock.definitions.response.steps.DelayBuilderStep
-
Configures a fixed
Delay with provided
Duration for the response action.
- withHeader(Metadata.Key<T>, Predicate<T>) - Method in class org.grpcmock.definitions.matcher.HeadersMatcherBuilderImpl
-
- withHeader(Metadata.Key<T>, Predicate<T>) - Method in interface org.grpcmock.definitions.matcher.steps.HeadersMatcherBuilderStep
-
Adds a header matcher for the stub, which will trigger only if the given header
has value satisfying given
Predicate.
- withHeader(Metadata.Key<byte[]>, byte[]) - Method in interface org.grpcmock.definitions.matcher.steps.HeadersMatcherBuilderStep
-
Adds a binary header matcher for the stub, which will trigger only if the given header
has binary value
Arrays.equals(byte[], byte[]) to the provided one.
- withHeader(Metadata.Key<String>, String) - Method in interface org.grpcmock.definitions.matcher.steps.HeadersMatcherBuilderStep
-
Adds a header matcher for the stub, which will trigger only if the given header
has value equal to the provided one.
- withHeader(String, Predicate<String>) - Method in interface org.grpcmock.definitions.matcher.steps.HeadersMatcherBuilderStep
-
Adds a header matcher for the stub, which will trigger only if the given header
has value satisfying given
Predicate.
- withHeader(String, String) - Method in interface org.grpcmock.definitions.matcher.steps.HeadersMatcherBuilderStep
-
Adds a header matcher for the stub, which will trigger only if the given header
has value equal to the provided one.
- withHeader(Metadata.Key<T>, Predicate<T>) - Method in class org.grpcmock.definitions.stub.BidiStreamingMethodStubBuilderImpl
-
- withHeader(Metadata.Key<T>, Predicate<T>) - Method in class org.grpcmock.definitions.stub.ClientStreamingMethodStubBuilderImpl
-
- withHeader(Metadata.Key<T>, Predicate<T>) - Method in class org.grpcmock.definitions.stub.ServerStreamingMethodStubBuilderImpl
-
- withHeader(Metadata.Key<T>, Predicate<T>) - Method in class org.grpcmock.definitions.stub.UnaryMethodStubBuilderImpl
-
- withHeader(Metadata.Key<T>, Predicate<T>) - Method in class org.grpcmock.definitions.verification.RequestPatternBuilderImpl
-
- withNumberOfRequests(int) - Method in interface org.grpcmock.definitions.matcher.steps.StreamRequestMatcherBuilderStep
-
Adds a requests' matcher, which checks if received stream requests number is equal to provided one.
- withoutHeader(Metadata.Key<T>) - Method in interface org.grpcmock.definitions.matcher.steps.HeadersMatcherBuilderStep
-
Adds a header matcher for the stub, which will trigger only if the given header
does not exist.
- withoutHeader(String) - Method in interface org.grpcmock.definitions.matcher.steps.HeadersMatcherBuilderStep
-
Adds a header matcher for the stub, which will trigger only if the given header
does not exist.
- withRandomDelay(long, long) - Method in interface org.grpcmock.definitions.response.steps.DelayBuilderStep
-
Configures a random
Delay between given minMilliseconds and maxMilliseconds bounds in milliseconds for the response
action.
- withRandomDelay(Duration, Duration) - Method in interface org.grpcmock.definitions.response.steps.DelayBuilderStep
-
Configures a random
Delay between given min
Duration and max
Duration bounds in milliseconds for the
response action.
- withRandomDelay(long) - Method in interface org.grpcmock.definitions.response.steps.DelayBuilderStep
-
Configures a random
Delay between 0 and given maxMilliseconds for the response action.
- withRandomDelay(Duration) - Method in interface org.grpcmock.definitions.response.steps.DelayBuilderStep
-
Configures a random
Delay between 0 and given max
Duration for the response action.
- withRequest(Predicate<ReqT>) - Method in class org.grpcmock.definitions.matcher.RequestMatcherBuilderImpl
-
- withRequest(Predicate<ReqT>) - Method in interface org.grpcmock.definitions.matcher.steps.RequestMatcherBuilderStep
-
Adds a request matcher for the stub, which will trigger only if incoming request
satisfies given
Predicate.
- withRequest(ReqT) - Method in interface org.grpcmock.definitions.matcher.steps.RequestMatcherBuilderStep
-
Adds a request matcher for the stub, which will trigger only if incoming request
is equal to the provided one.
- withRequest(Predicate<ReqT>) - Method in class org.grpcmock.definitions.stub.ServerStreamingMethodStubBuilderImpl
-
- withRequest(Predicate<ReqT>) - Method in class org.grpcmock.definitions.stub.UnaryMethodStubBuilderImpl
-
- withRequest(Predicate<ReqT>) - Method in class org.grpcmock.definitions.verification.RequestPatternBuilderImpl
-
- withRequestAtIndex(int, Predicate<ReqT>) - Method in interface org.grpcmock.definitions.matcher.steps.StreamRequestMatcherBuilderStep
-
Adds a requests' matcher, which checks if a request at given index satisfies given
Predicate.
- withRequestAtIndex(int, ReqT) - Method in interface org.grpcmock.definitions.matcher.steps.StreamRequestMatcherBuilderStep
-
Adds a requests' matcher, which checks if a request at given index is equal to given request object.
- withRequests(Predicate<List<ReqT>>) - Method in class org.grpcmock.definitions.matcher.RequestMatcherBuilderImpl
-
- withRequests(Predicate<List<ReqT>>) - Method in interface org.grpcmock.definitions.matcher.steps.StreamRequestMatcherBuilderStep
-
Adds a requests' matcher, which checks if all received stream requests satisfies given
Predicate.
- withRequests(List<ReqT>) - Method in interface org.grpcmock.definitions.matcher.steps.StreamRequestMatcherBuilderStep
-
Adds a requests' matcher, which checks if all received stream requests are equal to provided list.
- withRequests(ReqT...) - Method in interface org.grpcmock.definitions.matcher.steps.StreamRequestMatcherBuilderStep
-
Adds a requests' matcher, which checks if all received stream requests are equal to provided array.
- withRequests(Predicate<List<ReqT>>) - Method in class org.grpcmock.definitions.verification.RequestPatternBuilderImpl
-
- withRequestsContaining(Predicate<ReqT>) - Method in interface org.grpcmock.definitions.matcher.steps.StreamRequestMatcherBuilderStep
-
Adds a requests' matcher, which checks if any of the received stream requests satisfies given
Predicate.
- withRequestsContaining(ReqT) - Method in interface org.grpcmock.definitions.matcher.steps.StreamRequestMatcherBuilderStep
-
Adds a requests' matcher, which checks if any of the received stream requests is equal to given request object.
- withStatus(Predicate<Status>) - Method in class org.grpcmock.definitions.matcher.StatusMatcherBuilderImpl
-
- withStatus(Predicate<Status>) - Method in interface org.grpcmock.definitions.matcher.steps.StatusMatcherBuilderStep
-
Adds a close Status matcher, which will check if the close status satisfies given predicate.
- withStatus(Predicate<Status>) - Method in class org.grpcmock.definitions.verification.RequestPatternBuilderImpl
-
- withStatusCode(Status.Code) - Method in interface org.grpcmock.definitions.matcher.steps.StatusMatcherBuilderStep
-
Adds a close Status matcher, which will check if the close status has the given Status.Code.
- withStatusMessage(String) - Method in interface org.grpcmock.definitions.matcher.steps.StatusMatcherBuilderStep
-
Adds a close Status matcher, which will check if the close status description is equal to given one.
- withStatusOk() - Method in interface org.grpcmock.definitions.matcher.steps.StatusMatcherBuilderStep
-
Adds a close Status matcher, which will check if the close status closed with Status.Code.OK.