open static fun encodePath(path: String, encoding: String): String
Encode the given URI path with the given encoding.
encoding - the character encoding to encode to
UnsupportedEncodingException - when the given encoding parameter is not supported
Return
the encoded path
open static fun encodePath(path: String, charset: Charset): String
Encode the given URI path with the given encoding.
charset - the character encoding to encode to
Return
the encoded path
Since
5.0