code: @Nullable
    private HttpMethodInfo prepareHandleMethod(HttpRequest httpRequest,
                                               HttpResponder responder, ChannelHandlerContext ctx) throws Exception {
      HttpMethodInfo methodInfo = httpMethodHandler.getDestinationMethod(httpRequest, responder);
  
      if (methodInfo == null) {
        return null;
      }
  
      ctx.channel().attr(HttpDispatcher.METHOD_INFO_KEY).set(methodInfo);
  
      ChannelPipeline pipeline = ctx.channel().pipeline();
      if (methodInfo.isStreaming()) {
        if (pipeline.get("aggregator") != null) {
          pipeline.remove("aggregator");
        }
        if (pipeline.get("continue") == null) {
          pipeline.addAfter("router", "continue", new HttpServerExpectContinueHandler());
        }
      } else {
        if (pipeline.get("continue") != null) {
          pipeline.remove("continue");
        }
        if (pipeline.get("aggregator") == null) {
          pipeline.addAfter("router", "aggregator", new HttpObjectAggregator(chunkMemoryLimit));
        }
      }
      return methodInfo;
    }
docs: If return type of the handler http method is BodyConsumer, remove {@link HttpObjectAggregator} class if it exists;
  otherwise adds the {@link HttpObjectAggregator} to the pipeline if its not present already.