Class WinProxySearchStrategy

java.lang.Object
com.github.markusbernhardt.proxy.search.desktop.win.CommonWindowsSearchStrategy
com.github.markusbernhardt.proxy.search.desktop.win.WinProxySearchStrategy
All Implemented Interfaces:
ProxySearchStrategy

public class WinProxySearchStrategy extends CommonWindowsSearchStrategy
Extracts the proxy settings from the windows registry. This will read the windows system proxy settings.
  • Field Details

    • WINHTTP_ACCESS_TYPE_DEFAULT_PROXY

      static final int WINHTTP_ACCESS_TYPE_DEFAULT_PROXY
      Resolves all host names directly without a proxy.
      See Also:
    • WINHTTP_ACCESS_TYPE_NO_PROXY

      static final int WINHTTP_ACCESS_TYPE_NO_PROXY
      Retrieves the static proxy or direct configuration from the registry. WINHTTP_ACCESS_TYPE_DEFAULT_PROXY does not inherit browser proxy settings. WinHTTP does not share any proxy settings with Internet Explorer.

      The WinHTTP proxy configuration is set by one of these mechanisms.

      • The proxycfg.exe utility on Windows XP and Windows Server 2003 or earlier.
      • The netsh.exe utility on Windows Vista and Windows Server 2008 or later.
      • WinHttpSetDefaultProxyConfiguration on all platforms.
      See Also:
    • WINHTTP_ACCESS_TYPE_NAMED_PROXY

      static final int WINHTTP_ACCESS_TYPE_NAMED_PROXY
      Passes requests to the proxy unless a proxy bypass list is supplied and the name to be resolved bypasses the proxy. In this case, this function uses WINHTTP_ACCESS_TYPE_NAMED_PROXY.
      See Also:
  • Constructor Details

    • WinProxySearchStrategy

      public WinProxySearchStrategy()
      Constructor
  • Method Details