Interface URLUtils
public interface URLUtils
This interface gives you access to URL encoding and decoding features.
-
Method Summary
Modifier and TypeMethodDescriptionThis method is equivalent to callingencode(String, URLEncoding)withURLEncoding.JAVA_DEFAULT.encode(String string, URLEncoding encoding)
-
Method Details
-
encode
This method is equivalent to callingencode(String, URLEncoding)withURLEncoding.JAVA_DEFAULT.- Parameters:
string-Stringto be url encoded.- Returns:
- the url encoded
String. - See Also:
-
encode
- Parameters:
string-Stringto be url encoded.encoding-URLEncodingto be used.- Returns:
- the url encoded
String.
-
decode
-
encode
-
decode
-