Interface GrpcMethod.Unary

Enclosing class:
GrpcMethod

public static interface GrpcMethod.Unary
Runs a unary method.
  • Method Summary

    Modifier and Type
    Method
    Description
    call(Object request, GrpcContext context)
     
  • Method Details

    • call

      Object call(Object request, GrpcContext context) throws Exception
      Parameters:
      request - the request message
      context - the call
      Returns:
      the response message
      Throws:
      Exception - ends the call with a status