- java.lang.Object
- 
- io.helidon.webclient.Proxy.Builder
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Proxy.BuilderaddNoProxy(String noProxyHost)Configure a host pattern that is not going through a proxy.Proxybuild()Build the instance from this builder.Proxy.Builderconfig(Config config)Configure a metric from configuration.Proxy.Builderhost(String host)Sets a new host value.Proxy.Builderpassword(char[] password)Sets a new password for the proxy.Proxy.Builderport(int port)Sets a port value.Proxy.Buildertype(Proxy.ProxyType type)Sets a new proxy type.Proxy.Builderusername(String username)Sets a new username for the proxy.Proxy.BuilderuseSystemSelector(boolean useIt)Configure proxy from environment variables and system properties.
 
- 
- 
- 
Method Detail- 
buildpublic Proxy build() Description copied from interface:BuilderBuild the instance from this builder.
 - 
configpublic Proxy.Builder config(Config config) Configure a metric from configuration. The following configuration key are used:Client Metric configuration options key default description use-system-selector falseWhether system proxy selector should be used type no defaultSets which type is this proxy. See Proxy.ProxyTypehost no defaultHost of the proxy port 80Port of the proxy username no defaultProxy username password no defaultProxy password no-proxy no defaultContains list of the hosts which should be excluded from using proxy - Parameters:
- config- configuration to configure this proxy
- Returns:
- updated builder instance
 
 - 
typepublic Proxy.Builder type(Proxy.ProxyType type) Sets a new proxy type.- Parameters:
- type- proxy type
- Returns:
- updated builder instance
 
 - 
hostpublic Proxy.Builder host(String host) Sets a new host value.- Parameters:
- host- host
- Returns:
- updated builder instance
 
 - 
portpublic Proxy.Builder port(int port) Sets a port value.- Parameters:
- port- port
- Returns:
- updated builder instance
 
 - 
usernamepublic Proxy.Builder username(String username) Sets a new username for the proxy.- Parameters:
- username- proxy username
- Returns:
- updated builder instance
 
 - 
passwordpublic Proxy.Builder password(char[] password) Sets a new password for the proxy.- Parameters:
- password- proxy password
- Returns:
- updated builder instance
 
 - 
addNoProxypublic Proxy.Builder addNoProxy(String noProxyHost) Configure a host pattern that is not going through a proxy.Options are: - IP Address, such as 192.168.1.1
- IP V6 Address, such as [2001:db8:85a3:8d3:1319:8a2e:370:7348]
- Hostname, such as localhost
- Domain name, such as helidon.io
- Domain name and all sub-domains, such as .helidon.io(leading dot)
- Combination of all options from above with a port, such as .helidon.io:80
 - Parameters:
- noProxyHost- to exclude from proxying
- Returns:
- updated builder instance
 
- IP Address, such as 
 - 
useSystemSelectorpublic Proxy.Builder useSystemSelector(boolean useIt) Configure proxy from environment variables and system properties.- Parameters:
- useIt- use system selector
- Returns:
- updated builder instance
 
 
- 
 
-