Skip to content

Instantly share code, notes, and snippets.

@sam
Created December 17, 2012 22:26
Show Gist options
  • Save sam/4322951 to your computer and use it in GitHub Desktop.
Save sam/4322951 to your computer and use it in GitHub Desktop.
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