// @GENERATOR:play-routes-compiler // @SOURCE:/home/javastream.de/jenkins/jobs/image-search/workspace/conf/routes // @DATE:Thu Jun 29 01:20:31 CEST 2017 import play.api.routing.JavaScriptReverseRoute import play.api.mvc.{ QueryStringBindable, PathBindable, Call, JavascriptLiteral } import play.core.routing.{ HandlerDef, ReverseRouteContext, queryString, dynamicString } import _root_.controllers.Assets.Asset import _root_.play.libs.F // @LINE:6 package controllers.javascript { import ReverseRouteContext.empty // @LINE:6 class ReverseHome(_prefix: => String) { def _defaultPrefix: String = { if (_prefix.endsWith("/")) "" else "/" } // @LINE:6 def index: JavaScriptReverseRoute = JavaScriptReverseRoute( "controllers.Home.index", """ function() { return _wA({method:"GET", url:"""" + _prefix + """"}) } """ ) } // @LINE:8 class ReverseImages(_prefix: => String) { def _defaultPrefix: String = { if (_prefix.endsWith("/")) "" else "/" } // @LINE:13 def show: JavaScriptReverseRoute = JavaScriptReverseRoute( "controllers.Images.show", """ function(checksum0) { return _wA({method:"GET", url:"""" + _prefix + { _defaultPrefix } + """" + "images/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("checksum", encodeURIComponent(checksum0))}) } """ ) // @LINE:11 def sobel: JavaScriptReverseRoute = JavaScriptReverseRoute( "controllers.Images.sobel", """ function(checksum0) { return _wA({method:"GET", url:"""" + _prefix + { _defaultPrefix } + """" + "images/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("checksum", encodeURIComponent(checksum0)) + "/sobel"}) } """ ) // @LINE:12 def reference: JavaScriptReverseRoute = JavaScriptReverseRoute( "controllers.Images.reference", """ function(checksum0) { return _wA({method:"GET", url:"""" + _prefix + { _defaultPrefix } + """" + "images/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("checksum", encodeURIComponent(checksum0)) + "/reference"}) } """ ) // @LINE:8 def save: JavaScriptReverseRoute = JavaScriptReverseRoute( "controllers.Images.save", """ function() { return _wA({method:"POST", url:"""" + _prefix + { _defaultPrefix } + """" + "images"}) } """ ) // @LINE:10 def thumbnail: JavaScriptReverseRoute = JavaScriptReverseRoute( "controllers.Images.thumbnail", """ function(checksum0) { return _wA({method:"GET", url:"""" + _prefix + { _defaultPrefix } + """" + "images/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("checksum", encodeURIComponent(checksum0)) + "/thumbnail"}) } """ ) // @LINE:9 def index: JavaScriptReverseRoute = JavaScriptReverseRoute( "controllers.Images.index", """ function() { return _wA({method:"GET", url:"""" + _prefix + { _defaultPrefix } + """" + "images"}) } """ ) } // @LINE:21 class ReverseAssets(_prefix: => String) { def _defaultPrefix: String = { if (_prefix.endsWith("/")) "" else "/" } // @LINE:21 def versioned: JavaScriptReverseRoute = JavaScriptReverseRoute( "controllers.Assets.versioned", """ function(file1) { return _wA({method:"GET", url:"""" + _prefix + { _defaultPrefix } + """" + "assets/" + (""" + implicitly[PathBindable[Asset]].javascriptUnbind + """)("file", file1)}) } """ ) } // @LINE:16 class ReverseColors(_prefix: => String) { def _defaultPrefix: String = { if (_prefix.endsWith("/")) "" else "/" } // @LINE:18 def sample: JavaScriptReverseRoute = JavaScriptReverseRoute( "controllers.Colors.sample", """ function(hex0,width1,height2) { return _wA({method:"GET", url:"""" + _prefix + { _defaultPrefix } + """" + "colors/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("hex", encodeURIComponent(hex0)) + "/sample/" + (""" + implicitly[PathBindable[Integer]].javascriptUnbind + """)("width", width1) + "/" + (""" + implicitly[PathBindable[Integer]].javascriptUnbind + """)("height", height2)}) } """ ) // @LINE:16 def index: JavaScriptReverseRoute = JavaScriptReverseRoute( "controllers.Colors.index", """ function() { return _wA({method:"GET", url:"""" + _prefix + { _defaultPrefix } + """" + "colors"}) } """ ) } }