public class URLDecoderUtil extends Object
| Constructor and Description |
|---|
URLDecoderUtil() |
public static String decode(String sequence, String charset)
x-www-form-urlencoded string.sequence - the String to decodecharset - The name of a supported character encoding.StringIllegalArgumentException - If the encoding is not validpublic static String decode(String sequence, String charset, boolean isQueryString)
x-www-form-urlencoded string.sequence - the String to decodecharset - The name of a supported character encoding.isQueryString - whether input is a query string. If true other decoding rules apply.StringIllegalArgumentException - If the encoding is not validCopyright © 2000–2021 Apache Software Foundation. All rights reserved.