Class ProxyConfig.Proxy
java.lang.Object
com.github.eirslett.maven.plugins.frontend.lib.ProxyConfig.Proxy
- Enclosing class:
- ProxyConfig
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAs 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) .getUri()booleanisNonProxyHost(String host) booleanisSecure()toString()boolean
-
Field Details
-
id
-
protocol
-
host
-
port
public final int port -
username
-
password
-
nonProxyHosts
-
-
Constructor Details
-
Proxy
-
-
Method Details
-
useAuthentication
public boolean useAuthentication() -
getUri
-
isSecure
public boolean isSecure() -
isNonProxyHost
-
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) . We could do the conversion here but npm seems to accept the bar separated list regardless of what the documentation says so we do no conversion for now.- Returns:
-
toString
-