public static String percentEncode(String s) { if (s == null) { return ""; } return percentEncoder.escape(s); }
public static String percentEncode(String s) { if (s == null) { return ""; } return percentEncoder.escape(s); }
/** * Escape the slug header by escaping anything outside the range %20-24, * %26-7E using percent encoding. */ static String escapeSlug(String slug) { return SLUG_ESCAPER.escape(slug); }
/** * Escape the slug header by escaping anything outside the range %20-24, * %26-7E using percent encoding. */ static String escapeSlug(String slug) { return SLUG_ESCAPER.escape(slug); }