/** * Default Contructor, initilizes the http client * */ public DsmlConnection(){ this.con = new HttpClient(); this.con.getState().setAuthenticationPreemptive(true); this.useSoap = true; }
clientState.setCredentials(null, httpURL.getHost(), hostCredentials); clientState.setAuthenticationPreemptive(true);
client.getState().setAuthenticationPreemptive(true);
client.getState().setAuthenticationPreemptive(true);