summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/net/protocol/ftp/FTPURLConnection.h
blob: a4139287e7e6ffd65857e4f06f2d3faf1f0772f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_net_protocol_ftp_FTPURLConnection__
#define __gnu_java_net_protocol_ftp_FTPURLConnection__

#pragma interface

#include <java/net/URLConnection.h>
extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace net
      {
        namespace protocol
        {
          namespace ftp
          {
              class FTPConnection;
              class FTPURLConnection;
          }
        }
      }
    }
  }
  namespace java
  {
    namespace net
    {
        class URL;
    }
  }
}

class gnu::java::net::protocol::ftp::FTPURLConnection : public ::java::net::URLConnection
{

public:
  FTPURLConnection(::java::net::URL *);
  virtual void connect();
  virtual void setDoInput(jboolean);
  virtual void setDoOutput(jboolean);
  virtual ::java::io::InputStream * getInputStream();
  virtual ::java::io::OutputStream * getOutputStream();
  virtual ::java::lang::String * getRequestProperty(::java::lang::String *);
  virtual ::java::util::Map * getRequestProperties();
private:
  void addRequestPropertyValue(::java::util::Map *, ::java::lang::String *);
public:
  virtual void setRequestProperty(::java::lang::String *, ::java::lang::String *);
  virtual void addRequestProperty(::java::lang::String *, ::java::lang::String *);
public: // actually protected
  ::gnu::java::net::protocol::ftp::FTPConnection * __attribute__((aligned(__alignof__( ::java::net::URLConnection)))) connection;
  jboolean passive;
  jint representationType;
  jint fileStructure;
  jint transferMode;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_net_protocol_ftp_FTPURLConnection__