Class CustomGrpcMarshaller

  • All Implemented Interfaces:
    io.grpc.MethodDescriptor.Marshaller<byte[]>

    public class CustomGrpcMarshaller
    extends java.lang.Object
    implements io.grpc.MethodDescriptor.Marshaller<byte[]>
    Herts grpc marshaller
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] parse​(java.io.InputStream stream)  
      java.io.InputStream stream​(byte[] value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CustomGrpcMarshaller

        public CustomGrpcMarshaller()
    • Method Detail

      • stream

        public java.io.InputStream stream​(byte[] value)
        Specified by:
        stream in interface io.grpc.MethodDescriptor.Marshaller<byte[]>
      • parse

        public byte[] parse​(java.io.InputStream stream)
        Specified by:
        parse in interface io.grpc.MethodDescriptor.Marshaller<byte[]>