@Test void testUtf8_MultiByteCodePoint() { String input = "text=test%C3%A4"; UrlEncoded url_encoded = new UrlEncoded(); url_encoded.decode(input); String expected = "test\u00e4"; assertEquals(expected, url_encoded.getString("text")); }
public void decode(String query) { decodeTo(query, this, ENCODING); }
UrlEncoded extends MultiMap<String> implements Cloneable { public void decode(String query) { decodeTo(query, this, ENCODING); } }
UrlEncoded extends MultiMap<String> implements Cloneable { public void decode(String query) { decodeTo(query, this, ENCODING); } UrlEncoded(UrlEncoded url);  UrlEncoded();  UrlEncoded(String query); }
UrlEncoded extends MultiMap<String> implements Cloneable { public void decode(String query) { decodeTo(query, this, ENCODING); } UrlEncoded(UrlEncoded url);  UrlEncoded();  UrlEncoded(String query); static String encode(MultiMap<String> map, Charset charset, boolean equalsForNullValue); static void decodeTo(String content, MultiMap<String> map, String charset); static void decodeTo(String content, MultiMap<String> map, Charset charset); static void decodeUtf8To(String query, MultiMap<String> map); static void decodeUtf8To(String query, int offset, int length, MultiMap<String> map); static void decode88591To(InputStream in, MultiMap<String> map, int maxLength, int maxKeys); static void decodeUtf8To(InputStream in, MultiMap<String> map, int maxLength, int maxKeys); static void decodeUtf16To(InputStream in, MultiMap<String> map, int maxLength, int maxKeys); static void decodeTo(InputStream in, MultiMap<String> map, String charset, int maxLength, int maxKeys); static void decodeTo(InputStream in, MultiMap<String> map, Charset charset, int maxLength, int maxKeys); static String decodeString(String encoded); static String decodeString(String encoded, int offset, int length, Charset charset); static String encodeString(String string); static String encodeString(String string, Charset charset); void decode(String query); void decode(String query, Charset charset); String encode(); String encode(Charset charset); String encode(Charset charset, boolean equalsForNullValue); @Override Object clone(); }
UrlEncoded extends MultiMap<String> implements Cloneable { public void decode(String query) { decodeTo(query, this, ENCODING); } UrlEncoded(UrlEncoded url);  UrlEncoded();  UrlEncoded(String query); static String encode(MultiMap<String> map, Charset charset, boolean equalsForNullValue); static void decodeTo(String content, MultiMap<String> map, String charset); static void decodeTo(String content, MultiMap<String> map, Charset charset); static void decodeUtf8To(String query, MultiMap<String> map); static void decodeUtf8To(String query, int offset, int length, MultiMap<String> map); static void decode88591To(InputStream in, MultiMap<String> map, int maxLength, int maxKeys); static void decodeUtf8To(InputStream in, MultiMap<String> map, int maxLength, int maxKeys); static void decodeUtf16To(InputStream in, MultiMap<String> map, int maxLength, int maxKeys); static void decodeTo(InputStream in, MultiMap<String> map, String charset, int maxLength, int maxKeys); static void decodeTo(InputStream in, MultiMap<String> map, Charset charset, int maxLength, int maxKeys); static String decodeString(String encoded); static String decodeString(String encoded, int offset, int length, Charset charset); static String encodeString(String string); static String encodeString(String string, Charset charset); void decode(String query); void decode(String query, Charset charset); String encode(); String encode(Charset charset); String encode(Charset charset, boolean equalsForNullValue); @Override Object clone(); static final Charset ENCODING; }