Class NTLMProxyDetector
java.lang.Object
org.eclipse.ecf.provider.filetransfer.httpclient4.NTLMProxyDetector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleandetectNTLMProxy(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 booleandetectSPNEGOProxy(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.
-
Constructor Details
-
NTLMProxyDetector
public NTLMProxyDetector()
-
-
Method Details
-
detectNTLMProxy
public 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.- Parameters:
context- the HttpContext given to the HttpClient at execution time- Returns:
- true if it connected to an NTLM proxy
- Since:
- 5.0
-
detectSPNEGOProxy
public 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.- Parameters:
context- the HttpContext given to the HttpClient at execution time- Returns:
- true if it connected to an SPNEGO proxy
- Since:
- 5.0
-