{"action":"created","comment":{"url":"https://api.github.com/repos/reinert/requestor/pulls/comments/38143551","id":38143551,"diff_hunk":"@@ -0,0 +1,80 @@\n+/*\n+ * Copyright 2015 Danilo Reinert\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+package io.reinert.requestor;\n+\n+import java.util.ArrayList;\n+import java.util.Collections;\n+import java.util.HashMap;\n+import java.util.Map;\n+\n+import io.reinert.requestor.uri.Uri;\n+import io.reinert.requestor.uri.UrlCodec;\n+\n+/**\n+ * Uri with Query Builder.\n+ *\n+ * To be used in case there's a built Uri but it's query may be optionally enhanced.\n+ *\n+ * @author Danilo Reinert\n+ */\n+class UriWithQueryBuilder {\n+","path":"requestor/core/requestor-api/src/main/java/io/reinert/requestor/UriWithQueryBuilder.java","position":34,"original_position":34,"commit_id":"b9f032c6f931c783b0b1574e6c19745e1e05d9e9","original_commit_id":"b9f032c6f931c783b0b1574e6c19745e1e05d9e9","user":{"login":"olafleur","id":1068290,"avatar_url":"https://avatars.githubusercontent.com/u/1068290?v=3","gravatar_id":"","url":"https://api.github.com/users/olafleur","html_url":"https://github.com/olafleur","followers_url":"https://api.github.com/users/olafleur/followers","following_url":"https://api.github.com/users/olafleur/following{/other_user}","gists_url":"https://api.github.com/users/olafleur/gists{/gist_id}","starred_url":"https://api.github.com/users/olafleur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olafleur/subscriptions","organizations_url":"https://api.github.com/users/olafleur/orgs","repos_url":"https://api.github.com/users/olafleur/repos","events_url":"https://api.github.com/users/olafleur/events{/privacy}","received_events_url":"https://api.github.com/users/olafleur/received_events","type":"User","site_admin":false},"body":"rm 34","created_at":"2015-08-27T20:42:26Z","updated_at":"2015-08-27T20:42:26Z","html_url":"https://github.com/reinert/requestor/pull/72#discussion_r38143551","pull_request_url":"https://api.github.com/repos/reinert/requestor/pulls/72","_links":{"self":{"href":"https://api.github.com/repos/reinert/requestor/pulls/comments/38143551"},"html":{"href":"https://github.com/reinert/requestor/pull/72#discussion_r38143551"},"pull_request":{"href":"https://api.github.com/repos/reinert/requestor/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/reinert/requestor/pulls/72","id":43352887,"html_url":"https://github.com/reinert/requestor/pull/72","diff_url":"https://github.com/reinert/requestor/pull/72.diff","patch_url":"https://github.com/reinert/requestor/pull/72.patch","issue_url":"https://api.github.com/repos/reinert/requestor/issues/72","number":72,"state":"open","locked":false,"title":"0.3.0 release","user":{"login":"reinert","id":1285494,"avatar_url":"https://avatars.githubusercontent.com/u/1285494?v=3","gravatar_id":"","url":"https://api.github.com/users/reinert","html_url":"https://github.com/reinert","followers_url":"https://api.github.com/users/reinert/followers","following_url":"https://api.github.com/users/reinert/following{/other_user}","gists_url":"https://api.github.com/users/reinert/gists{/gist_id}","starred_url":"https://api.github.com/users/reinert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reinert/subscriptions","organizations_url":"https://api.github.com/users/reinert/orgs","repos_url":"https://api.github.com/users/reinert/repos","events_url":"https://api.github.com/users/reinert/events{/privacy}","received_events_url":"https://api.github.com/users/reinert/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-26T00:33:58Z","updated_at":"2015-08-27T20:42:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ceca51132d528d26bfd5806341dd7b45d597daca","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/reinert/requestor/pulls/72/commits","review_comments_url":"https://api.github.com/repos/reinert/requestor/pulls/72/comments","review_comment_url":"https://api.github.com/repos/reinert/requestor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/reinert/requestor/issues/72/comments","statuses_url":"https://api.github.com/repos/reinert/requestor/statuses/b9f032c6f931c783b0b1574e6c19745e1e05d9e9","head":{"label":"reinert:0.3.0","ref":"0.3.0","sha":"b9f032c6f931c783b0b1574e6c19745e1e05d9e9","user":{"login":"reinert","id":1285494,"avatar_url":"https://avatars.githubusercontent.com/u/1285494?v=3","gravatar_id":"","url":"https://api.github.com/users/reinert","html_url":"https://github.com/reinert","followers_url":"https://api.github.com/users/reinert/followers","following_url":"https://api.github.com/users/reinert/following{/other_user}","gists_url":"https://api.github.com/users/reinert/gists{/gist_id}","starred_url":"https://api.github.com/users/reinert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reinert/subscriptions","organizations_url":"https://api.github.com/users/reinert/orgs","repos_url":"https://api.github.com/users/reinert/repos","events_url":"https://api.github.com/users/reinert/events{/privacy}","received_events_url":"https://api.github.com/users/reinert/received_events","type":"User","site_admin":false},"repo":{"id":26403452,"name":"requestor","full_name":"reinert/requestor","owner":{"login":"reinert","id":1285494,"avatar_url":"https://avatars.githubusercontent.com/u/1285494?v=3","gravatar_id":"","url":"https://api.github.com/users/reinert","html_url":"https://github.com/reinert","followers_url":"https://api.github.com/users/reinert/followers","following_url":"https://api.github.com/users/reinert/following{/other_user}","gists_url":"https://api.github.com/users/reinert/gists{/gist_id}","starred_url":"https://api.github.com/users/reinert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reinert/subscriptions","organizations_url":"https://api.github.com/users/reinert/orgs","repos_url":"https://api.github.com/users/reinert/repos","events_url":"https://api.github.com/users/reinert/events{/privacy}","received_events_url":"https://api.github.com/users/reinert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/reinert/requestor","description":"Requesting made easy for GWT","fork":false,"url":"https://api.github.com/repos/reinert/requestor","forks_url":"https://api.github.com/repos/reinert/requestor/forks","keys_url":"https://api.github.com/repos/reinert/requestor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reinert/requestor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reinert/requestor/teams","hooks_url":"https://api.github.com/repos/reinert/requestor/hooks","issue_events_url":"https://api.github.com/repos/reinert/requestor/issues/events{/number}","events_url":"https://api.github.com/repos/reinert/requestor/events","assignees_url":"https://api.github.com/repos/reinert/requestor/assignees{/user}","branches_url":"https://api.github.com/repos/reinert/requestor/branches{/branch}","tags_url":"https://api.github.com/repos/reinert/requestor/tags","blobs_url":"https://api.github.com/repos/reinert/requestor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reinert/requestor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reinert/requestor/git/refs{/sha}","trees_url":"https://api.github.com/repos/reinert/requestor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reinert/requestor/statuses/{sha}","languages_url":"https://api.github.com/repos/reinert/requestor/languages","stargazers_url":"https://api.github.com/repos/reinert/requestor/stargazers","contributors_url":"https://api.github.com/repos/reinert/requestor/contributors","subscribers_url":"https://api.github.com/repos/reinert/requestor/subscribers","subscription_url":"https://api.github.com/repos/reinert/requestor/subscription","commits_url":"https://api.github.com/repos/reinert/requestor/commits{/sha}","git_commits_url":"https://api.github.com/repos/reinert/requestor/git/commits{/sha}","comments_url":"https://api.github.com/repos/reinert/requestor/comments{/number}","issue_comment_url":"https://api.github.com/repos/reinert/requestor/issues/comments{/number}","contents_url":"https://api.github.com/repos/reinert/requestor/contents/{+path}","compare_url":"https://api.github.com/repos/reinert/requestor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reinert/requestor/merges","archive_url":"https://api.github.com/repos/reinert/requestor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reinert/requestor/downloads","issues_url":"https://api.github.com/repos/reinert/requestor/issues{/number}","pulls_url":"https://api.github.com/repos/reinert/requestor/pulls{/number}","milestones_url":"https://api.github.com/repos/reinert/requestor/milestones{/number}","notifications_url":"https://api.github.com/repos/reinert/requestor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reinert/requestor/labels{/name}","releases_url":"https://api.github.com/repos/reinert/requestor/releases{/id}","created_at":"2014-11-09T17:40:34Z","updated_at":"2015-08-20T12:19:07Z","pushed_at":"2015-08-27T17:14:08Z","git_url":"git://github.com/reinert/requestor.git","ssh_url":"git@github.com:reinert/requestor.git","clone_url":"https://github.com/reinert/requestor.git","svn_url":"https://github.com/reinert/requestor","homepage":"","size":10828,"stargazers_count":29,"watchers_count":29,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":21,"forks":2,"open_issues":21,"watchers":29,"default_branch":"master"}},"base":{"label":"reinert:master","ref":"master","sha":"40163a75cd17815d5089935d0dd97b8d652ad6d4","user":{"login":"reinert","id":1285494,"avatar_url":"https://avatars.githubusercontent.com/u/1285494?v=3","gravatar_id":"","url":"https://api.github.com/users/reinert","html_url":"https://github.com/reinert","followers_url":"https://api.github.com/users/reinert/followers","following_url":"https://api.github.com/users/reinert/following{/other_user}","gists_url":"https://api.github.com/users/reinert/gists{/gist_id}","starred_url":"https://api.github.com/users/reinert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reinert/subscriptions","organizations_url":"https://api.github.com/users/reinert/orgs","repos_url":"https://api.github.com/users/reinert/repos","events_url":"https://api.github.com/users/reinert/events{/privacy}","received_events_url":"https://api.github.com/users/reinert/received_events","type":"User","site_admin":false},"repo":{"id":26403452,"name":"requestor","full_name":"reinert/requestor","owner":{"login":"reinert","id":1285494,"avatar_url":"https://avatars.githubusercontent.com/u/1285494?v=3","gravatar_id":"","url":"https://api.github.com/users/reinert","html_url":"https://github.com/reinert","followers_url":"https://api.github.com/users/reinert/followers","following_url":"https://api.github.com/users/reinert/following{/other_user}","gists_url":"https://api.github.com/users/reinert/gists{/gist_id}","starred_url":"https://api.github.com/users/reinert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reinert/subscriptions","organizations_url":"https://api.github.com/users/reinert/orgs","repos_url":"https://api.github.com/users/reinert/repos","events_url":"https://api.github.com/users/reinert/events{/privacy}","received_events_url":"https://api.github.com/users/reinert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/reinert/requestor","description":"Requesting made easy for GWT","fork":false,"url":"https://api.github.com/repos/reinert/requestor","forks_url":"https://api.github.com/repos/reinert/requestor/forks","keys_url":"https://api.github.com/repos/reinert/requestor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reinert/requestor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reinert/requestor/teams","hooks_url":"https://api.github.com/repos/reinert/requestor/hooks","issue_events_url":"https://api.github.com/repos/reinert/requestor/issues/events{/number}","events_url":"https://api.github.com/repos/reinert/requestor/events","assignees_url":"https://api.github.com/repos/reinert/requestor/assignees{/user}","branches_url":"https://api.github.com/repos/reinert/requestor/branches{/branch}","tags_url":"https://api.github.com/repos/reinert/requestor/tags","blobs_url":"https://api.github.com/repos/reinert/requestor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reinert/requestor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reinert/requestor/git/refs{/sha}","trees_url":"https://api.github.com/repos/reinert/requestor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reinert/requestor/statuses/{sha}","languages_url":"https://api.github.com/repos/reinert/requestor/languages","stargazers_url":"https://api.github.com/repos/reinert/requestor/stargazers","contributors_url":"https://api.github.com/repos/reinert/requestor/contributors","subscribers_url":"https://api.github.com/repos/reinert/requestor/subscribers","subscription_url":"https://api.github.com/repos/reinert/requestor/subscription","commits_url":"https://api.github.com/repos/reinert/requestor/commits{/sha}","git_commits_url":"https://api.github.com/repos/reinert/requestor/git/commits{/sha}","comments_url":"https://api.github.com/repos/reinert/requestor/comments{/number}","issue_comment_url":"https://api.github.com/repos/reinert/requestor/issues/comments{/number}","contents_url":"https://api.github.com/repos/reinert/requestor/contents/{+path}","compare_url":"https://api.github.com/repos/reinert/requestor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reinert/requestor/merges","archive_url":"https://api.github.com/repos/reinert/requestor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reinert/requestor/downloads","issues_url":"https://api.github.com/repos/reinert/requestor/issues{/number}","pulls_url":"https://api.github.com/repos/reinert/requestor/pulls{/number}","milestones_url":"https://api.github.com/repos/reinert/requestor/milestones{/number}","notifications_url":"https://api.github.com/repos/reinert/requestor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reinert/requestor/labels{/name}","releases_url":"https://api.github.com/repos/reinert/requestor/releases{/id}","created_at":"2014-11-09T17:40:34Z","updated_at":"2015-08-20T12:19:07Z","pushed_at":"2015-08-27T17:14:08Z","git_url":"git://github.com/reinert/requestor.git","ssh_url":"git@github.com:reinert/requestor.git","clone_url":"https://github.com/reinert/requestor.git","svn_url":"https://github.com/reinert/requestor","homepage":"","size":10828,"stargazers_count":29,"watchers_count":29,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":21,"forks":2,"open_issues":21,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/reinert/requestor/pulls/72"},"html":{"href":"https://github.com/reinert/requestor/pull/72"},"issue":{"href":"https://api.github.com/repos/reinert/requestor/issues/72"},"comments":{"href":"https://api.github.com/repos/reinert/requestor/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/reinert/requestor/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/reinert/requestor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/reinert/requestor/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/reinert/requestor/statuses/b9f032c6f931c783b0b1574e6c19745e1e05d9e9"}}}}