public static class ProxyConfig.Proxy extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
host |
String |
id |
String |
nonProxyHosts |
String |
password |
int |
port |
String |
protocol |
String |
username |
| Constructor and Description |
|---|
Proxy(String id,
String protocol,
String host,
int port,
String username,
String password,
String nonProxyHosts) |
| Modifier and Type | Method and Description |
|---|---|
String |
getNonProxyHosts()
As per https://docs.npmjs.com/misc/config#noproxy , npm expects a comma (`,`) separated list but
maven settings.xml usually specifies the no proxy hosts as a bar (`|`) separated list (see
http://maven.apache.org/guides/mini/guide-proxies.html) .
|
URI |
getUri() |
boolean |
isNonProxyHost(String host) |
boolean |
isSecure() |
String |
toString() |
boolean |
useAuthentication() |
public final String id
public final String protocol
public final String host
public final int port
public final String username
public final String password
public final String nonProxyHosts
public boolean useAuthentication()
public URI getUri()
public boolean isSecure()
public boolean isNonProxyHost(String host)
public String getNonProxyHosts()
Copyright © 2023. All rights reserved.