getOrFail

inline fun Parameters.getOrFail(name: String): String

Get parameters value associated with this name or fail with MissingRequestParameterException

Throws


inline fun <R : Any> Parameters.getOrFail(name: String): R

Get parameters value associated with this name converting to type R using DefaultConversionService or fail with MissingRequestParameterException

Throws

when conversion from String to R fails