Returns the query string parameters passed in the URI.
()
| 198 | * Returns the query string parameters passed in the URI. |
| 199 | */ |
| 200 | public Map<String, List<String>> getQueryString() { |
| 201 | if (querystring == null) { |
| 202 | try { |
| 203 | querystring = new QueryStringDecoder(request.getUri()).getParameters(); |
| 204 | } catch (IllegalArgumentException e) { |
| 205 | throw new BadRequestException("Bad query string: " + e.getMessage()); |
| 206 | } |
| 207 | } |
| 208 | return querystring; |
| 209 | } |
| 210 | |
| 211 | /** |
| 212 | * Returns the value of the given query string parameter. |
no test coverage detected