public static boolean doesParameterExist(final HttpServletRequest request, final String name) {
        val parameter = request.getParameter(name);
        if (StringUtils.isBlank(parameter)) {
            LOGGER.error("Missing request parameter: [{}]", name);
            return false;
        }
        LOGGER.debug("Found provided request parameter [{}]", name);
        return true;
    }
public static boolean doesParameterExist ( final HttpServletRequest request , final String name ) { val parameter = request . getParameter ( name ) ; if ( StringUtils . isBlank ( parameter ) ) { LOGGER . error ( "Missing request parameter: [{}]" , name ) ; return false ; } LOGGER . debug ( "Found provided request parameter [{}]" , name ) ; return true ; }
Check if a parameter exists.

@param request the HTTP request
@param name    the parameter name
@return whether the parameter exists