public class AsyncStubFactory extends StandardJavaGrpcStubFactory
| Constructor and Description |
|---|
AsyncStubFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getFactoryMethodName()
Derives the name of the factory method from the given stub type.
|
boolean |
isApplicable(Class<? extends io.grpc.stub.AbstractStub<?>> stubType)
Used to resolve a factory that matches the particular stub type.
|
createStubpublic boolean isApplicable(Class<? extends io.grpc.stub.AbstractStub<?>> stubType)
StubFactorystubType - The type of the stub that needs to be created.protected String getFactoryMethodName()
StandardJavaGrpcStubFactorygetFactoryMethodName in class StandardJavaGrpcStubFactory