Top Constructors Methods
org.glassfish.grizzly.http.util

public Class URLDecoder

extends Object
Class Inheritance
Imports
java.io.CharConversionException, .UnsupportedEncodingException, org.glassfish.grizzly.Buffer

Author
Alexey Stashok

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static void
decode(final DataChunk dataChunk)

public static void
decode(final DataChunk dataChunk, final boolean allowEncodedSlash)

URLDecode the DataChunk

public static void
decode(final DataChunk srcDataChunk, final DataChunk dstDataChunk, final boolean allowEncodedSlash)

URLDecode the DataChunk

public static void
decode(final DataChunk srcDataChunk, final DataChunk dstDataChunk, final boolean allowEncodedSlash, final String enc)

URLDecode the DataChunk

public static void
decode(final ByteChunk byteChunk, final boolean allowEncodedSlash)

URLDecode the ByteChunk

public static void
decode(final ByteChunk srcByteChunk, final ByteChunk dstByteChunk, final boolean allowEncodedSlash)

URLDecode the ByteChunk

public static void
decode(final BufferChunk srcBufferChunk, final ByteChunk dstByteChunk, final boolean allowEncodedSlash)

URLDecode the BufferChunk

public static void
decode(final ByteChunk srcByteChunk, final BufferChunk dstBufferChunk, final boolean allowEncodedSlash)

URLDecode the ByteChunk

public static void
decode(final BufferChunk bufferChunk, final boolean allowEncodedSlash)

URLDecode the BufferChunk

public static void
decode(final BufferChunk srcBufferChunk, final BufferChunk dstBufferChunk, final boolean allowEncodedSlash)

URLDecode the BufferChunk

public static void
decode(final CharChunk charChunk, final boolean allowEncodedSlash)

URLDecode the CharChunk

public static void
decode(final CharChunk srcCharChunk, final CharChunk dstCharChunk, final boolean allowEncodedSlash)

URLDecode the CharChunk

public static void
decode(final CharChunk srcCharChunk, final CharChunk dstCharChunk, final boolean allowEncodedSlash, String enc)

URLDecode the CharChunk

public static String
decode(final String str)

URLDecode the String

public static String
decode(final String str, final boolean allowEncodedSlash)

URLDecode the String

public static String
decode(String s, final boolean allowEncodedSlash, String enc)

URLDecode the String

public static void
decodeAscii(final DataChunk srcDataChunk, final DataChunk dstDataChunk, final boolean allowEncodedSlash)

URLDecode the DataChunk

public static void
decodeAscii(final CharChunk srcCharChunk, final CharChunk dstCharChunk, final boolean allowEncodedSlash)

URLDecode the CharChunk

public static String
decodeAscii(final String str, final boolean allowEncodedSlash)

private static int
x2c(byte b1, byte b2)

private static int
x2c(int c1, int c2)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

URLDecoderback to summary
public URLDecoder()

Method Detail

decodeback to summary
public static void decode(final DataChunk dataChunk) throws CharConversionException
decodeback to summary
public static void decode(final DataChunk dataChunk, final boolean allowEncodedSlash) throws CharConversionException

URLDecode the DataChunk

decodeback to summary
public static void decode(final DataChunk srcDataChunk, final DataChunk dstDataChunk, final boolean allowEncodedSlash) throws CharConversionException

URLDecode the DataChunk

decodeback to summary
public static void decode(final DataChunk srcDataChunk, final DataChunk dstDataChunk, final boolean allowEncodedSlash, final String enc) throws CharConversionException

URLDecode the DataChunk

decodeback to summary
public static void decode(final ByteChunk byteChunk, final boolean allowEncodedSlash) throws CharConversionException

URLDecode the ByteChunk

decodeback to summary
public static void decode(final ByteChunk srcByteChunk, final ByteChunk dstByteChunk, final boolean allowEncodedSlash) throws CharConversionException

URLDecode the ByteChunk

decodeback to summary
public static void decode(final BufferChunk srcBufferChunk, final ByteChunk dstByteChunk, final boolean allowEncodedSlash) throws CharConversionException

URLDecode the BufferChunk

decodeback to summary
public static void decode(final ByteChunk srcByteChunk, final BufferChunk dstBufferChunk, final boolean allowEncodedSlash) throws CharConversionException

URLDecode the ByteChunk

decodeback to summary
public static void decode(final BufferChunk bufferChunk, final boolean allowEncodedSlash) throws CharConversionException

URLDecode the BufferChunk

decodeback to summary
public static void decode(final BufferChunk srcBufferChunk, final BufferChunk dstBufferChunk, final boolean allowEncodedSlash) throws CharConversionException

URLDecode the BufferChunk

decodeback to summary
public static void decode(final CharChunk charChunk, final boolean allowEncodedSlash) throws CharConversionException

URLDecode the CharChunk

decodeback to summary
public static void decode(final CharChunk srcCharChunk, final CharChunk dstCharChunk, final boolean allowEncodedSlash) throws CharConversionException

URLDecode the CharChunk

decodeback to summary
public static void decode(final CharChunk srcCharChunk, final CharChunk dstCharChunk, final boolean allowEncodedSlash, String enc) throws CharConversionException

URLDecode the CharChunk

decodeback to summary
public static String decode(final String str) throws CharConversionException

URLDecode the String

decodeback to summary
public static String decode(final String str, final boolean allowEncodedSlash) throws CharConversionException

URLDecode the String

decodeback to summary
public static String decode(String s, final boolean allowEncodedSlash, String enc) throws CharConversionException

URLDecode the String

decodeAsciiback to summary
public static void decodeAscii(final DataChunk srcDataChunk, final DataChunk dstDataChunk, final boolean allowEncodedSlash) throws CharConversionException

URLDecode the DataChunk

decodeAsciiback to summary
public static void decodeAscii(final CharChunk srcCharChunk, final CharChunk dstCharChunk, final boolean allowEncodedSlash) throws CharConversionException

URLDecode the CharChunk

decodeAsciiback to summary
public static String decodeAscii(final String str, final boolean allowEncodedSlash) throws CharConversionException
x2cback to summary
private static int x2c(byte b1, byte b2)
x2cback to summary
private static int x2c(int c1, int c2)