public static final class MicrosoftClientBuilder.BuilderCustomAuthenticator<T> extends Object
public MicrosoftClientBuilder.BuilderCustomAuthenticator<T> connectTimeout(long duration, TimeUnit unit)
public MicrosoftClientBuilder.BuilderCustomAuthenticator<T> readTimeout(long duration, TimeUnit unit)
public MicrosoftClientBuilder.BuilderCustomAuthenticator<T> proxyHost(String proxyHost)
public MicrosoftClientBuilder.BuilderCustomAuthenticator<T> proxyPort(int proxyPort)
public MicrosoftClientBuilder.BuilderCustomAuthenticator<T> proxyUsername(String username)
public MicrosoftClientBuilder.BuilderCustomAuthenticator<T> proxyPassword(String password)
public MicrosoftClientBuilder.BuilderCustomAuthenticator<T> httpClientProvider(Supplier<org.apache.http.impl.client.CloseableHttpClient> supplier)
HttpClient. This method might
disappear if the underlying http service gets swapped out for another one.
You might want to use this method if your proxy interaction is complicated
for example.supplier - provider of HttpClientpublic MicrosoftClientBuilder.BuilderCustomAuthenticator<T> httpClientBuilderExtras(Function<org.apache.http.impl.client.HttpClientBuilder,org.apache.http.impl.client.HttpClientBuilder> extras)
HttpClientBuilder.
This method might disappear if the underlying http service gets swapped out
for another one. You might want to use this method if your proxy interaction
is complicated for example or if you want to use interceptors or other fancy
stuff.extras - modifier of builderpublic T build()
Copyright © 2018–2020. All rights reserved.