public class URLEncoder extends Object
Modifier and Type | Field and Description |
---|---|
static URLEncoder |
DEFAULT |
static URLEncoder |
QUERY |
Constructor and Description |
---|
URLEncoder() |
Modifier and Type | Method and Description |
---|---|
void |
addSafeCharacter(char c) |
String |
encode(String path,
Charset charset)
URL encodes the provided path using the given character set.
|
void |
setEncodeSpaceAsPlus(boolean encodeSpaceAsPlus) |
public static final URLEncoder DEFAULT
public static final URLEncoder QUERY
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.