The class HttpConfigurable has been deprecated at version 2024.2, when I use HttpConfigurable.getInstance() to get proxy data such as host, login name, it will warn: ‘com. intellij. util. net. HttpConfigurable’ is deprecated and marked for removal. Is there other way to get proxy data?
I tried as https://intellij-support.jetbrains.com/hc/en-us/community/posts/206755245-How-to-access-IntelliJ-proxy-data-programmatically said, but warning shows when compiling:
warning: [removal] HttpConfigurable in com.intellij.util.net has been deprecated and marked for removal
HttpConfigurable proxySettings = HttpConfigurable.getInstance();