Class ChunkDecoder


  • public final class ChunkDecoder
    extends Object
    • Method Detail

      • arrayIndexOf

        public static int arrayIndexOf​(byte[] haystack,
                                       int tail,
                                       int head,
                                       byte[] needle)
      • parseChunkSize

        public static int parseChunkSize​(byte[] buffer,
                                         int tail,
                                         int head)
      • parseStatusLineAndHeaders

        public static Response parseStatusLineAndHeaders​(InputStream inputStream)
      • parseEntireTextResponse

        public static Response parseEntireTextResponse​(InputStream inputStream)