/** * Provides an HttpStreamFactory implementation if the user desires to use an * external HTTP/HTTPS implementation. Uses URL::openStream by default. * * @see #useProtocolsStreamImplementation(FSStreamFactory, String[]) * * @param factory the factory to use for HTTP/HTTPS * @return this for method chaining */ public final TFinalClass useHttpStreamImplementation(FSStreamFactory factory) { this.useProtocolsStreamImplementation(factory, "http", "https"); return (TFinalClass) this; }
protected BaseRendererBuilder(TBaseRendererBuilderState state) { this.state = state; this.useProtocolsStreamImplementation(new NaiveUserAgent.DefaultHttpStreamFactory(), "http", "https"); }