private void doPostFilter()

in runner-core/src/main/java/org/apache/apisix/plugin/runner/handler/RpcCallHandler.java [199:215]


    private void doPostFilter(ChannelHandlerContext ctx) {
        A6Conf conf = cache.getIfPresent(confToken);
        if (Objects.isNull(conf)) {
            logger.warn("cannot find conf token: {}", confToken);
            errorHandle(ctx, Code.CONF_TOKEN_NOT_FOUND);
            return;
        }

        postReq.initCtx(conf.getConfig());
        postReq.setVars(nginxVars);

        PluginFilterChain chain = conf.getChain();
        chain.postFilter(postReq, postResp);

        ChannelFuture future = ctx.writeAndFlush(postResp);
        future.addListeners(ChannelFutureListener.FIRE_EXCEPTION_ON_FAILURE);
    }