JavaScript is disabled on your browser.
gnu.inet.http

Class ChunkedInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable


    public class ChunkedInputStream
    extends java.io.FilterInputStream
    Input stream wrapper for the "chunked" transfer-coding.
    • Field Summary

      • Fields inherited from class java.io.FilterInputStream

        in
    • Constructor Summary

      Constructors
      Constructor and Description
      ChunkedInputStream (java.io.InputStream in, Headers headers)
      Constructor.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      int read ()
      int read (byte[] buffer)
      int read (byte[] buffer, int offset, int length)
      • Methods inherited from class java.io.FilterInputStream

        available, close, mark, markSupported, reset, skip
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChunkedInputStream

        public ChunkedInputStream(java.io.InputStream in,
         Headers headers)
        Constructor.
        Parameters:
        in - the response socket input stream
        headers - the headers to receive additional header lines
    • Method Detail

      • read

        public int read()
         throws java.io.IOException
        Overrides:
        read in class java.io.FilterInputStream
        Throws:
        java.io.IOException
      • read

        public int read(byte[] buffer)
         throws java.io.IOException
        Overrides:
        read in class java.io.FilterInputStream
        Throws:
        java.io.IOException
      • read

        public int read(byte[] buffer,
         int offset,
         int length)
         throws java.io.IOException
        Overrides:
        read in class java.io.FilterInputStream
        Throws:
        java.io.IOException

AltStyle によって変換されたページ (->オリジナル) /