public final class CredentialsProviderBuilder extends Object
CredentialsProvider
builder.Constructor and Description |
---|
CredentialsProviderBuilder() |
Modifier and Type | Method and Description |
---|---|
CredentialsProviderBuilder |
add(AuthScope authScope,
Credentials credentials) |
CredentialsProviderBuilder |
add(AuthScope authScope,
String username,
char[] password) |
CredentialsProviderBuilder |
add(org.apache.hc.core5.http.HttpHost httpHost,
Credentials credentials) |
CredentialsProviderBuilder |
add(org.apache.hc.core5.http.HttpHost httpHost,
String username,
char[] password) |
CredentialsProvider |
build() |
static CredentialsProviderBuilder |
create() |
public static CredentialsProviderBuilder create()
public CredentialsProviderBuilder add(AuthScope authScope, Credentials credentials)
public CredentialsProviderBuilder add(AuthScope authScope, String username, char[] password)
public CredentialsProviderBuilder add(org.apache.hc.core5.http.HttpHost httpHost, Credentials credentials)
public CredentialsProviderBuilder add(org.apache.hc.core5.http.HttpHost httpHost, String username, char[] password)
public CredentialsProvider build()
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.