/** * Returns the value of the parameter. If there are multiple parameters for the value, only the first is returned. * * @return the value of the parameter */ public String getParameter(String parameterName) { Iterable<String> values = getParameterMap().get(parameterName); if (values == null) { return null; } Iterator<String> it = values.iterator(); if (!it.hasNext()) { return null; } return it.next(); }