| Package | Description |
|---|---|
| org.gwtproject.safehtml.shared |
Shared classes for creating safe HTML content.
|
| Modifier and Type | Method and Description |
|---|---|
static SafeUri |
UriUtils.fromSafeConstant(String s)
Returns a
SafeUri constructed from a value that is fully under
the control of the program, e.g., a constant. |
static SafeUri |
UriUtils.fromString(String s)
Returns a
SafeUri obtained by sanitizing the provided string. |
static SafeUri |
UriUtils.fromTrustedString(String s)
Returns a
SafeUri constructed from a trusted string, i.e., without
sanitizing the string. |
static SafeUri |
UriUtils.unsafeCastFromUntrustedString(String s)
Deprecated.
This method is intended only for use in APIs that use
SafeUri to represent URIs, but for backwards
compatibility have methods that accept URI parameters as plain
strings. |
Copyright © 2019. All rights reserved.