OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / gnu / java / net / protocol / http / ByteArrayRequestBodyWriter.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __gnu_java_net_protocol_http_ByteArrayRequestBodyWriter__
5 #define __gnu_java_net_protocol_http_ByteArrayRequestBodyWriter__
6
7 #pragma interface
8
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
11
12 extern "Java"
13 {
14   namespace gnu
15   {
16     namespace java
17     {
18       namespace net
19       {
20         namespace protocol
21         {
22           namespace http
23           {
24               class ByteArrayRequestBodyWriter;
25           }
26         }
27       }
28     }
29   }
30 }
31
32 class gnu::java::net::protocol::http::ByteArrayRequestBodyWriter : public ::java::lang::Object
33 {
34
35 public:
36   ByteArrayRequestBodyWriter(JArray< jbyte > *);
37   virtual jint getContentLength();
38   virtual void reset();
39   virtual jint write(JArray< jbyte > *);
40 public: // actually protected
41   JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) content;
42   jint pos;
43 public:
44   static ::java::lang::Class class$;
45 };
46
47 #endif // __gnu_java_net_protocol_http_ByteArrayRequestBodyWriter__