public static String encodeQueryParam(String v)
  {
    String encoded = UrlEscapers.urlFormParameterEscaper().escape(v);
    return encoded;
  }
public static String encodeQueryParam ( String v ) { String encoded = UrlEscapers . urlFormParameterEscaper ( ) . escape ( v ) ; return encoded ; }
Encodes a String so it can be used as query param.

@param v
@return