public final class UDecoder extends 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 String |
convert(String str) |
static String |
convert(String str,
boolean query) |
boolean |
isAllowEncodedSlash() |
void |
setAllowEncodedSlash(boolean allowEncodedSlash)
Override the default value
|
public void convert(ByteChunk mb) throws IOException
IOException
public void convert(ByteChunk mb, boolean query) throws IOException
ByteChunk
IOException
public static void convert(ByteChunk mb, boolean query, boolean allowEncodedSlash) throws IOException
ByteChunk
IOException
public void convert(CharChunk mb) throws IOException
IOException
public static void convert(CharChunk mb, boolean query) throws IOException
IOException
public void convert(MessageBytes mb) throws IOException
IOException
public void convert(MessageBytes mb, boolean query) throws IOException
IOException
public static void convert(MessageBytes mb, boolean query, boolean allowEncodingSlash) throws IOException
IOException
public boolean isAllowEncodedSlash()
public void setAllowEncodedSlash(boolean allowEncodedSlash)
allowEncodedSlash
- Copyright © 2014 Oracle Corporation. All rights reserved.