public class FutureStubFactory extends StandardJavaGrpcStubFactory
| Constructor and Description |
|---|
FutureStubFactory() |
| 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 AbstractStub<?>> stubType)
Used to resolve a factory that matches the particular stub type.
|
createStubpublic boolean isApplicable(Class<? extends AbstractStub<?>> stubType)
StubFactorystubType - The type of the stub that needs to be created.protected String getFactoryMethodName()
StandardJavaGrpcStubFactorygetFactoryMethodName in class StandardJavaGrpcStubFactory