NotEmpty
org.scalatra.util.NotEmpty$
object NotEmpty
Extractor object, useful for handling empty form parameter submissions:
params.get("foo") match { case NotEmpty(value) => processValue(value) case _ => message("foo is required") }
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
NotEmpty.type
Members list
In this article