public static String encodeQueryParam(final String paramName, final String paramValue) {
        return CommonHelper.urlEncode(paramName) + "=" + CommonHelper.urlEncode(paramValue);
    }
<p>encodeQueryParam.</p>

@param paramName a {@link String} object
@param paramValue a {@link String} object
@return a {@link String} object
pac4j-core/src/main/java/org/pac4j/core/util/HttpUtils.java