summaryrefslogtreecommitdiff
path: root/BKUOnline/src/main/java/at/gv/egiz/bku
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-12-29 10:24:11 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-12-29 10:24:11 +0000
commit992b3f1b54dca5d09167b1861541055f68311a4f (patch)
treea0fca824880c972ba4fe55dc2b7f7b3c2ff14ccc /BKUOnline/src/main/java/at/gv/egiz/bku
parentfb20464dc8dc024568b439c460485c700137e0e2 (diff)
downloadmocca-992b3f1b54dca5d09167b1861541055f68311a4f.tar.gz
mocca-992b3f1b54dca5d09167b1861541055f68311a4f.tar.bz2
mocca-992b3f1b54dca5d09167b1861541055f68311a4f.zip
logging for dataurl response redirect
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@563 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUOnline/src/main/java/at/gv/egiz/bku')
-rw-r--r--BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/ResultServlet.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/ResultServlet.java b/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/ResultServlet.java
index 9c2ec8bf..5ffe2399 100644
--- a/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/ResultServlet.java
+++ b/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/ResultServlet.java
@@ -124,12 +124,14 @@ public class ResultServlet extends SpringBKUServlet {
bp.writeResultTo(new NullOutputStream(), encoding);
getBindingProcessorManager().removeBindingProcessor(bp.getId());
} finally {
- log.info("Executing deferred browser redirect to: " + redirectUrl);
+ log.info("Executing deferred browser redirect to: " + redirectUrl);
resp.sendRedirect(redirectUrl);
session.invalidate();
}
return;
}
+
+ log.trace("setting response code: " + bp.getResponseCode());
resp.setStatus(bp.getResponseCode());
resp.setHeader("Cache-Control", "no-store"); // HTTP 1.1
resp.setHeader("Pragma", "no-cache"); // HTTP 1.0
@@ -137,6 +139,9 @@ public class ResultServlet extends SpringBKUServlet {
for (Iterator<String> it = bp.getResponseHeaders().keySet().iterator(); it
.hasNext();) {
String header = it.next();
+ if (log.isTraceEnabled()) {
+ log.trace("setting response header " + header + ": " + bp.getResponseHeaders().get(header));
+ }
resp.setHeader(header, bp.getResponseHeaders().get(header));
}
resp.setContentType(bp.getResultContentType());