public static HttpInterceptorFactory createFactory(final HttpInjector httpInjector) {
        return new HttpInterceptorFactory() {

            @NonNull
            @Override
            public HttpInterceptor create() {
                return new HttpInjectInterceptor(httpInjector);
            }

        };
    }
A factory produces {@link HttpInjectInterceptor} instance.

@param httpInjector A HTTP injector.
@return An instance of {@link HttpInjectInterceptor}.
netbare-injector/src/main/java/com/github/megatronking/netbare/http/HttpInjectInterceptor.java