@Override
    public IApiConnector createConnector(ApiRequest request, final Api api,
        final RequiredAuthType requiredAuthType, boolean hasDataPolicy,
        final IConnectorConfig connectorConfig) {
        return new IApiConnector() {
            /**
             * @see io.apiman.gateway.engine.IApiConnector#connect(io.apiman.gateway.engine.beans.ApiRequest, io.apiman.gateway.engine.async.IAsyncResultHandler)
             */
            @Override
            public IApiConnection connect(ApiRequest request,
                IAsyncResultHandler<IApiConnectionResponse> handler) throws ConnectorException {

                return new HttpApiConnection(okClient, request, api,
                    requiredAuthType, getSslStrategy(requiredAuthType), hasDataPolicy,
                    connectorConfig, handler);
            }
        };
    }
@see io.apiman.gateway.engine.IConnectorFactory#createConnector(ApiRequest, Api, RequiredAuthType,
boolean, IConnectorConfig)
gateway/platforms/servlet/src/main/java/io/apiman/gateway/platforms/servlet/connectors/HttpConnectorFactory.java