Tabnine Logo
HttpClientConfigurator.configure
Code IndexAdd Tabnine to your IDE (free)

How to use
configure
method
in
org.apache.gobblin.http.HttpClientConfigurator

Best Java code snippets using org.apache.gobblin.http.HttpClientConfigurator.configure (Showing top 6 results out of 315)

origin: apache/incubator-gobblin

this.httpClientConfigurator = httpClientConfiguratorLoader.getConfigurator();
this.httpClientConfigurator.setStatePropertiesPrefix(HTTP_CLIENT_CONFIG_PREFIX)
              .configure(workUnitState);
origin: apache/incubator-gobblin

protected HttpClient getHttpClient() {
 if (this.httpClient == null) {
  HttpClientConfiguratorLoader configuratorLoader = new HttpClientConfiguratorLoader(this.state);
  this.httpClient = configuratorLoader.getConfigurator()
    .setStatePropertiesPrefix(ConfigurationKeys.SOURCE_CONN_PREFIX)
    .configure(this.state)
    .createClient();
 }
 return this.httpClient;
}
origin: apache/incubator-gobblin

public HttpClientBuilder getDefaultHttpClientBuilder() {
 HttpClientConfiguratorLoader clientConfiguratorLoader =
   new HttpClientConfiguratorLoader(getState());
 clientConfiguratorLoader.getConfigurator().setStatePropertiesPrefix(AbstractHttpWriterBuilder.CONF_PREFIX);
 return clientConfiguratorLoader.getConfigurator().configure(getState())
   .getBuilder().disableCookieManagement().useSystemProperties();
}
origin: org.apache.gobblin/gobblin-core

protected HttpClient getHttpClient() {
 if (this.httpClient == null) {
  HttpClientConfiguratorLoader configuratorLoader = new HttpClientConfiguratorLoader(this.state);
  this.httpClient = configuratorLoader.getConfigurator()
    .setStatePropertiesPrefix(ConfigurationKeys.SOURCE_CONN_PREFIX)
    .configure(this.state)
    .createClient();
 }
 return this.httpClient;
}
origin: org.apache.gobblin/gobblin-example

this.httpClientConfigurator = httpClientConfiguratorLoader.getConfigurator();
this.httpClientConfigurator.setStatePropertiesPrefix(HTTP_CLIENT_CONFIG_PREFIX)
              .configure(workUnitState);
origin: org.apache.gobblin/gobblin-core

public HttpClientBuilder getDefaultHttpClientBuilder() {
 HttpClientConfiguratorLoader clientConfiguratorLoader =
   new HttpClientConfiguratorLoader(getState());
 clientConfiguratorLoader.getConfigurator().setStatePropertiesPrefix(AbstractHttpWriterBuilder.CONF_PREFIX);
 return clientConfiguratorLoader.getConfigurator().configure(getState())
   .getBuilder().disableCookieManagement().useSystemProperties();
}
org.apache.gobblin.httpHttpClientConfiguratorconfigure

Javadoc

Extracts the HttpClient configuration from a typesafe config. Supported configuration options may vary from implementation to implementation.

Popular methods of HttpClientConfigurator

  • createClient
    Typically this will use HttpClientBuilder#build() based on the configuration but implementations may
  • setStatePropertiesPrefix
    Sets a prefix to use when extracting the configuration from State. The default is empty.
  • getBuilder
    The underlying client builder

Popular in Java

  • Parsing JSON documents to java classes using gson
  • requestLocationUpdates (LocationManager)
  • getSystemService (Context)
  • putExtra (Intent)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now