spring-framework / org.springframework.web.bind / UnsatisfiedServletRequestParameterException

UnsatisfiedServletRequestParameterException

open class UnsatisfiedServletRequestParameterException : ServletRequestBindingException

ServletRequestBindingException subclass that indicates an unsatisfied parameter condition, as typically expressed using an @RequestMapping annotation at the @Controller type level.

Author
Juergen Hoeller

Since
3.0

See Also
org.springframework.web.bind.annotation.RequestMapping#params()

Constructors

<init>

UnsatisfiedServletRequestParameterException(paramConditions: Array<String>, actualParams: MutableMap<String, Array<String>>)
UnsatisfiedServletRequestParameterException(paramConditions: MutableList<Array<String>>, actualParams: MutableMap<String, Array<String>>)

Create a new UnsatisfiedServletRequestParameterException.

Properties

message

open val message: String

Functions

getActualParams

fun getActualParams(): MutableMap<String, Array<String>>

Return the actual parameter Map associated with the ServletRequest.

getParamConditionGroups

fun getParamConditionGroups(): MutableList<Array<String>>

Return all parameter condition groups that have been violated.

getParamConditions

fun getParamConditions(): Array<String>

Return the parameter conditions that have been violated or the first group in case of multiple groups.