summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku
diff options
context:
space:
mode:
authorAndreas Abraham <andreas.abraham@egiz.gv.at>2021-01-27 10:22:29 +0100
committerAndreas Abraham <andreas.abraham@egiz.gv.at>2021-01-27 10:22:29 +0100
commite5538393176f31ecee44331bbf2761d82c48f334 (patch)
tree0a70666f3329c83ef9d7231a398a05e8e39e8561 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku
parented17cf1ad4494c13dea26194ced9179311f29e7a (diff)
downloadpdf-over-e5538393176f31ecee44331bbf2761d82c48f334.tar.gz
pdf-over-e5538393176f31ecee44331bbf2761d82c48f334.tar.bz2
pdf-over-e5538393176f31ecee44331bbf2761d82c48f334.zip
Fixed Problem that timertask did not cancel
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java
index a1d33803..ef7cc81d 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java
@@ -516,13 +516,9 @@ public class ATrustHandler extends MobileBKUHandler {
get.addRequestHeader("Accept", "application/json, text/javascript");
get.addRequestHeader("Connection", "keep-alive");
get.addRequestHeader("Referer", uri);
- System.out.println("URL" + uri);
- System.out.println("Cookies " + getStatus().getCookies());
int returnValue = client.executeMethod(get);
- System.out.println("retVal " + returnValue);
- //InputStream in = new BufferedInputStream(urlconnection.getInputStream());
InputStream in = new BufferedInputStream(get.getResponseBodyAsStream());
isReady = IOUtils.toString(in, "utf-8"); //$NON-NLS-1$
@@ -536,14 +532,6 @@ public class ATrustHandler extends MobileBKUHandler {
throw new ATrustConnectionException();
}
- /*if (serverStatus.isWait())
- waits++;
- if (waits > 4) {
- status.setErrorMessage(ERROR);
- log.error(ERROR);
- throw new ATrustConnectionException();
- }*/
-
} while (serverStatus.isWait());
if (serverStatus.isFin()) {