// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_net_protocol_http_ChunkedInputStream__
#define __gnu_java_net_protocol_http_ChunkedInputStream__

#pragma interface

#include <java/io/FilterInputStream.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace net
      {
        namespace protocol
        {
          namespace http
          {
            class ChunkedInputStream;
            class Headers;
          }
        }
      }
    }
  }
}

class gnu::java::net::protocol::http::ChunkedInputStream : public ::java::io::FilterInputStream
{
public:
  ChunkedInputStream (::java::io::InputStream *, ::gnu::java::net::protocol::http::Headers *);
  virtual jint read ();
  virtual jint read (jbyteArray);
  virtual jint read (jbyteArray, jint, jint);
private:
  static const jint CR = 13L;
  static const jint LF = 10L;
public: // actually package-private
  jint __attribute__((aligned(__alignof__( ::java::io::FilterInputStream ))))  size;
  jint count;
  jboolean meta;
  jboolean eof;
  ::gnu::java::net::protocol::http::Headers *headers;
public:

  static ::java::lang::Class class$;
};

#endif /* __gnu_java_net_protocol_http_ChunkedInputStream__ */
