Package com.vaadin.flow.server.frontend
Class ProxyFactory
java.lang.Object
com.vaadin.flow.server.frontend.ProxyFactory
Factory for reading proxy configurations from various sources including
system properties, .npmrc files, and environment variables.
For internal use only. May be renamed or removed in a future release.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<ProxyConfig.Proxy> getProxies(File projectDirectory) Read list of configured proxies in order from system properties, .npmrc file in the project root folder, .npmrc file in user root folder and system environment variables.
-
Constructor Details
-
ProxyFactory
public ProxyFactory()
-
-
Method Details
-
getProxies
Read list of configured proxies in order from system properties, .npmrc file in the project root folder, .npmrc file in user root folder and system environment variables.- Parameters:
projectDirectory- the project directory- Returns:
- list of configured proxies
-