GitHub PullRequestReviewCommentEvent at 2014-05-27 13:16:55
Repository: akka
Actor: bantonsson
Payload: {"comment":{"url":"https://api.github.com/repos/spray/akka/pulls/comments/13076395","id":13076395,"diff_hunk":"@@ -0,0 +1,173 @@\n+package akka.http.model.japi;\n+\n+import akka.japi.Option;\n+import org.parboiled2.ParserInput$;\n+\n+import java.nio.charset.Charset;\n+import java.util.Map;\n+\n+/**\n+ * Represents a Uri. Use the `withX` methods to create modified copies of a given instance.\n+ */\n+public abstract class Uri {\n+    /**\n+     * Returns if this is an absolute Uri.\n+     */\n+    public abstract boolean isAbsolute();\n+    /**\n+     * Returns if this is a relative Uri.\n+     */\n+    public abstract boolean isRelative();\n+    /**\n+     * Returns if this is an empty Uri.\n+     */\n+    public abstract boolean isEmpty();\n+\n+    /**\n+     * Returns the scheme of this Uri.\n+     */\n+    public abstract String scheme();\n+\n+    /**\n+     * Returns the Host of this Uri.\n+     */\n+    public abstract Host host();\n+    /**\n+     * Returns the port of this Uri.\n+     */\n+    public abstract int port();\n+    /**\n+     * Returns the user-info of this Uri.\n+     */\n+    public abstract String userInfo();\n+\n+    /**\n+     * Returns a String representation of the path of this Uri.\n+     */\n+    public abstract String path();\n+    /**\n+     * Returns the the path segments of this Uri as an Iterable.\n+     */\n+    public abstract Iterable<String> pathSegments();\n+\n+    /**\n+     * Returns a String representation of the query of this Uri.\n+     */\n+    public abstract String queryString();\n+\n+    /**\n+     * Looks up a query parameter of this Uri.\n+     */\n+    public abstract Option<String> parameter(String key);\n+    /**\n+     * Returns if the query of this Uri contains a parameter with the given key.\n+     */\n+    public abstract boolean containsParameter(String key);\n+    /**\n+     * Returns an Iterable of all query parameters of this Uri.\n+     */\n+    public abstract Iterable<Parameter> parameters();\n+    /**\n+     * Returns a key/value map of the query parameters of this Uri. Use\n+     * the `parameters()` method to returns all parameters if keys may occur\n+     * multiple times.\n+     */\n+    public abstract Map<String, String> parameterMap();\n+\n+    public static interface Parameter {\n+        String key();\n+        String value();\n+    }\n+\n+    /**\n+     * Returns the fragment part of this Uri.\n+     */\n+    public abstract Option<String> fragment();\n+\n+    // Modification methods","path":"akka-http-core/src/main/java/akka/http/model/japi/Uri.java","position":87,"original_position":87,"commit_id":"33781eb3b8d89a7d705a1bbcd2e6d682f949c2d7","original_commit_id":"33781eb3b8d89a7d705a1bbcd2e6d682f949c2d7","user":{"login":"bantonsson","id":805830,"avatar_url":"https://avatars.githubusercontent.com/u/805830?","gravatar_id":"96b5aad495e0efd9fc098b9b3d421623","url":"https://api.github.com/users/bantonsson","html_url":"https://github.com/bantonsson","followers_url":"https://api.github.com/users/bantonsson/followers","following_url":"https://api.github.com/users/bantonsson/following{/other_user}","gists_url":"https://api.github.com/users/bantonsson/gists{/gist_id}","starred_url":"https://api.github.com/users/bantonsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bantonsson/subscriptions","organizations_url":"https://api.github.com/users/bantonsson/orgs","repos_url":"https://api.github.com/users/bantonsson/repos","events_url":"https://api.github.com/users/bantonsson/events{/privacy}","received_events_url":"https://api.github.com/users/bantonsson/received_events","type":"User","site_admin":false},"body":"These non-doc dividers should be removed.","created_at":"2014-05-27T13:16:55Z","updated_at":"2014-05-27T13:16:55Z","html_url":"https://github.com/spray/akka/pull/1#discussion_r13076395","pull_request_url":"https://api.github.com/repos/spray/akka/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/spray/akka/pulls/comments/13076395"},"html":{"href":"https://github.com/spray/akka/pull/1#discussion_r13076395"},"pull_request":{"href":"https://api.github.com/repos/spray/akka/pulls/1"}}}}