@Deprecated protected boolean sessionCompatible(HttpHost otherhost) { AuthScope other = HTTPAuthUtil.hostToAuthScope(otherhost); return sessionCompatible(other); }
HTTPSession(HttpHost httphost) throws HTTPException { init(HTTPAuthUtil.hostToAuthScope(httphost), null); }
if(user != null && (httpproxy != null || httpsproxy != null)) { if(httpproxy != null) proxyscope = HTTPAuthUtil.hostToAuthScope(httpproxy); else //httpsproxy != null proxyscope = HTTPAuthUtil.hostToAuthScope(httpsproxy); proxycreds = new UsernamePasswordCredentials(user, pwd);