{"action":"created","issue":{"url":"https://api.github.com/repos/clouway/chita/issues/4","labels_url":"https://api.github.com/repos/clouway/chita/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/clouway/chita/issues/4/comments","events_url":"https://api.github.com/repos/clouway/chita/issues/4/events","html_url":"https://github.com/clouway/chita/pull/4","id":60102261,"number":4,"title":"Add builder for TargetUrl for building a url with parameters.","user":{"login":"stefan-dimitrov","id":6047637,"avatar_url":"https://avatars.githubusercontent.com/u/6047637?v=3","gravatar_id":"","url":"https://api.github.com/users/stefan-dimitrov","html_url":"https://github.com/stefan-dimitrov","followers_url":"https://api.github.com/users/stefan-dimitrov/followers","following_url":"https://api.github.com/users/stefan-dimitrov/following{/other_user}","gists_url":"https://api.github.com/users/stefan-dimitrov/gists{/gist_id}","starred_url":"https://api.github.com/users/stefan-dimitrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefan-dimitrov/subscriptions","organizations_url":"https://api.github.com/users/stefan-dimitrov/orgs","repos_url":"https://api.github.com/users/stefan-dimitrov/repos","events_url":"https://api.github.com/users/stefan-dimitrov/events{/privacy}","received_events_url":"https://api.github.com/users/stefan-dimitrov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-06T13:35:19Z","updated_at":"2015-03-06T15:21:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/clouway/chita/pulls/4","html_url":"https://github.com/clouway/chita/pull/4","diff_url":"https://github.com/clouway/chita/pull/4.diff","patch_url":"https://github.com/clouway/chita/pull/4.patch"},"body":"Issue: #1 \r\n\r\nAdded a builder to TargetUrl as suggested by @mlesikov in the issue.\r\n\r\nUsage example:\r\n```java\r\nString urlTemplateString = \"http://sample.com/a/:valueA/b/:valueB/end\";\r\nTargetUrl targetUrl = TargetUrl.fromTemplate(urlTemplateString).set(\"valueA\", \"123\").set(\"valueB\", \"678\").build();\r\n\r\n// result url string is \"http://sample.com/a/123/b/678/end\"\r\n```"},"comment":{"url":"https://api.github.com/repos/clouway/chita/issues/comments/77575739","html_url":"https://github.com/clouway/chita/pull/4#issuecomment-77575739","issue_url":"https://api.github.com/repos/clouway/chita/issues/4","id":77575739,"user":{"login":"stefan-dimitrov","id":6047637,"avatar_url":"https://avatars.githubusercontent.com/u/6047637?v=3","gravatar_id":"","url":"https://api.github.com/users/stefan-dimitrov","html_url":"https://github.com/stefan-dimitrov","followers_url":"https://api.github.com/users/stefan-dimitrov/followers","following_url":"https://api.github.com/users/stefan-dimitrov/following{/other_user}","gists_url":"https://api.github.com/users/stefan-dimitrov/gists{/gist_id}","starred_url":"https://api.github.com/users/stefan-dimitrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefan-dimitrov/subscriptions","organizations_url":"https://api.github.com/users/stefan-dimitrov/orgs","repos_url":"https://api.github.com/users/stefan-dimitrov/repos","events_url":"https://api.github.com/users/stefan-dimitrov/events{/privacy}","received_events_url":"https://api.github.com/users/stefan-dimitrov/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T15:21:09Z","updated_at":"2015-03-06T15:21:09Z","body":"Implemented throwing of exception when not all parameters of the template have been set.\r\nAdded appending of query parameters (standard GET parameters: `/url/path?param=value`)."}}