Escaper instances suitable for strings to be included in particular sections of URLs.
If the resulting URLs are inserted into an HTML or XML document, they will require additional
escaping with com. or com..
| Modifier and Type | Field and Description |
|---|---|
| private static final Escaper | |
| pack-priv static final String | |
| private static final Escaper | |
| pack-priv static final String | |
| private static final Escaper |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Escaper | urlFormParameterEscaper()
Returns an |
| public static Escaper | urlFragmentEscaper()
Returns an |
| public static Escaper | urlPathSegmentEscaper()
Returns an |
| URL_FORM_PARAMETER_ESCAPER | back to summary |
|---|---|
| private static final Escaper URL_FORM_PARAMETER_ESCAPER | |
| URL_FORM_PARAMETER_OTHER_SAFE_CHARS | back to summary |
|---|---|
| pack-priv static final String URL_FORM_PARAMETER_OTHER_SAFE_CHARS | |
| URL_FRAGMENT_ESCAPER | back to summary |
|---|---|
| private static final Escaper URL_FRAGMENT_ESCAPER | |
| URL_PATH_OTHER_SAFE_CHARS_LACKING_PLUS | back to summary |
|---|---|
| pack-priv static final String URL_PATH_OTHER_SAFE_CHARS_LACKING_PLUS | |
| URL_PATH_SEGMENT_ESCAPER | back to summary |
|---|---|
| private static final Escaper URL_PATH_SEGMENT_ESCAPER | |
| UrlEscapers | back to summary |
|---|---|
| private UrlEscapers() | |
| urlFormParameterEscaper | back to summary |
|---|---|
| public static Escaper urlFormParameterEscaper() Returns an When escaping a String, the following rules apply:
This escaper is suitable for escaping parameter names and values even when using the non-standard semicolon, rather than the ampersand, as a parameter delimiter. Nevertheless, we recommend using the ampersand unless you must interoperate with systems that require semicolons. Note Unlike other escapers, URL escapers produce uppercase hexadecimal sequences. | |
| urlFragmentEscaper | back to summary |
|---|---|
| public static Escaper urlFragmentEscaper() Returns an When escaping a String, the following rules apply:
Note Unlike other escapers, URL escapers produce uppercase hexadecimal sequences. | |
| urlPathSegmentEscaper | back to summary |
|---|---|
| public static Escaper urlPathSegmentEscaper() Returns an When escaping a String, the following rules apply:
Note Unlike other escapers, URL escapers produce uppercase hexadecimal sequences. | |