{"action":"created","issue":{"url":"https://api.github.com/repos/decebals/pippo/issues/64","labels_url":"https://api.github.com/repos/decebals/pippo/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/decebals/pippo/issues/64/comments","events_url":"https://api.github.com/repos/decebals/pippo/issues/64/events","html_url":"https://github.com/decebals/pippo/pull/64","id":54008859,"number":64,"title":"RFC: Add factories for Request and Response","user":{"login":"gitblit","id":868217,"avatar_url":"https://avatars.githubusercontent.com/u/868217?v=3","gravatar_id":"","url":"https://api.github.com/users/gitblit","html_url":"https://github.com/gitblit","followers_url":"https://api.github.com/users/gitblit/followers","following_url":"https://api.github.com/users/gitblit/following{/other_user}","gists_url":"https://api.github.com/users/gitblit/gists{/gist_id}","starred_url":"https://api.github.com/users/gitblit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitblit/subscriptions","organizations_url":"https://api.github.com/users/gitblit/orgs","repos_url":"https://api.github.com/users/gitblit/repos","events_url":"https://api.github.com/users/gitblit/events{/privacy}","received_events_url":"https://api.github.com/users/gitblit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-11T23:05:38Z","updated_at":"2015-01-12T15:19:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/decebals/pippo/pulls/64","html_url":"https://github.com/decebals/pippo/pull/64","diff_url":"https://github.com/decebals/pippo/pull/64.diff","patch_url":"https://github.com/decebals/pippo/pull/64.patch"},"body":"This allows consumers of Pippo to implement higher level RouteHandlers which contain domain-specific logic such as object serialization/deserialization, etc."},"comment":{"url":"https://api.github.com/repos/decebals/pippo/issues/comments/69584883","html_url":"https://github.com/decebals/pippo/pull/64#issuecomment-69584883","issue_url":"https://api.github.com/repos/decebals/pippo/issues/64","id":69584883,"user":{"login":"decebals","id":1248311,"avatar_url":"https://avatars.githubusercontent.com/u/1248311?v=3","gravatar_id":"","url":"https://api.github.com/users/decebals","html_url":"https://github.com/decebals","followers_url":"https://api.github.com/users/decebals/followers","following_url":"https://api.github.com/users/decebals/following{/other_user}","gists_url":"https://api.github.com/users/decebals/gists{/gist_id}","starred_url":"https://api.github.com/users/decebals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/decebals/subscriptions","organizations_url":"https://api.github.com/users/decebals/orgs","repos_url":"https://api.github.com/users/decebals/repos","events_url":"https://api.github.com/users/decebals/events{/privacy}","received_events_url":"https://api.github.com/users/decebals/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T15:19:07Z","updated_at":"2015-01-12T15:19:07Z","body":"> The factories must exist in PippoFilter, not Application\r\nWhy? In PippoFilter I have access to Application and I can call `application.getRequestFactory().createRequest()`. In this mode in `Application.init()` if I need I can set the `RequestFactory` with setRequestFactory(new CustomRequest()). It's more readable for a developer and it's no black magic."}}