@Test public void testGetAppLogic() { GrpcAppLogic<HelloRequest, HelloReply> expectedAppLogic = (HelloRequest request) -> HelloReply.getDefaultInstance(); GrpcRequestHandler handler = new GrpcRequestHandler<>(HelloRequest::parseFrom, expectedAppLogic); assertSame(expectedAppLogic, handler.getAppLogic()); }
public GrpcAppLogic<GrpcRequest, GrpcResponse> getAppLogic() { return appLogic; }
GrpcRequestHandler implements PipelineRequestHandler { public GrpcAppLogic<GrpcRequest, GrpcResponse> getAppLogic() { return appLogic; } }
GrpcRequestHandler implements PipelineRequestHandler { public GrpcAppLogic<GrpcRequest, GrpcResponse> getAppLogic() { return appLogic; } GrpcRequestHandler(
      GrpcRequestParser<GrpcRequest> requestParser,
      GrpcAppLogic<GrpcRequest, GrpcResponse> appLogic); }
GrpcRequestHandler implements PipelineRequestHandler { public GrpcAppLogic<GrpcRequest, GrpcResponse> getAppLogic() { return appLogic; } GrpcRequestHandler(
      GrpcRequestParser<GrpcRequest> requestParser,
      GrpcAppLogic<GrpcRequest, GrpcResponse> appLogic); GrpcAppLogic<GrpcRequest, GrpcResponse> getAppLogic(); @Override void handle(ChannelHandlerContext ctx, Request request, RouteState route); }
GrpcRequestHandler implements PipelineRequestHandler { public GrpcAppLogic<GrpcRequest, GrpcResponse> getAppLogic() { return appLogic; } GrpcRequestHandler(
      GrpcRequestParser<GrpcRequest> requestParser,
      GrpcAppLogic<GrpcRequest, GrpcResponse> appLogic); GrpcAppLogic<GrpcRequest, GrpcResponse> getAppLogic(); @Override void handle(ChannelHandlerContext ctx, Request request, RouteState route);  }