Class NTLMProxyDetector


  • public class NTLMProxyDetector
    extends Object
    • Constructor Detail

      • NTLMProxyDetector

        public NTLMProxyDetector()
    • Method Detail

      • 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