Modifier and Type | Method and Description |
---|---|
Proxy |
Proxy.Builder.build() |
Proxy |
Settings.getActiveProxy() |
static Proxy |
Proxy.newInstance()
Creates a new
Proxy instance. |
static Proxy |
Proxy.newInstance(boolean withDefaults)
Creates a new
Proxy instance using default values or not. |
Proxy |
Proxy.withActive(boolean active)
Creates a new
Proxy instance using the specified active. |
Proxy |
Proxy.withHost(String host)
Creates a new
Proxy instance using the specified host. |
Proxy |
Proxy.withId(String id)
Creates a new
Proxy instance using the specified id. |
Proxy |
Proxy.withNonProxyHosts(String nonProxyHosts)
Creates a new
Proxy instance using the specified nonProxyHosts. |
Proxy |
Proxy.withPassword(String password)
Creates a new
Proxy instance using the specified password. |
Proxy |
Proxy.withPort(int port)
Creates a new
Proxy instance using the specified port. |
Proxy |
Proxy.withProtocol(String protocol)
Creates a new
Proxy instance using the specified protocol. |
Proxy |
Proxy.withUsername(String username)
Creates a new
Proxy instance using the specified username. |
Modifier and Type | Method and Description |
---|---|
List<Proxy> |
Settings.getProxies()
Configuration for different proxy profiles.
|
Modifier and Type | Method and Description |
---|---|
static Proxy.Builder |
Proxy.newBuilder(Proxy from)
Creates a new
Proxy builder instance using the specified object as a basis. |
static Proxy.Builder |
Proxy.newBuilder(Proxy from,
boolean forceCopy)
Creates a new
Proxy builder instance using the specified object as a basis. |
Modifier and Type | Method and Description |
---|---|
Settings.Builder |
Settings.Builder.proxies(Collection<Proxy> proxies) |
Settings |
Settings.withProxies(Collection<Proxy> proxies)
Creates a new
Settings instance using the specified proxies. |
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.