class URIUtil extends Object
UTF-8 encoding is used by default for % encoded characters. This may be overridden with the org.eclipse.jetty.util.URI.charset system property. see UrlEncoded I2P modded from Jetty 8.1.15
| Constructor | Description |
|---|---|
URIUtil() |
| Modifier and Type | Method | Description |
|---|---|---|
static String |
encodePath(String path) |
Encode a URI path.
|
static StringBuilder |
encodePath(StringBuilder buf,
String path) |
Encode a URI path.
|
public static String encodePath(String path)
path - The path the encodepublic static StringBuilder encodePath(StringBuilder buf, String path)
path - The path the encodebuf - StringBuilder to encode path into (or null)