Package io.grpc.testing
Class TestMethodDescriptors
- java.lang.Object
-
- io.grpc.testing.TestMethodDescriptors
-
public final class TestMethodDescriptors extends java.lang.ObjectA 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
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MethodDescriptor.Marshaller<java.lang.Void>voidMarshaller()Creates a new marshaller that does nothing.static MethodDescriptor<java.lang.Void,java.lang.Void>voidMethod()Creates a new method descriptor that always creates zero length messages, and always parses to null objects.
-
-
-
Method Detail
-
voidMethod
public static MethodDescriptor<java.lang.Void,java.lang.Void> voidMethod()
Creates a new method descriptor that always creates zero length messages, and always parses to null objects.- Since:
- 1.1.0
-
voidMarshaller
public static MethodDescriptor.Marshaller<java.lang.Void> voidMarshaller()
Creates a new marshaller that does nothing.- Since:
- 1.1.0
-
-