{"action":"created","issue":{"url":"https://api.github.com/repos/jooby-project/jooby/issues/518","repository_url":"https://api.github.com/repos/jooby-project/jooby","labels_url":"https://api.github.com/repos/jooby-project/jooby/issues/518/labels{/name}","comments_url":"https://api.github.com/repos/jooby-project/jooby/issues/518/comments","events_url":"https://api.github.com/repos/jooby-project/jooby/issues/518/events","html_url":"https://github.com/jooby-project/jooby/issues/518","id":184465149,"number":518,"title":"Add queryString: Optional<String> method to Request and NativeRequest","user":{"login":"jknack","id":1301129,"avatar_url":"https://avatars.githubusercontent.com/u/1301129?v=3","gravatar_id":"","url":"https://api.github.com/users/jknack","html_url":"https://github.com/jknack","followers_url":"https://api.github.com/users/jknack/followers","following_url":"https://api.github.com/users/jknack/following{/other_user}","gists_url":"https://api.github.com/users/jknack/gists{/gist_id}","starred_url":"https://api.github.com/users/jknack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jknack/subscriptions","organizations_url":"https://api.github.com/users/jknack/orgs","repos_url":"https://api.github.com/users/jknack/repos","events_url":"https://api.github.com/users/jknack/events{/privacy}","received_events_url":"https://api.github.com/users/jknack/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jooby-project/jooby/labels/api-change","name":"api-change","color":"fc2929"},{"url":"https://api.github.com/repos/jooby-project/jooby/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/jooby-project/jooby/milestones/41","html_url":"https://github.com/jooby-project/jooby/milestones/1.0.0","labels_url":"https://api.github.com/repos/jooby-project/jooby/milestones/41/labels","id":2048274,"number":41,"title":"1.0.0","description":"","creator":{"login":"jknack","id":1301129,"avatar_url":"https://avatars.githubusercontent.com/u/1301129?v=3","gravatar_id":"","url":"https://api.github.com/users/jknack","html_url":"https://github.com/jknack","followers_url":"https://api.github.com/users/jknack/followers","following_url":"https://api.github.com/users/jknack/following{/other_user}","gists_url":"https://api.github.com/users/jknack/gists{/gist_id}","starred_url":"https://api.github.com/users/jknack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jknack/subscriptions","organizations_url":"https://api.github.com/users/jknack/orgs","repos_url":"https://api.github.com/users/jknack/repos","events_url":"https://api.github.com/users/jknack/events{/privacy}","received_events_url":"https://api.github.com/users/jknack/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":13,"state":"open","created_at":"2016-10-05T01:37:46Z","updated_at":"2016-10-21T11:38:25Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-10-21T11:38:25Z","updated_at":"2016-10-21T12:04:31Z","closed_at":null,"body":"The way to get the queryString today is a bit awkward:\r\n\r\n```java\r\nget(\"/514\", req -> {\r\n      Map<String, Mutant> params = req.params().toMap();\r\n      return req.path() + \"?\" + params.entrySet().stream()\r\n          .map(e -> e.getKey() + \"=\" + e.getValue().value()).collect(Collectors.joining(\"&\"));\r\n    });\r\n```\r\n\r\nOn next release this will provided via Request.queryString method\r\n\r\n```java\r\nget(\"/514\", req -> {\r\n      return req.path() + req.queryString().map(q -> \"?\" + q).orElse(\"\");\r\n    });\r\n```\r\n\r\nSee #514 "},"comment":{"url":"https://api.github.com/repos/jooby-project/jooby/issues/comments/255363050","html_url":"https://github.com/jooby-project/jooby/issues/518#issuecomment-255363050","issue_url":"https://api.github.com/repos/jooby-project/jooby/issues/518","id":255363050,"user":{"login":"nikos","id":31314,"avatar_url":"https://avatars.githubusercontent.com/u/31314?v=3","gravatar_id":"","url":"https://api.github.com/users/nikos","html_url":"https://github.com/nikos","followers_url":"https://api.github.com/users/nikos/followers","following_url":"https://api.github.com/users/nikos/following{/other_user}","gists_url":"https://api.github.com/users/nikos/gists{/gist_id}","starred_url":"https://api.github.com/users/nikos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikos/subscriptions","organizations_url":"https://api.github.com/users/nikos/orgs","repos_url":"https://api.github.com/users/nikos/repos","events_url":"https://api.github.com/users/nikos/events{/privacy}","received_events_url":"https://api.github.com/users/nikos/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T12:04:31Z","updated_at":"2016-10-21T12:04:31Z","body":"Perfect, thanks a lot for taking care!"}}
{"actor":{"display_login":"nikos"}}