spring-framework / org.springframework.web.bind / ServletRequestUtils / getRequiredStringParameters

getRequiredStringParameters

open static fun getRequiredStringParameters(request: ServletRequest, name: String): Array<String>

Get an array of String parameters, throwing an exception if not found.

Parameters

request - current HTTP request

name - the name of the parameter

Exceptions

ServletRequestBindingException - a subclass of ServletException, so it doesn't need to be caught