2016/01/21

HttpResponse Stream

あまり情報がないので、   ★The respone entity is always not null and is stream,so the releaseConnection method cant be invoked always. final HttpEntity entity = response.getEntity(); if (entity == null || !entity.isStreaming()) {    ★  Using EntityUtils and HttpEntity HttpResponse response = httpClient.execute(new HttpGet(URL)); HttpEntity entity = response.getEntity(); String responseString = EntityUtils.toString(entity, "UTF-8"); System.out.println(responseString); Using BasicResponseHandler HttpResponse response...

2016/01/17

windows 印刷 job削除

windowsを再起動して治るが、時間かかります。 ・service->Print Spoolー>再開   トキドキうまくいく ・Ctl+Rー>spool、C:\Windows\System32\spoolにいく、   PRINTTERS下の   *.SHD   *.SPL を削除する、削除できない物はあり、先にPrint Spool Serviceを停止して。 ・プリンターを再起動する でもいっぱい印刷する時、時々とまるので、こまる また調べる ・spool Serviceを停止して、プリンターの一覧もきえる ーー>プリンターを削除できない 。...