Created
December 17, 2012 22:26
-
-
Save sam/4322951 to your computer and use it in GitHub Desktop.
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
import unfiltered.request._ | |
import unfiltered.response._ | |
val nice = unfiltered.filter.Planify { | |
case _ => ResponseString("Hello World!") | |
} | |
unfiltered.jetty.Http.anylocal.filter(echo).filter(nice).run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment