Added opposite arrows for inbound http requests.

This commit is contained in:
Winston Li 2015-01-10 11:32:33 +00:00
parent ca936d6630
commit 0e6f554e42
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ public class AttsResourceHandler extends ResourceHandler {
String method = baseRequest.getMethod(); String method = baseRequest.getMethod();
if (method.equals("GET")) { if (method.equals("GET")) {
HttpURI uri = baseRequest.getUri(); HttpURI uri = baseRequest.getUri();
Util.sout(method + " " + uri); Util.sout(method + " <- " + uri);
MultiMap<String> multimap = new MultiMap<String>(); MultiMap<String> multimap = new MultiMap<String>();
uri.decodeQueryTo(multimap); uri.decodeQueryTo(multimap);
String[] pathSections = uri.getPath().split("/"); String[] pathSections = uri.getPath().split("/");

View file

@ -37,7 +37,7 @@ public class SnapshotPushPostbackHandler extends AbstractHandler {
} }
String projectName = parts[1]; String projectName = parts[1];
String postbackKey = parts[2]; String postbackKey = parts[2];
Util.sout(baseRequest.getMethod() + " " + baseRequest.getUri()); Util.sout(baseRequest.getMethod() + " <- " + baseRequest.getUri());
SnapshotPushPostbackContents postbackContents = new SnapshotPushPostbackContents(writeLatexDataSource, projectName, postbackKey, contents); SnapshotPushPostbackContents postbackContents = new SnapshotPushPostbackContents(writeLatexDataSource, projectName, postbackKey, contents);
JsonObject body = new JsonObject(); JsonObject body = new JsonObject();