throw new IllegalArgumentException("HTTP request may not be null");
if (paramHttpContext == null)
throw new IllegalArgumentException("HTTP context may not be null");
if (paramHttpRequest.containsHeader("Proxy-Authorization"))
return;
HttpRoutedConnection localHttpRoutedConnection = (HttpRoutedConnection)paramHttpContext.getAttribute("http.connection");
if (localHttpRoutedConnection == null)
{
this.log.debug("HTTP connection not set in the context");
return;
}
HttpRoute localHttpRoute = localHttpRoutedConnection.getRoute();
if (localHttpRoute.isTunnelled())
return;
AuthState localAuthState = (AuthState)paramHttpContext.getAttribute("http.auth.proxy-scope");
if (localAuthState == null)
{