public String queryParamsSafe(final String queryParam) {
        return Base64.encode(servletRequest.getParameter(queryParam));
    }
Gets the query param and encode it

@param queryParam the query parameter
@return the encode value of the provided queryParam
Example: query parameter 'me' from the URI: /hello?id=fool.
src/main/java/spark/Request.java