public class WinHttpHelpers extends Object
WinHttp functions.| Modifier and Type | Field and Description |
|---|---|
static WinHttp |
WINHTTP_INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static String |
detectAutoProxyConfigUrl(com.sun.jna.platform.win32.WinDef.DWORD dwAutoDetectFlags)
Finds the URL for the Proxy Auto-Configuration (PAC) file using WPAD.
|
public static final WinHttp WINHTTP_INSTANCE
public static String detectAutoProxyConfigUrl(com.sun.jna.platform.win32.WinDef.DWORD dwAutoDetectFlags)
WinHttpDetectAutoProxyConfigUrl
This method is blocking and may take some time to execute.
dwAutoDetectFlags - flags for auto detectionnull if it cannot be located
using WPAD method.Copyright © 2020. All rights reserved.