public ServerMethodDefinition < ReqT , RespT > withServerCallHandler ( ServerCallHandler < ReqT , RespT > handler ) { return new ServerMethodDefinition <> ( method , handler ) ; }
Create a new method definition with a different call handler .