private def toUriString(Object object) {
if(object === null) return "";
-// return object.toString.replace("/",URI_SLASH_PLACEHOLDER)
return URLEncoder.encode(object.toString,URI_ENCODING_CHAR_SET)
}
decodedPathArgs.add(URLDecoder.decode(pathArg, URI_ENCODING_CHAR_SET))
}
return decodedPathArgs
+ }
+
+ def urlPathArgDecode(String pathArg) {
+ if (pathArg !== null) {
+ return URLDecoder.decode(pathArg, URI_ENCODING_CHAR_SET)
+ }
+ return null
}
}