Просмотр исходного кода

Added opposite arrows for inbound http requests.

Winston Li 11 лет назад
Родитель
Сommit
0e6f554e42

+ 1 - 1
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<String> multimap = new MultiMap<String>();
             uri.decodeQueryTo(multimap);
             String[] pathSections = uri.getPath().split("/");

+ 1 - 1
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();