| Package | Description |
|---|---|
| org.grpcmock | |
| org.grpcmock.definitions.stub |
| Modifier and Type | Method and Description |
|---|---|
static <ReqT,RespT> |
GrpcMock.unaryMethod(io.grpc.MethodDescriptor<ReqT,RespT> method)
Returns a stub builder for
MethodDescriptor.MethodType.UNARY method or MethodDescriptor.MethodType.SERVER_STREAMING method with a single
response. |
| Modifier and Type | Class and Description |
|---|---|
class |
UnaryMethodStubBuilderImpl<ReqT,RespT> |
| Modifier and Type | Method and Description |
|---|---|
<T> UnaryMethodStubBuilderStep<ReqT,RespT> |
UnaryMethodStubBuilderImpl.withHeader(io.grpc.Metadata.Key<T> headerKey,
Predicate<T> predicate) |
UnaryMethodStubBuilderStep<ReqT,RespT> |
UnaryMethodStubBuilderImpl.withRequest(Predicate<ReqT> requestPredicate) |
Copyright © 2023. All rights reserved.