public final class UDecoder
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
ALLOW_ENCODED_SLASH |
| Constructor and Description |
|---|
UDecoder() |
UDecoder(boolean allowEncodedSlash) |
| Modifier and Type | Method and Description |
|---|---|
void |
convert(ByteChunk mb)
URLDecode, will modify the source.
|
void |
convert(ByteChunk mb,
boolean query)
URLDecode the
ByteChunk |
static void |
convert(ByteChunk mb,
boolean query,
boolean allowEncodedSlash)
URLDecode the
ByteChunk |
void |
convert(CharChunk mb)
In-buffer processing - the buffer will be modified
Includes converting '+' to ' '.
|
static void |
convert(CharChunk mb,
boolean query)
In-buffer processing - the buffer will be modified
|
void |
convert(MessageBytes mb)
URLDecode, will modify the source
Includes converting '+' to ' '.
|
void |
convert(MessageBytes mb,
boolean query)
URLDecode, will modify the source
|
static void |
convert(MessageBytes mb,
boolean query,
boolean allowEncodingSlash)
URLDecode, will modify the source
|
static java.lang.String |
convert(java.lang.String str) |
static java.lang.String |
convert(java.lang.String str,
boolean query) |
boolean |
isAllowEncodedSlash() |
void |
setAllowEncodedSlash(boolean allowEncodedSlash)
Override the default value
|
public void convert(ByteChunk mb) throws java.io.IOException
java.io.IOExceptionpublic void convert(ByteChunk mb, boolean query) throws java.io.IOException
ByteChunkjava.io.IOExceptionpublic static void convert(ByteChunk mb, boolean query, boolean allowEncodedSlash) throws java.io.IOException
ByteChunkjava.io.IOExceptionpublic void convert(CharChunk mb) throws java.io.IOException
java.io.IOExceptionpublic static void convert(CharChunk mb, boolean query) throws java.io.IOException
java.io.IOExceptionpublic void convert(MessageBytes mb) throws java.io.IOException
java.io.IOExceptionpublic void convert(MessageBytes mb, boolean query) throws java.io.IOException
java.io.IOExceptionpublic static void convert(MessageBytes mb, boolean query, boolean allowEncodingSlash) throws java.io.IOException
java.io.IOExceptionpublic static java.lang.String convert(java.lang.String str)
public static java.lang.String convert(java.lang.String str,
boolean query)
public boolean isAllowEncodedSlash()
public void setAllowEncodedSlash(boolean allowEncodedSlash)
allowEncodedSlash - Copyright © 2013 Oracle Corporation. All Rights Reserved.