Created
August 18, 2011 19:02
-
-
Save dwins/1154860 to your computer and use it in GitHub Desktop.
unfiltered + servlet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dwins.web | |
class Unfiltered extends unfiltered.filter.Planify ({ | |
case GET(Path("/")) => Ok ~> TextContent ~> Text("Hello") | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<filter> | |
<filter-name>unfiltered</filter-name> | |
<filter-class>dwins.web.Unfiltered</filter-class> | |
</filter> | |
<filter-mapping> | |
<filter-name>unfiltered</filter-name> | |
<url-pattern>/*</url-pattern> | |
</filter-mapping> | |
<!-- obviously not a full webapp --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment