{"action":"created","issue":{"url":"https://api.github.com/repos/playframework/playframework/issues/3964","labels_url":"https://api.github.com/repos/playframework/playframework/issues/3964/labels{/name}","comments_url":"https://api.github.com/repos/playframework/playframework/issues/3964/comments","events_url":"https://api.github.com/repos/playframework/playframework/issues/3964/events","html_url":"https://github.com/playframework/playframework/pull/3964","id":58696932,"number":3964,"title":"Embedded server/routers for testing and other nefarious purposes","user":{"login":"jroper","id":105833,"avatar_url":"https://avatars.githubusercontent.com/u/105833?v=3","gravatar_id":"","url":"https://api.github.com/users/jroper","html_url":"https://github.com/jroper","followers_url":"https://api.github.com/users/jroper/followers","following_url":"https://api.github.com/users/jroper/following{/other_user}","gists_url":"https://api.github.com/users/jroper/gists{/gist_id}","starred_url":"https://api.github.com/users/jroper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jroper/subscriptions","organizations_url":"https://api.github.com/users/jroper/orgs","repos_url":"https://api.github.com/users/jroper/repos","events_url":"https://api.github.com/users/jroper/events{/privacy}","received_events_url":"https://api.github.com/users/jroper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-24T05:55:00Z","updated_at":"2015-02-24T07:12:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/playframework/playframework/pulls/3964","html_url":"https://github.com/playframework/playframework/pull/3964","diff_url":"https://github.com/playframework/playframework/pull/3964.diff","patch_url":"https://github.com/playframework/playframework/pull/3964.patch"},"body":"* Refactored routers\n  - Renamed play.core.Router.Routes to play.api.routing.Router\n  - Deprecated play.core.Router.Routes\n  - Deprecated play.api.Routes and moved utility methods to play.api.routing.Router\n  - Split methods on play.api.routing.Router that are there just for the generated routers into a play.core.routing.GeneratedRouter trait\n* Added a String Interpolating Routing DSL (sird for short)\n* Added a Java Routing DSL\n* Added helpers for defining an embedded server in Java and Scala using an embedded router\n* Added helpers for writing tests with an embedded server in Java and Scala\n* Introduced play.api.mvc.Status.sendResource method for serving resources from the classpath\n* Refactored Java results builder APIs so that results could be built with named methods, not just overloaded methods based on argument types\n  - Renamed play.mvc.Http.Status to play.mvc.Http.StatusResult\n  - Created play.mvc.Http.Status that wraps a play.api.mvc.Results.Status\n  - Introduce sendResource methods on that\n  - So now you can ok().sendResource(\"foo\")\n* Documented the following in Java and Scala:\n  - Creating an embedded router\n  - Creating an embedded server\n  - Testing with an embedded server"},"comment":{"url":"https://api.github.com/repos/playframework/playframework/issues/comments/75709773","html_url":"https://github.com/playframework/playframework/pull/3964#issuecomment-75709773","issue_url":"https://api.github.com/repos/playframework/playframework/issues/3964","id":75709773,"user":{"login":"benmccann","id":322311,"avatar_url":"https://avatars.githubusercontent.com/u/322311?v=3","gravatar_id":"","url":"https://api.github.com/users/benmccann","html_url":"https://github.com/benmccann","followers_url":"https://api.github.com/users/benmccann/followers","following_url":"https://api.github.com/users/benmccann/following{/other_user}","gists_url":"https://api.github.com/users/benmccann/gists{/gist_id}","starred_url":"https://api.github.com/users/benmccann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benmccann/subscriptions","organizations_url":"https://api.github.com/users/benmccann/orgs","repos_url":"https://api.github.com/users/benmccann/repos","events_url":"https://api.github.com/users/benmccann/events{/privacy}","received_events_url":"https://api.github.com/users/benmccann/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T07:12:04Z","updated_at":"2015-02-24T07:12:04Z","body":"This is awesome James!! I think I have a new favorite feature in Play 2.4 :-)"}}