Does Java's ProxySelector not work with automatic proxy configuration scripts?

前端 未结 5 2092
生来不讨喜
生来不讨喜 2020-12-01 03:14

I want my Java program to use the system\'s proxy configuration. Accordingly, I used the code found in many places, such as this answer, to set java.net.useSystemProxi

5条回答
  •  一生所求
    2020-12-01 03:47

    Yes, from version 9 automatic proxy configurations (PAC/WPAD) will be read from the operating system.

提交回复
热议问题