Accessing Authlete API server through a proxy server

Please refer to the followings when accessing the Authlete API server through a proxy server

Proxy-related Properties

java.net.useSystemProxies
http.proxyHost
http.proxyPort
https.proxyHost
https.proxyPort
http.nonProxyHosts
 

Examples

Example 1: Parse parameters as a java command
$ java -Djava.net.useSystemProxies=true ...
 
Example 2: Implement with code
System.setProperty("java.net.useSystemProxies", "true");

 

External References

How did we do with this article?