List of utility methods to do URI to Parameter
Map | getQueryParameters(URI uri) get Query Parameters if (uri == null) throw new NullPointerException("uri"); return urlDecode(uri.getRawQuery(), false); |
List | getQueryParameterValues(String uri, String name) Returns a list of query parameter values associated with the given name from the given uri . List<String> values = new ArrayList<String>(); if (uri != null) { int questionAt = uri.indexOf('?'); if (questionAt > -1) { uri = uri.substring(questionAt + 1); uri = "&" + uri; String prefix = "&" + encodeUri(name) + "="; ... |