@Test public void testEscapeURLQuery() { assertThat(EscapeStrings.escapeURLQuery("any")).isEqualTo("any"); assertThat(EscapeStrings.escapeURLQuery("any thing")).isEqualTo("any%20thing"); assertThat(EscapeStrings.escapeURLQuery("any+thing")).isEqualTo("any+thing"); assertThat(EscapeStrings.escapeURLQuery("any|thing")).isEqualTo("any%7cthing"); assertThat(EscapeStrings.escapeURLQuery("any%7cthing")).isEqualTo("any%7cthing"); assertThat(EscapeStrings.unescapeURLQuery("any%20thing")).isEqualTo("any thing"); assertThat(EscapeStrings.unescapeURLQuery("any+thing")).isEqualTo("any+thing"); assertThat(EscapeStrings.unescapeURLQuery("any%7cthing")).isEqualTo("any|thing"); }
@Nullable public static String escapeURLQuery(String ce) { return escapeString(ce, _allowableInUrlQuery); }
EscapeStrings { @Nullable public static String escapeURLQuery(String ce) { return escapeString(ce, _allowableInUrlQuery); } }
EscapeStrings { @Nullable public static String escapeURLQuery(String ce) { return escapeString(ce, _allowableInUrlQuery); }  }
EscapeStrings { @Nullable public static String escapeURLQuery(String ce) { return escapeString(ce, _allowableInUrlQuery); }  static String backslashEscape(String x, String reservedChars); static String backslashUnescape(String x); static List<String> tokenizeEscapedName(String escapedName); static String backslashEscapeCDMString(String s, String toescape); static int indexOf(String escapedName, char c); @Nullable static String escapeOGC(String s); @Nullable static String escapeURLQuery(String ce); @Nullable static String escapeString(String in, String allowable); @Nullable static String unescapeURLQuery(String ce); @Nullable static String unescapeString(String in); @Nullable static String urlDecode(String s); }
EscapeStrings { @Nullable public static String escapeURLQuery(String ce) { return escapeString(ce, _allowableInUrlQuery); }  static String backslashEscape(String x, String reservedChars); static String backslashUnescape(String x); static List<String> tokenizeEscapedName(String escapedName); static String backslashEscapeCDMString(String s, String toescape); static int indexOf(String escapedName, char c); @Nullable static String escapeOGC(String s); @Nullable static String escapeURLQuery(String ce); @Nullable static String escapeString(String in, String allowable); @Nullable static String unescapeURLQuery(String ce); @Nullable static String unescapeString(String in); @Nullable static String urlDecode(String s);  }