Package org.glassfish.grizzly.http.util
Class URLDecoder
- java.lang.Object
-
- org.glassfish.grizzly.http.util.URLDecoder
-
public class URLDecoder extends Object
- Author:
- Alexey Stashok
-
-
Constructor Summary
Constructors Constructor Description URLDecoder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringdecode(String str)URLDecode theStringstatic Stringdecode(String str, boolean allowEncodedSlash)URLDecode theStringstatic Stringdecode(String s, boolean allowEncodedSlash, String enc)URLDecode theStringstatic voiddecode(BufferChunk bufferChunk, boolean allowEncodedSlash)URLDecode theBufferChunkstatic voiddecode(BufferChunk srcBufferChunk, BufferChunk dstBufferChunk, boolean allowEncodedSlash)URLDecode theBufferChunkstatic voiddecode(BufferChunk srcBufferChunk, ByteChunk dstByteChunk, boolean allowEncodedSlash)URLDecode theBufferChunkstatic voiddecode(ByteChunk byteChunk, boolean allowEncodedSlash)URLDecode theByteChunkstatic voiddecode(ByteChunk srcByteChunk, BufferChunk dstBufferChunk, boolean allowEncodedSlash)URLDecode theByteChunkstatic voiddecode(ByteChunk srcByteChunk, ByteChunk dstByteChunk, boolean allowEncodedSlash)URLDecode theByteChunkstatic voiddecode(CharChunk charChunk, boolean allowEncodedSlash)URLDecode theCharChunkstatic voiddecode(CharChunk srcCharChunk, CharChunk dstCharChunk, boolean allowEncodedSlash)URLDecode theCharChunkstatic voiddecode(CharChunk srcCharChunk, CharChunk dstCharChunk, boolean allowEncodedSlash, String enc)URLDecode theCharChunkstatic voiddecode(DataChunk dataChunk)static voiddecode(DataChunk dataChunk, boolean allowEncodedSlash)URLDecode theDataChunkstatic voiddecode(DataChunk srcDataChunk, DataChunk dstDataChunk, boolean allowEncodedSlash)URLDecode theDataChunkstatic voiddecode(DataChunk srcDataChunk, DataChunk dstDataChunk, boolean allowEncodedSlash, String enc)URLDecode theDataChunkstatic StringdecodeAscii(String str, boolean allowEncodedSlash)static voiddecodeAscii(CharChunk srcCharChunk, CharChunk dstCharChunk, boolean allowEncodedSlash)URLDecode theCharChunkstatic voiddecodeAscii(DataChunk srcDataChunk, DataChunk dstDataChunk, boolean allowEncodedSlash)URLDecode theDataChunk
-
-
-
Method Detail
-
decode
public static void decode(DataChunk dataChunk) throws CharConversionException
- Throws:
CharConversionException
-
decode
public static void decode(DataChunk dataChunk, boolean allowEncodedSlash) throws CharConversionException
URLDecode theDataChunk- Throws:
CharConversionException
-
decode
public static void decode(DataChunk srcDataChunk, DataChunk dstDataChunk, boolean allowEncodedSlash) throws CharConversionException
URLDecode theDataChunk- Throws:
CharConversionException
-
decode
public static void decode(DataChunk srcDataChunk, DataChunk dstDataChunk, boolean allowEncodedSlash, String enc) throws CharConversionException
URLDecode theDataChunk- Throws:
CharConversionException
-
decodeAscii
public static void decodeAscii(DataChunk srcDataChunk, DataChunk dstDataChunk, boolean allowEncodedSlash) throws CharConversionException
URLDecode theDataChunk- Throws:
CharConversionException
-
decode
public static void decode(ByteChunk byteChunk, boolean allowEncodedSlash) throws CharConversionException
URLDecode theByteChunk- Throws:
CharConversionException
-
decode
public static void decode(ByteChunk srcByteChunk, ByteChunk dstByteChunk, boolean allowEncodedSlash) throws CharConversionException
URLDecode theByteChunk- Throws:
CharConversionException
-
decode
public static void decode(BufferChunk srcBufferChunk, ByteChunk dstByteChunk, boolean allowEncodedSlash) throws CharConversionException
URLDecode theBufferChunk- Throws:
CharConversionException
-
decode
public static void decode(ByteChunk srcByteChunk, BufferChunk dstBufferChunk, boolean allowEncodedSlash) throws CharConversionException
URLDecode theByteChunk- Throws:
CharConversionException
-
decode
public static void decode(BufferChunk bufferChunk, boolean allowEncodedSlash) throws CharConversionException
URLDecode theBufferChunk- Throws:
CharConversionException
-
decode
public static void decode(BufferChunk srcBufferChunk, BufferChunk dstBufferChunk, boolean allowEncodedSlash) throws CharConversionException
URLDecode theBufferChunk- Throws:
CharConversionException
-
decode
public static void decode(CharChunk charChunk, boolean allowEncodedSlash) throws CharConversionException
URLDecode theCharChunk- Throws:
CharConversionException
-
decode
public static void decode(CharChunk srcCharChunk, CharChunk dstCharChunk, boolean allowEncodedSlash) throws CharConversionException
URLDecode theCharChunk- Throws:
CharConversionException
-
decode
public static void decode(CharChunk srcCharChunk, CharChunk dstCharChunk, boolean allowEncodedSlash, String enc) throws CharConversionException
URLDecode theCharChunk- Throws:
CharConversionException
-
decodeAscii
public static void decodeAscii(CharChunk srcCharChunk, CharChunk dstCharChunk, boolean allowEncodedSlash) throws CharConversionException
URLDecode theCharChunk- Throws:
CharConversionException
-
decode
public static String decode(String str) throws CharConversionException
URLDecode theString- Throws:
CharConversionException
-
decode
public static String decode(String str, boolean allowEncodedSlash) throws CharConversionException
URLDecode theString- Throws:
CharConversionException
-
decode
public static String decode(String s, boolean allowEncodedSlash, String enc) throws CharConversionException
URLDecode theString- Throws:
CharConversionException
-
decodeAscii
public static String decodeAscii(String str, boolean allowEncodedSlash) throws CharConversionException
- Throws:
CharConversionException
-
-