MvcContext class as mvc.encoders.
| html | back to summary | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public String html(String s) Encoding for HTML code in attributes or content. It MUST support encoding of (at least) the following characters:
| |||||||||||||
| js | back to summary | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public String js(String s) Encoding for JavaScript code in attributes or script blocks. It MUST support encoding of (at least) the following characters:
| |||||||||||||||||||||||||