1 
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3 
4 #ifndef __gnu_java_net_protocol_http_Response__
5 #define __gnu_java_net_protocol_http_Response__
6 
7 #pragma interface
8 
9 #include <java/lang/Object.h>
10 extern "Java"
11 {
12   namespace gnu
13   {
14     namespace java
15     {
16       namespace net
17       {
18         namespace protocol
19         {
20           namespace http
21           {
22               class Headers;
23               class Response;
24           }
25         }
26       }
27     }
28   }
29 }
30 
31 class gnu::java::net::protocol::http::Response : public ::java::lang::Object
32 {
33 
34 public: // actually protected
35   Response(jint, jint, jint, ::java::lang::String *, ::gnu::java::net::protocol::http::Headers *, ::java::io::InputStream *);
36 public:
37   virtual jint getMajorVersion();
38   virtual jint getMinorVersion();
39   virtual jint getCode();
40   virtual jint getCodeClass();
41   virtual ::java::lang::String * getMessage();
42   virtual ::gnu::java::net::protocol::http::Headers * getHeaders();
43   virtual ::java::lang::String * getHeader(::java::lang::String *);
44   virtual jint getIntHeader(::java::lang::String *);
45   virtual jlong getLongHeader(::java::lang::String *);
46   virtual ::java::util::Date * getDateHeader(::java::lang::String *);
47   virtual jboolean isRedirect();
48   virtual jboolean isError();
49   virtual ::java::io::InputStream * getBody();
50 public: // actually protected
51   jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) majorVersion;
52   jint minorVersion;
53   jint code;
54   ::java::lang::String * message;
55   ::gnu::java::net::protocol::http::Headers * headers;
56   ::java::io::InputStream * body;
57 public:
58   static ::java::lang::Class class$;
59 };
60 
61 #endif // __gnu_java_net_protocol_http_Response__
62