Home
last modified time | relevance | path

Searched refs:decodePercent (Results 1 – 4 of 4) sorted by relevance

/external/nanohttpd/core/src/test/java/fi/iki/elonen/
DHttpParsingTest.java46 assertEquals(expected, this.testServer.decodePercent(input)); in testMultibyteCharacterSupport()
55 assertEquals("" + expected, this.testServer.decodePercent(input)); in testNormalCharacters()
61 assertEquals("foo bar", this.testServer.decodePercent("foo+bar")); in testPlusInQueryParams()
/external/oauth/core/src/main/java/net/oauth/
DOAuth.java131 name = decodePercent(nvp); in decodeForm()
134 name = decodePercent(nvp.substring(0, equals)); in decodeForm()
135 value = decodePercent(nvp.substring(equals + 1)); in decodeForm()
170 public static String decodePercent(String s) { in decodePercent() method in OAuth
DOAuthMessage.java369 String name = OAuth.decodePercent(m.group(1)); in decodeAuthorization()
370 String value = OAuth.decodePercent(m.group(2)); in decodeAuthorization()
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java611 uri = decodePercent(uri.substring(0, qmi)); in decodeHeader()
613 uri = decodePercent(uri); in decodeHeader()
755 … p.put(decodePercent(e.substring(0, sep)).trim(), decodePercent(e.substring(sep + 1))); in decodeParms()
757 p.put(decodePercent(e).trim(), ""); in decodeParms()
1896 …String propertyName = sep >= 0 ? decodePercent(e.substring(0, sep)).trim() : decodePercent(e).trim… in decodeParameters()
1900 String propertyValue = sep >= 0 ? decodePercent(e.substring(sep + 1)) : null; in decodeParameters()
1917 protected static String decodePercent(String str) { in decodePercent() method