Controller Method to serve a WebJar asset
Controller Method to serve a WebJar asset
the file to serve
the Action that serves the file
Locate a file in a WebJar
Locate a file in a WebJar
the WebJar artifactId
the file or partial path to find
the path to the file (sans-the webjars prefix)
Locate a file in a WebJar
Locate a file in a WebJar
the file or partial path to find
the path to the file (sans-the webjars prefix)
Passing in jquery.min.js
will return jquery/1.8.2/jquery.min.js
assuming the jquery WebJar version 1.8.2 is on the classpath
A Play framework controller that is able to resolve WebJar paths.
org.webjars.play.webJarFilterExpr can be used to declare a regex for the files that should be looked for when searching within WebJars. By default all files are searched for.