public class UriComponentEncoder extends Object
| Modifier and Type | Field and Description |
|---|---|
static Charset |
UTF8_CHARSET |
| Constructor and Description |
|---|
UriComponentEncoder() |
| Modifier and Type | Method and Description |
|---|---|
static String |
encodePath(String path)
Encodes an HTTP URI Path.
|
static String |
encodeQuery(String query)
Encodes an HTTP URI Query.
|
public static Charset UTF8_CHARSET
public static String encodePath(String path) throws NullPointerException
path - NullPointerExceptionpublic static String encodeQuery(String query) throws NullPointerException
query - NullPointerExceptionCopyright © 2017. All rights reserved.