public class URLEncoder extends Object
| Modifier and Type | Field and Description |
|---|---|
static URLEncoder |
DEFAULT |
protected static char[] |
hexadecimal |
protected BitSet |
safeCharacters |
| Constructor and Description |
|---|
URLEncoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSafeCharacter(char c) |
String |
encode(String path)
Deprecated.
|
String |
encode(String path,
String encoding)
URL encodes the provided path using the given encoding.
|
protected static final char[] hexadecimal
public static final URLEncoder DEFAULT
protected BitSet safeCharacters
public void addSafeCharacter(char c)
@Deprecated public String encode(String path)
encode(String, String)path - The path to encodeCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.