public final class DittoEncodingHelper extends Object
/ (slash) used in HTTP urls and in DittoProtocol topic to delimit segments ? (question mark) used in HTTP urls to start the query parameters # (hash mark) used in HTTP urls to define a fragment identifier * (asterisk) used in Ditto's search syntax in "like" queries , (comma) used in Ditto's HTTP API to return several thing ID separated by commas (single whitespace) must be escaped in HTTP urls to %20 % (percent) used to define an escaped character itself " (quotation marks) often used as the delimiters around URI in text documents and protocol fields
| Modifier and Type | Method and Description |
|---|---|
static String |
decode(String decodeTarget)
Decodes the given String by decoding the "percent-encoded" characters in the passed
decodeTarget. |
static String |
encode(String encodeTarget)
Encodes the given String by "percent-encoding" the harmful characters.
|
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.