Class QueryUtils


  • public class QueryUtils
    extends Object
    • Constructor Detail

      • QueryUtils

        public QueryUtils()
    • Method Detail

      • encodeParams

        public static String encodeParams​(String methodName,
                                          String paramName,
                                          String paramValue)
                                   throws InvalidParameterException
        Convert param value to URL UTF-8 encode
        Parameters:
        methodName - - name of the method being called.
        paramName - - name of the parameter for encode
        paramValue - - value of the parameter for encode
        Returns:
        encoded param value
        Throws:
        InvalidParameterException - - error when attempting to encode