public final class UEncoder extends Object
| Constructor and Description |
|---|
UEncoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSafeCharacter(char c) |
CharChunk |
encodeURL(String s,
int start,
int end)
URL Encode string, using a specified encoding.
|
void |
setEncoding(String s)
Deprecated.
Unused. Will be removed in Tomcat 8.0.x onwards.
|
protected void |
urlEncode(CharChunk out,
ByteChunk bb) |
@Deprecated public void setEncoding(String s)
public void addSafeCharacter(char c)
public CharChunk encodeURL(String s, int start, int end) throws IOException
s - string to be encodedstart - the beginning index, inclusiveend - the ending index, exclusiveIOException - If an I/O error occursprotected void urlEncode(CharChunk out, ByteChunk bb) throws IOException
IOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.