Interface HertsRpcInterceptor


  • public interface HertsRpcInterceptor
    Herts server interceptor
    • Method Detail

      • setResponseMetadata

        void setResponseMetadata​(io.grpc.Metadata metadata)
        Set response grpc metadata
        Parameters:
        metadata - Metadata
      • beforeCallMethod

        <ReqT,​RespT> void beforeCallMethod​(io.grpc.ServerCall<ReqT,​RespT> call,
                                                 io.grpc.Metadata requestHeaders)
        Beforee intercept
        Type Parameters:
        ReqT - Request generics
        RespT - Response generics
        Parameters:
        call - ServerCall
        requestHeaders - Metadata