public abstract class UriEncoder extends Object
Constructor and Description |
---|
UriEncoder() |
Modifier and Type | Method and Description |
---|---|
static String |
decode(ByteBuffer buff)
Decode '%'-escaped characters.
|
static String |
decode(String buff) |
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 © 2019 Hazelcast, Inc.. All rights reserved.