Mercurial > hg > Members > nobuyasu > Consensus
diff target/scala-2.9.1/src_managed/main/routes_routing.scala @ 0:3d01ca5b26ed
add
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 01 Oct 2012 16:07:59 +0900 (2012-10-01) |
parents | |
children | d6afc58ce3f5 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/target/scala-2.9.1/src_managed/main/routes_routing.scala Mon Oct 01 16:07:59 2012 +0900 @@ -0,0 +1,59 @@ +// @SOURCE:/Users/aotokage/testProgram/play/Consensus/conf/routes +// @HASH:ecac9e4ebd9d2d83022704b008c2c05a5753b005 +// @DATE:Mon Oct 01 15:42:52 JST 2012 + +import play.core._ +import play.core.Router._ +import play.core.j._ + +import play.api.mvc._ +import play.libs.F + +import Router.queryString + +object Routes extends Router.Routes { + + +// @LINE:6 +val controllers_Application_index0 = Route("GET", PathPattern(List(StaticPart("/")))) + + +// @LINE:7 +val controllers_Application_hello1 = Route("POST", PathPattern(List(StaticPart("/db/data/node")))) + + +// @LINE:11 +val controllers_Assets_at2 = Route("GET", PathPattern(List(StaticPart("/assets/"),DynamicPart("file", """.+""")))) + +def documentation = List(("""GET""","""/""","""controllers.Application.index()"""),("""POST""","""/db/data/node""","""controllers.Application.hello()"""),("""GET""","""/assets/$file<.+>""","""controllers.Assets.at(path:String = "/public", file:String)""")) + + +def routes:PartialFunction[RequestHeader,Handler] = { + +// @LINE:6 +case controllers_Application_index0(params) => { + call { + invokeHandler(_root_.controllers.Application.index(), HandlerDef(this, "controllers.Application", "index", Nil)) + } +} + + +// @LINE:7 +case controllers_Application_hello1(params) => { + call { + invokeHandler(_root_.controllers.Application.hello(), HandlerDef(this, "controllers.Application", "hello", Nil)) + } +} + + +// @LINE:11 +case controllers_Assets_at2(params) => { + call(Param[String]("path", Right("/public")), params.fromPath[String]("file", None)) { (path, file) => + invokeHandler(_root_.controllers.Assets.at(path, file), HandlerDef(this, "controllers.Assets", "at", Seq(classOf[String], classOf[String]))) + } +} + +} + +} + \ No newline at end of file