summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui/src/main')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java24
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/PostTanThread.java8
2 files changed, 16 insertions, 16 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java
index 306ac6ae..2f498a98 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java
@@ -42,17 +42,17 @@ public class LocalBKUState extends State {
/**
* HTTP Response server HEADER
*/
- public final static String BKU_REPSONE_HEADER_SERVER = "server"; //$NON-NLS-1$
+ public final static String BKU_RESPONSE_HEADER_SERVER = "server"; //$NON-NLS-1$
/**
* HTTP Response user-agent HEADER
*/
- public final static String BKU_REPSONE_HEADER_USERAGENT = "user-agent"; //$NON-NLS-1$
+ public final static String BKU_RESPONSE_HEADER_USERAGENT = "user-agent"; //$NON-NLS-1$
/**
* HTTP Response SignatureLayout HEADER
*/
- public final static String BKU_REPSONE_HEADER_SIGNATURE_LAYOUT = "SignatureLayout"; //$NON-NLS-1$
+ public final static String BKU_RESPONSE_HEADER_SIGNATURE_LAYOUT = "SignatureLayout"; //$NON-NLS-1$
/**
* PDF Over User Agent string
@@ -96,24 +96,24 @@ public class LocalBKUState extends State {
String server = ""; //$NON-NLS-1$
String userAgent = ""; //$NON-NLS-1$
String signatureLayout = null;
- if (method.getResponseHeader(BKU_REPSONE_HEADER_SERVER) != null&&
- !method.getResponseHeader(BKU_REPSONE_HEADER_SERVER).equals("")) { //$NON-NLS-1$
+ if (method.getResponseHeader(BKU_RESPONSE_HEADER_SERVER) != null&&
+ !method.getResponseHeader(BKU_RESPONSE_HEADER_SERVER).equals("")) { //$NON-NLS-1$
server = method.getResponseHeader(
- BKU_REPSONE_HEADER_SERVER).getValue();
+ BKU_RESPONSE_HEADER_SERVER).getValue();
}
- if (method.getResponseHeader(BKU_REPSONE_HEADER_USERAGENT) != null &&
- !method.getResponseHeader(BKU_REPSONE_HEADER_USERAGENT).equals("")) { //$NON-NLS-1$
+ if (method.getResponseHeader(BKU_RESPONSE_HEADER_USERAGENT) != null &&
+ !method.getResponseHeader(BKU_RESPONSE_HEADER_USERAGENT).equals("")) { //$NON-NLS-1$
userAgent = method.getResponseHeader(
- BKU_REPSONE_HEADER_USERAGENT).getValue();
+ BKU_RESPONSE_HEADER_USERAGENT).getValue();
}
if (method
- .getResponseHeader(BKU_REPSONE_HEADER_SIGNATURE_LAYOUT) != null &&
+ .getResponseHeader(BKU_RESPONSE_HEADER_SIGNATURE_LAYOUT) != null &&
!method
- .getResponseHeader(BKU_REPSONE_HEADER_SIGNATURE_LAYOUT).equals("")) { //$NON-NLS-1$
+ .getResponseHeader(BKU_RESPONSE_HEADER_SIGNATURE_LAYOUT).equals("")) { //$NON-NLS-1$
signatureLayout = method.getResponseHeader(
- BKU_REPSONE_HEADER_SIGNATURE_LAYOUT).getValue();
+ BKU_RESPONSE_HEADER_SIGNATURE_LAYOUT).getValue();
}
String response = method.getResponseBodyAsString();
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/PostTanThread.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/PostTanThread.java
index 22cb6317..21c4e86e 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/PostTanThread.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/PostTanThread.java
@@ -110,9 +110,9 @@ public class PostTanThread implements Runnable {
responseData = gmethod.getResponseBodyAsString();
if (gmethod
- .getResponseHeader(LocalBKUState.BKU_REPSONE_HEADER_SERVER) != null) {
+ .getResponseHeader(LocalBKUState.BKU_RESPONSE_HEADER_SERVER) != null) {
server = gmethod.getResponseHeader(
- LocalBKUState.BKU_REPSONE_HEADER_SERVER)
+ LocalBKUState.BKU_RESPONSE_HEADER_SERVER)
.getValue();
}
@@ -120,9 +120,9 @@ public class PostTanThread implements Runnable {
responseData = method.getResponseBodyAsString();
if (method
- .getResponseHeader(LocalBKUState.BKU_REPSONE_HEADER_SERVER) != null) {
+ .getResponseHeader(LocalBKUState.BKU_RESPONSE_HEADER_SERVER) != null) {
server = method.getResponseHeader(
- LocalBKUState.BKU_REPSONE_HEADER_SERVER)
+ LocalBKUState.BKU_RESPONSE_HEADER_SERVER)
.getValue();
}