Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Used for escapeString method for escape format to escape sql syntax.

TYPE_URL
public static final java.lang.String TYPE_URL = "url";

Used for escapeString method for escape format to encode url parameter value.

TYPE_XML
public static final java.lang.String TYPE_XML = "xml";

...

format - TYPE_HTML, TYPE_JAVA, TYPE_JAVASCIPT, TYPE_JSON, TYPE_SQL, TYPE_XML, TYPE_URL or TYPE_REGEX. Support chain escaping by separate the format in semicolon (;).

replaceMap - A map of keyword and new keyword pair to be replaced before escaping

decryptContent
public static java.lang.String decryptContent(java.lang.String content)

...

Encrypt all keywords in the content which wrapped in SecurityUtil.ENVELOPE with SecurityUtil.encrypt method.

getUrlParams
public static java.util.Map<java.lang.String, java.lang.String[]> getUrlParams(java.lang.String url)

Converts all request parameters in an URL to a map

md5
public static java.lang.String md5(java.lang.String content)

...