Package webwork.util
Class QueryString
java.lang.Object
webwork.util.QueryString
Query string parsing logic. Intended to replace use of the Servlet API HttpUtils class which was removed. A more
idiomatic way of doing this would be to use
ServletRequest.getParameterMap(), however this will also read
form data which will consume the request body -- at time of writing the impact of this is difficult to judge so we
conservatively stick with parsing the query string ourselves.-
Method Summary
-
Method Details
-
parse
Parses a query string into a map of keys to array of values.- Parameters:
queryString- The query string.- Returns:
- The parsed result, as an unmodifiable map. If
queryStringis null, an empty map.
-