Add toString method to HttpRequest
@@ -65,4 +65,8 @@ public void addQueryParameter(String name, String value) {
public Iterable<String> getQueryParameters(String name) {
return queryParameters.get(name);
}
+
+ public String toString() {
+ return "(" + getMethod() + ") " + getUri();
+ }
}
