Class URLDecoder


  • public class URLDecoder
    extends java.lang.Object
    Author:
    Alexey Stashok
    • Constructor Detail

      • URLDecoder

        public URLDecoder()
    • Method Detail

      • decode

        public static void decode​(DataChunk dataChunk)
                           throws java.io.CharConversionException
        Throws:
        java.io.CharConversionException
      • decode

        public static void decode​(DataChunk dataChunk,
                                  boolean allowEncodedSlash)
                           throws java.io.CharConversionException
        URLDecode the DataChunk
        Throws:
        java.io.CharConversionException
      • decode

        public static void decode​(DataChunk srcDataChunk,
                                  DataChunk dstDataChunk,
                                  boolean allowEncodedSlash)
                           throws java.io.CharConversionException
        URLDecode the DataChunk
        Throws:
        java.io.CharConversionException
      • decode

        public static void decode​(DataChunk srcDataChunk,
                                  DataChunk dstDataChunk,
                                  boolean allowEncodedSlash,
                                  java.lang.String enc)
                           throws java.io.CharConversionException
        URLDecode the DataChunk
        Throws:
        java.io.CharConversionException
      • decodeAscii

        public static void decodeAscii​(DataChunk srcDataChunk,
                                       DataChunk dstDataChunk,
                                       boolean allowEncodedSlash)
                                throws java.io.CharConversionException
        URLDecode the DataChunk
        Throws:
        java.io.CharConversionException
      • decode

        public static void decode​(ByteChunk byteChunk,
                                  boolean allowEncodedSlash)
                           throws java.io.CharConversionException
        URLDecode the ByteChunk
        Throws:
        java.io.CharConversionException
      • decode

        public static void decode​(ByteChunk srcByteChunk,
                                  ByteChunk dstByteChunk,
                                  boolean allowEncodedSlash)
                           throws java.io.CharConversionException
        URLDecode the ByteChunk
        Throws:
        java.io.CharConversionException
      • decode

        public static void decode​(BufferChunk srcBufferChunk,
                                  ByteChunk dstByteChunk,
                                  boolean allowEncodedSlash)
                           throws java.io.CharConversionException
        URLDecode the BufferChunk
        Throws:
        java.io.CharConversionException
      • decode

        public static void decode​(ByteChunk srcByteChunk,
                                  BufferChunk dstBufferChunk,
                                  boolean allowEncodedSlash)
                           throws java.io.CharConversionException
        URLDecode the ByteChunk
        Throws:
        java.io.CharConversionException
      • decode

        public static void decode​(BufferChunk bufferChunk,
                                  boolean allowEncodedSlash)
                           throws java.io.CharConversionException
        URLDecode the BufferChunk
        Throws:
        java.io.CharConversionException
      • decode

        public static void decode​(BufferChunk srcBufferChunk,
                                  BufferChunk dstBufferChunk,
                                  boolean allowEncodedSlash)
                           throws java.io.CharConversionException
        URLDecode the BufferChunk
        Throws:
        java.io.CharConversionException
      • decode

        public static void decode​(CharChunk charChunk,
                                  boolean allowEncodedSlash)
                           throws java.io.CharConversionException
        URLDecode the CharChunk
        Throws:
        java.io.CharConversionException
      • decode

        public static void decode​(CharChunk srcCharChunk,
                                  CharChunk dstCharChunk,
                                  boolean allowEncodedSlash)
                           throws java.io.CharConversionException
        URLDecode the CharChunk
        Throws:
        java.io.CharConversionException
      • decode

        public static void decode​(CharChunk srcCharChunk,
                                  CharChunk dstCharChunk,
                                  boolean allowEncodedSlash,
                                  java.lang.String enc)
                           throws java.io.CharConversionException
        URLDecode the CharChunk
        Throws:
        java.io.CharConversionException
      • decodeAscii

        public static void decodeAscii​(CharChunk srcCharChunk,
                                       CharChunk dstCharChunk,
                                       boolean allowEncodedSlash)
                                throws java.io.CharConversionException
        URLDecode the CharChunk
        Throws:
        java.io.CharConversionException
      • decode

        public static java.lang.String decode​(java.lang.String str)
                                       throws java.io.CharConversionException
        URLDecode the String
        Throws:
        java.io.CharConversionException
      • decode

        public static java.lang.String decode​(java.lang.String str,
                                              boolean allowEncodedSlash)
                                       throws java.io.CharConversionException
        URLDecode the String
        Throws:
        java.io.CharConversionException
      • decode

        public static java.lang.String decode​(java.lang.String s,
                                              boolean allowEncodedSlash,
                                              java.lang.String enc)
                                       throws java.io.CharConversionException
        URLDecode the String
        Throws:
        java.io.CharConversionException
      • decodeAscii

        public static java.lang.String decodeAscii​(java.lang.String str,
                                                   boolean allowEncodedSlash)
                                            throws java.io.CharConversionException
        Throws:
        java.io.CharConversionException