Returns the value of the given query string parameter. If this parameter occurs multiple times in the URL, only the last value is returned and others are silently ignored. @param paramname Name of the query string parameter to get. @return The value of the parameter or null if this param
(final String paramname)
| 218 | * wasn't passed in the URI. |
| 219 | */ |
| 220 | public String getQueryStringParam(final String paramname) { |
| 221 | final List<String> params = getQueryString().get(paramname); |
| 222 | return params == null ? null : params.get(params.size() - 1); |
| 223 | } |
| 224 | |
| 225 | /** |
| 226 | * Returns the non-empty value of the given required query string parameter. |
no test coverage detected