Package io.grpc.testing
Class TestMethodDescriptors
java.lang.Object
io.grpc.testing.TestMethodDescriptors
A collection of method descriptor constructors useful for tests. These are useful if you need
a descriptor, but don't really care how it works.
- Since:
- 1.1.0
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.grpc.MethodDescriptor.Marshaller
<Void> Creates a new marshaller that does nothing.Creates a new method descriptor that always creates zero length messages, and always parses to null objects.
-
Constructor Details
-
TestMethodDescriptors
private TestMethodDescriptors()
-
-
Method Details
-
voidMethod
Creates a new method descriptor that always creates zero length messages, and always parses to null objects.- Since:
- 1.1.0
-
voidMarshaller
Creates a new marshaller that does nothing.- Since:
- 1.1.0
-