concept parameter in category scalatra

This is an excerpt from Manning's book Scalatra in Action.
As before, you get the name and motto parameters as strings. The birth-year parameter gets pulled out of the incoming params map as an Int, and you prove it by using it to conditionally log the hacker’s status (classical or Unix-era).
One nice thing about getAs is that it handles errors silently for you. If your action receives a value that doesn’t look like an integer (such as "nineteen seventy"), calling getAs[Int]("birth-year") will still return None, just as if the parameter wasn’t there to begin with.
Whenever you accept arbitrary input, you open up the possibility that a user, or another computer system, will send parameters that you don’t expect. For example, in our previous examples of using HTTP parameters via the params method, there’s no code to check either the existence or the type of incoming params.