@Override
    public IApiRequestExecutor executor(ApiRequest request, final IAsyncResultHandler<IEngineResult> resultHandler) {
        IBufferFactoryComponent bufferFactory = componentRegistry.getComponent(IBufferFactoryComponent.class);
        return new ApiRequestExecutorImpl(request,
                resultHandler,
                registry,
                new PolicyContextImpl(getComponentRegistry()),
                policyFactory,
                getConnectorFactory(),
                getMetrics(),
                bufferFactory);
    }
@see io.apiman.gateway.engine.IEngine#executor(ApiRequest, IAsyncResultHandler)
gateway/engine/core/src/main/java/io/apiman/gateway/engine/impl/EngineImpl.java