public abstract class UriEncoder extends Object
| Constructor | Description |
|---|---|
UriEncoder() |
| Modifier and Type | Method | Description |
|---|---|---|
static String |
decode(String buff) |
|
static String |
decode(ByteBuffer buff) |
Decode '%'-escaped characters.
|
static String |
encode(String uri) |
Escape special characters with '%'
|
public static String encode(String uri)
uri - URI to be escapedpublic static String decode(ByteBuffer buff) throws CharacterCodingException
buff - data to decodeCharacterCodingException - if cannot be decodedCopyright © 2008–2018. All rights reserved.