List of usage examples for org.apache.commons.httpclient HttpMethodBase getProxyAuthState
@Override
public AuthState getProxyAuthState()
From source file:org.eclipse.ecf.provider.filetransfer.httpclient.NTLMProxyDetector.java
public static boolean detectNTLMProxy(HttpMethodBase method) { if (method == null) return false; AuthState authState = method.getProxyAuthState(); if (authState == null) return false; AuthScheme authScheme = authState.getAuthScheme(); if (authScheme == null) return false; String schemeName = authScheme.getSchemeName(); if (schemeName == null) return false; return schemeName.equalsIgnoreCase(PROXY_NTLM_VALUE); }