{"action":"created","comment":{"url":"https://api.github.com/repos/itsbaska/http-server/pulls/comments/209342700","pull_request_review_id":145345576,"id":209342700,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTM0MjcwMA==","diff_hunk":"@@ -7,4 +7,4 @@\n  * in the user guide at https://docs.gradle.org/4.9/userguide/multi_project_builds.html\n  */\n \n-rootProject.name = 'http-server'\n+rootProject.name = 'http-Server'","path":"settings.gradle","position":5,"original_position":5,"commit_id":"f9ee0cf9d5ed7d055a3b1b38cf7d62eedcf6a274","original_commit_id":"f9ee0cf9d5ed7d055a3b1b38cf7d62eedcf6a274","user":{"login":"beccanelson","id":13334214,"node_id":"MDQ6VXNlcjEzMzM0MjE0","avatar_url":"https://avatars2.githubusercontent.com/u/13334214?v=4","gravatar_id":"","url":"https://api.github.com/users/beccanelson","html_url":"https://github.com/beccanelson","followers_url":"https://api.github.com/users/beccanelson/followers","following_url":"https://api.github.com/users/beccanelson/following{/other_user}","gists_url":"https://api.github.com/users/beccanelson/gists{/gist_id}","starred_url":"https://api.github.com/users/beccanelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beccanelson/subscriptions","organizations_url":"https://api.github.com/users/beccanelson/orgs","repos_url":"https://api.github.com/users/beccanelson/repos","events_url":"https://api.github.com/users/beccanelson/events{/privacy}","received_events_url":"https://api.github.com/users/beccanelson/received_events","type":"User","site_admin":false},"body":"I'm just curious.. why did this get changed?","created_at":"2018-08-10T18:09:14Z","updated_at":"2018-08-10T18:09:14Z","html_url":"https://github.com/itsbaska/http-server/pull/4#discussion_r209342700","pull_request_url":"https://api.github.com/repos/itsbaska/http-server/pulls/4","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/itsbaska/http-server/pulls/comments/209342700"},"html":{"href":"https://github.com/itsbaska/http-server/pull/4#discussion_r209342700"},"pull_request":{"href":"https://api.github.com/repos/itsbaska/http-server/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/itsbaska/http-server/pulls/4","id":207343723,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3MzQzNzIz","html_url":"https://github.com/itsbaska/http-server/pull/4","diff_url":"https://github.com/itsbaska/http-server/pull/4.diff","patch_url":"https://github.com/itsbaska/http-server/pull/4.patch","issue_url":"https://api.github.com/repos/itsbaska/http-server/issues/4","number":4,"state":"open","locked":false,"title":"Routes","user":{"login":"itsbaska","id":13249373,"node_id":"MDQ6VXNlcjEzMjQ5Mzcz","avatar_url":"https://avatars1.githubusercontent.com/u/13249373?v=4","gravatar_id":"","url":"https://api.github.com/users/itsbaska","html_url":"https://github.com/itsbaska","followers_url":"https://api.github.com/users/itsbaska/followers","following_url":"https://api.github.com/users/itsbaska/following{/other_user}","gists_url":"https://api.github.com/users/itsbaska/gists{/gist_id}","starred_url":"https://api.github.com/users/itsbaska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsbaska/subscriptions","organizations_url":"https://api.github.com/users/itsbaska/orgs","repos_url":"https://api.github.com/users/itsbaska/repos","events_url":"https://api.github.com/users/itsbaska/events{/privacy}","received_events_url":"https://api.github.com/users/itsbaska/received_events","type":"User","site_admin":false},"body":"Currently I have all pieces of the puzzle but I can't quite see the full picture yet.\r\nI have: \r\n* Response Builder\r\n* Route Builder\r\n* Get Handler\r\n* Post Handler\r\n\r\nI am struggling with figuring out how to remove the massive if else statement in the controller so that the pieces can be used to their potential.\r\n\r\nShould I be storing the Response object inside the specific Route object? So When it does match the Request path and method it knows it's response? ","created_at":"2018-08-09T14:50:49Z","updated_at":"2018-08-10T18:09:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1e861e541c56a45fa7ba432ab6d2c8550dc4a109","assignee":null,"assignees":[],"requested_reviewers":[{"login":"esmevane","id":263460,"node_id":"MDQ6VXNlcjI2MzQ2MA==","avatar_url":"https://avatars1.githubusercontent.com/u/263460?v=4","gravatar_id":"","url":"https://api.github.com/users/esmevane","html_url":"https://github.com/esmevane","followers_url":"https://api.github.com/users/esmevane/followers","following_url":"https://api.github.com/users/esmevane/following{/other_user}","gists_url":"https://api.github.com/users/esmevane/gists{/gist_id}","starred_url":"https://api.github.com/users/esmevane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esmevane/subscriptions","organizations_url":"https://api.github.com/users/esmevane/orgs","repos_url":"https://api.github.com/users/esmevane/repos","events_url":"https://api.github.com/users/esmevane/events{/privacy}","received_events_url":"https://api.github.com/users/esmevane/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/itsbaska/http-server/pulls/4/commits","review_comments_url":"https://api.github.com/repos/itsbaska/http-server/pulls/4/comments","review_comment_url":"https://api.github.com/repos/itsbaska/http-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/itsbaska/http-server/issues/4/comments","statuses_url":"https://api.github.com/repos/itsbaska/http-server/statuses/f9ee0cf9d5ed7d055a3b1b38cf7d62eedcf6a274","head":{"label":"itsbaska:routes","ref":"routes","sha":"f9ee0cf9d5ed7d055a3b1b38cf7d62eedcf6a274","user":{"login":"itsbaska","id":13249373,"node_id":"MDQ6VXNlcjEzMjQ5Mzcz","avatar_url":"https://avatars1.githubusercontent.com/u/13249373?v=4","gravatar_id":"","url":"https://api.github.com/users/itsbaska","html_url":"https://github.com/itsbaska","followers_url":"https://api.github.com/users/itsbaska/followers","following_url":"https://api.github.com/users/itsbaska/following{/other_user}","gists_url":"https://api.github.com/users/itsbaska/gists{/gist_id}","starred_url":"https://api.github.com/users/itsbaska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsbaska/subscriptions","organizations_url":"https://api.github.com/users/itsbaska/orgs","repos_url":"https://api.github.com/users/itsbaska/repos","events_url":"https://api.github.com/users/itsbaska/events{/privacy}","received_events_url":"https://api.github.com/users/itsbaska/received_events","type":"User","site_admin":false},"repo":{"id":141154446,"node_id":"MDEwOlJlcG9zaXRvcnkxNDExNTQ0NDY=","name":"http-server","full_name":"itsbaska/http-server","owner":{"login":"itsbaska","id":13249373,"node_id":"MDQ6VXNlcjEzMjQ5Mzcz","avatar_url":"https://avatars1.githubusercontent.com/u/13249373?v=4","gravatar_id":"","url":"https://api.github.com/users/itsbaska","html_url":"https://github.com/itsbaska","followers_url":"https://api.github.com/users/itsbaska/followers","following_url":"https://api.github.com/users/itsbaska/following{/other_user}","gists_url":"https://api.github.com/users/itsbaska/gists{/gist_id}","starred_url":"https://api.github.com/users/itsbaska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsbaska/subscriptions","organizations_url":"https://api.github.com/users/itsbaska/orgs","repos_url":"https://api.github.com/users/itsbaska/repos","events_url":"https://api.github.com/users/itsbaska/events{/privacy}","received_events_url":"https://api.github.com/users/itsbaska/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/itsbaska/http-server","description":null,"fork":false,"url":"https://api.github.com/repos/itsbaska/http-server","forks_url":"https://api.github.com/repos/itsbaska/http-server/forks","keys_url":"https://api.github.com/repos/itsbaska/http-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/itsbaska/http-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/itsbaska/http-server/teams","hooks_url":"https://api.github.com/repos/itsbaska/http-server/hooks","issue_events_url":"https://api.github.com/repos/itsbaska/http-server/issues/events{/number}","events_url":"https://api.github.com/repos/itsbaska/http-server/events","assignees_url":"https://api.github.com/repos/itsbaska/http-server/assignees{/user}","branches_url":"https://api.github.com/repos/itsbaska/http-server/branches{/branch}","tags_url":"https://api.github.com/repos/itsbaska/http-server/tags","blobs_url":"https://api.github.com/repos/itsbaska/http-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/itsbaska/http-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/itsbaska/http-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/itsbaska/http-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/itsbaska/http-server/statuses/{sha}","languages_url":"https://api.github.com/repos/itsbaska/http-server/languages","stargazers_url":"https://api.github.com/repos/itsbaska/http-server/stargazers","contributors_url":"https://api.github.com/repos/itsbaska/http-server/contributors","subscribers_url":"https://api.github.com/repos/itsbaska/http-server/subscribers","subscription_url":"https://api.github.com/repos/itsbaska/http-server/subscription","commits_url":"https://api.github.com/repos/itsbaska/http-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/itsbaska/http-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/itsbaska/http-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/itsbaska/http-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/itsbaska/http-server/contents/{+path}","compare_url":"https://api.github.com/repos/itsbaska/http-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/itsbaska/http-server/merges","archive_url":"https://api.github.com/repos/itsbaska/http-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/itsbaska/http-server/downloads","issues_url":"https://api.github.com/repos/itsbaska/http-server/issues{/number}","pulls_url":"https://api.github.com/repos/itsbaska/http-server/pulls{/number}","milestones_url":"https://api.github.com/repos/itsbaska/http-server/milestones{/number}","notifications_url":"https://api.github.com/repos/itsbaska/http-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/itsbaska/http-server/labels{/name}","releases_url":"https://api.github.com/repos/itsbaska/http-server/releases{/id}","deployments_url":"https://api.github.com/repos/itsbaska/http-server/deployments","created_at":"2018-07-16T15:02:02Z","updated_at":"2018-08-06T16:11:36Z","pushed_at":"2018-08-09T22:13:14Z","git_url":"git://github.com/itsbaska/http-server.git","ssh_url":"git@github.com:itsbaska/http-server.git","clone_url":"https://github.com/itsbaska/http-server.git","svn_url":"https://github.com/itsbaska/http-server","homepage":null,"size":2473,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"itsbaska:master","ref":"master","sha":"f47a4d29a8ce958210b504e2b3c639d832d54362","user":{"login":"itsbaska","id":13249373,"node_id":"MDQ6VXNlcjEzMjQ5Mzcz","avatar_url":"https://avatars1.githubusercontent.com/u/13249373?v=4","gravatar_id":"","url":"https://api.github.com/users/itsbaska","html_url":"https://github.com/itsbaska","followers_url":"https://api.github.com/users/itsbaska/followers","following_url":"https://api.github.com/users/itsbaska/following{/other_user}","gists_url":"https://api.github.com/users/itsbaska/gists{/gist_id}","starred_url":"https://api.github.com/users/itsbaska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsbaska/subscriptions","organizations_url":"https://api.github.com/users/itsbaska/orgs","repos_url":"https://api.github.com/users/itsbaska/repos","events_url":"https://api.github.com/users/itsbaska/events{/privacy}","received_events_url":"https://api.github.com/users/itsbaska/received_events","type":"User","site_admin":false},"repo":{"id":141154446,"node_id":"MDEwOlJlcG9zaXRvcnkxNDExNTQ0NDY=","name":"http-server","full_name":"itsbaska/http-server","owner":{"login":"itsbaska","id":13249373,"node_id":"MDQ6VXNlcjEzMjQ5Mzcz","avatar_url":"https://avatars1.githubusercontent.com/u/13249373?v=4","gravatar_id":"","url":"https://api.github.com/users/itsbaska","html_url":"https://github.com/itsbaska","followers_url":"https://api.github.com/users/itsbaska/followers","following_url":"https://api.github.com/users/itsbaska/following{/other_user}","gists_url":"https://api.github.com/users/itsbaska/gists{/gist_id}","starred_url":"https://api.github.com/users/itsbaska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsbaska/subscriptions","organizations_url":"https://api.github.com/users/itsbaska/orgs","repos_url":"https://api.github.com/users/itsbaska/repos","events_url":"https://api.github.com/users/itsbaska/events{/privacy}","received_events_url":"https://api.github.com/users/itsbaska/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/itsbaska/http-server","description":null,"fork":false,"url":"https://api.github.com/repos/itsbaska/http-server","forks_url":"https://api.github.com/repos/itsbaska/http-server/forks","keys_url":"https://api.github.com/repos/itsbaska/http-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/itsbaska/http-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/itsbaska/http-server/teams","hooks_url":"https://api.github.com/repos/itsbaska/http-server/hooks","issue_events_url":"https://api.github.com/repos/itsbaska/http-server/issues/events{/number}","events_url":"https://api.github.com/repos/itsbaska/http-server/events","assignees_url":"https://api.github.com/repos/itsbaska/http-server/assignees{/user}","branches_url":"https://api.github.com/repos/itsbaska/http-server/branches{/branch}","tags_url":"https://api.github.com/repos/itsbaska/http-server/tags","blobs_url":"https://api.github.com/repos/itsbaska/http-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/itsbaska/http-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/itsbaska/http-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/itsbaska/http-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/itsbaska/http-server/statuses/{sha}","languages_url":"https://api.github.com/repos/itsbaska/http-server/languages","stargazers_url":"https://api.github.com/repos/itsbaska/http-server/stargazers","contributors_url":"https://api.github.com/repos/itsbaska/http-server/contributors","subscribers_url":"https://api.github.com/repos/itsbaska/http-server/subscribers","subscription_url":"https://api.github.com/repos/itsbaska/http-server/subscription","commits_url":"https://api.github.com/repos/itsbaska/http-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/itsbaska/http-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/itsbaska/http-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/itsbaska/http-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/itsbaska/http-server/contents/{+path}","compare_url":"https://api.github.com/repos/itsbaska/http-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/itsbaska/http-server/merges","archive_url":"https://api.github.com/repos/itsbaska/http-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/itsbaska/http-server/downloads","issues_url":"https://api.github.com/repos/itsbaska/http-server/issues{/number}","pulls_url":"https://api.github.com/repos/itsbaska/http-server/pulls{/number}","milestones_url":"https://api.github.com/repos/itsbaska/http-server/milestones{/number}","notifications_url":"https://api.github.com/repos/itsbaska/http-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/itsbaska/http-server/labels{/name}","releases_url":"https://api.github.com/repos/itsbaska/http-server/releases{/id}","deployments_url":"https://api.github.com/repos/itsbaska/http-server/deployments","created_at":"2018-07-16T15:02:02Z","updated_at":"2018-08-06T16:11:36Z","pushed_at":"2018-08-09T22:13:14Z","git_url":"git://github.com/itsbaska/http-server.git","ssh_url":"git@github.com:itsbaska/http-server.git","clone_url":"https://github.com/itsbaska/http-server.git","svn_url":"https://github.com/itsbaska/http-server","homepage":null,"size":2473,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/itsbaska/http-server/pulls/4"},"html":{"href":"https://github.com/itsbaska/http-server/pull/4"},"issue":{"href":"https://api.github.com/repos/itsbaska/http-server/issues/4"},"comments":{"href":"https://api.github.com/repos/itsbaska/http-server/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/itsbaska/http-server/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/itsbaska/http-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/itsbaska/http-server/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/itsbaska/http-server/statuses/f9ee0cf9d5ed7d055a3b1b38cf7d62eedcf6a274"}},"author_association":"OWNER"}}
{"actor":{"display_login":"beccanelson"}}