From 0e6f554e4245f88e2892873933f7595a18f3843a Mon Sep 17 00:00:00 2001 From: Winston Li Date: Sat, 10 Jan 2015 11:32:33 +0000 Subject: [PATCH] Added opposite arrows for inbound http requests. --- .../uk/ac/ic/wlgitbridge/application/AttsResourceHandler.java | 2 +- .../ic/wlgitbridge/application/SnapshotPushPostbackHandler.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/application/AttsResourceHandler.java b/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/application/AttsResourceHandler.java index ca72b14434..758ea772f0 100644 --- a/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/application/AttsResourceHandler.java +++ b/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/application/AttsResourceHandler.java @@ -29,7 +29,7 @@ public class AttsResourceHandler extends ResourceHandler { String method = baseRequest.getMethod(); if (method.equals("GET")) { HttpURI uri = baseRequest.getUri(); - Util.sout(method + " " + uri); + Util.sout(method + " <- " + uri); MultiMap multimap = new MultiMap(); uri.decodeQueryTo(multimap); String[] pathSections = uri.getPath().split("/"); diff --git a/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/application/SnapshotPushPostbackHandler.java b/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/application/SnapshotPushPostbackHandler.java index 7e90bbe8b5..3c41af21b2 100644 --- a/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/application/SnapshotPushPostbackHandler.java +++ b/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/application/SnapshotPushPostbackHandler.java @@ -37,7 +37,7 @@ public class SnapshotPushPostbackHandler extends AbstractHandler { } String projectName = parts[1]; String postbackKey = parts[2]; - Util.sout(baseRequest.getMethod() + " " + baseRequest.getUri()); + Util.sout(baseRequest.getMethod() + " <- " + baseRequest.getUri()); SnapshotPushPostbackContents postbackContents = new SnapshotPushPostbackContents(writeLatexDataSource, projectName, postbackKey, contents); JsonObject body = new JsonObject();