public class NTLMProxyDetector
extends java.lang.Object
Constructor and Description |
---|
NTLMProxyDetector() |
Modifier and Type | Method and Description |
---|---|
static boolean |
detectNTLMProxy(org.apache.http.protocol.HttpContext context)
This method will detect if the request connected to a NTLM proxy
given the HttpContext provided to one of the HttpClient#execute()
methods.
|
static boolean |
detectSPNEGOProxy(org.apache.http.protocol.HttpContext context)
This method will detect if the request connected to a SPNEGO proxy
given the HttpContext provided to one of the HttpClient#execute()
methods.
|
public static boolean detectNTLMProxy(org.apache.http.protocol.HttpContext context)
context
- the HttpContext given to the HttpClient at execution timepublic static boolean detectSPNEGOProxy(org.apache.http.protocol.HttpContext context)
context
- the HttpContext given to the HttpClient at execution time