summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/net/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/java/net/protocol')
-rw-r--r--libjava/gnu/java/net/protocol/core/Connection.h64
-rw-r--r--libjava/gnu/java/net/protocol/core/CoreInputStream.h60
-rw-r--r--libjava/gnu/java/net/protocol/core/Handler.h49
-rw-r--r--libjava/gnu/java/net/protocol/file/Connection$StaticData.h48
-rw-r--r--libjava/gnu/java/net/protocol/file/Connection.h70
-rw-r--r--libjava/gnu/java/net/protocol/file/Handler.h49
-rw-r--r--libjava/gnu/java/net/protocol/ftp/ActiveModeDTP.h70
-rw-r--r--libjava/gnu/java/net/protocol/ftp/BlockInputStream.h52
-rw-r--r--libjava/gnu/java/net/protocol/ftp/BlockOutputStream.h50
-rw-r--r--libjava/gnu/java/net/protocol/ftp/CompressedInputStream.h59
-rw-r--r--libjava/gnu/java/net/protocol/ftp/CompressedOutputStream.h56
-rw-r--r--libjava/gnu/java/net/protocol/ftp/DTP.h43
-rw-r--r--libjava/gnu/java/net/protocol/ftp/DTPInputStream.h46
-rw-r--r--libjava/gnu/java/net/protocol/ftp/DTPOutputStream.h46
-rw-r--r--libjava/gnu/java/net/protocol/ftp/FTPConnection.h165
-rw-r--r--libjava/gnu/java/net/protocol/ftp/FTPException.h43
-rw-r--r--libjava/gnu/java/net/protocol/ftp/FTPResponse.h47
-rw-r--r--libjava/gnu/java/net/protocol/ftp/FTPURLConnection$ClosingInputStream.h44
-rw-r--r--libjava/gnu/java/net/protocol/ftp/FTPURLConnection$ClosingOutputStream.h44
-rw-r--r--libjava/gnu/java/net/protocol/ftp/FTPURLConnection.h65
-rw-r--r--libjava/gnu/java/net/protocol/ftp/Handler.h50
-rw-r--r--libjava/gnu/java/net/protocol/ftp/PassiveModeDTP.h65
-rw-r--r--libjava/gnu/java/net/protocol/ftp/StreamInputStream.h45
-rw-r--r--libjava/gnu/java/net/protocol/ftp/StreamOutputStream.h45
-rw-r--r--libjava/gnu/java/net/protocol/gcjlib/Connection.h57
-rw-r--r--libjava/gnu/java/net/protocol/gcjlib/Handler.h49
-rw-r--r--libjava/gnu/java/net/protocol/http/Authenticator.h39
-rw-r--r--libjava/gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.h47
-rw-r--r--libjava/gnu/java/net/protocol/http/ChunkedInputStream.h58
-rw-r--r--libjava/gnu/java/net/protocol/http/Cookie.h56
-rw-r--r--libjava/gnu/java/net/protocol/http/CookieManager.h42
-rw-r--r--libjava/gnu/java/net/protocol/http/Credentials.h44
-rw-r--r--libjava/gnu/java/net/protocol/http/HTTPConnection$Pool$Reaper.h44
-rw-r--r--libjava/gnu/java/net/protocol/http/HTTPConnection$Pool.h50
-rw-r--r--libjava/gnu/java/net/protocol/http/HTTPConnection.h128
-rw-r--r--libjava/gnu/java/net/protocol/http/HTTPDateFormat.h62
-rw-r--r--libjava/gnu/java/net/protocol/http/HTTPURLConnection$1.h47
-rw-r--r--libjava/gnu/java/net/protocol/http/HTTPURLConnection.h115
-rw-r--r--libjava/gnu/java/net/protocol/http/Handler.h50
-rw-r--r--libjava/gnu/java/net/protocol/http/Headers$HeaderElement.h41
-rw-r--r--libjava/gnu/java/net/protocol/http/Headers.h64
-rw-r--r--libjava/gnu/java/net/protocol/http/LimitedLengthInputStream.h57
-rw-r--r--libjava/gnu/java/net/protocol/http/Request.h87
-rw-r--r--libjava/gnu/java/net/protocol/http/RequestBodyWriter.h42
-rw-r--r--libjava/gnu/java/net/protocol/http/Response.h61
-rw-r--r--libjava/gnu/java/net/protocol/http/ResponseHeaderHandler.h38
-rw-r--r--libjava/gnu/java/net/protocol/http/SimpleCookieManager.h48
-rw-r--r--libjava/gnu/java/net/protocol/https/Handler.h50
-rw-r--r--libjava/gnu/java/net/protocol/jar/Connection$JarFileCache.h50
-rw-r--r--libjava/gnu/java/net/protocol/jar/Connection.h62
-rw-r--r--libjava/gnu/java/net/protocol/jar/Handler.h54
51 files changed, 2917 insertions, 0 deletions
diff --git a/libjava/gnu/java/net/protocol/core/Connection.h b/libjava/gnu/java/net/protocol/core/Connection.h
new file mode 100644
index 00000000000..d09908b4c7d
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/core/Connection.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_core_Connection__
+#define __gnu_java_net_protocol_core_Connection__
+
+#pragma interface
+
+#include <java/net/URLConnection.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ class Core;
+ }
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace core
+ {
+ class Connection;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class gnu::java::net::protocol::core::Connection : public ::java::net::URLConnection
+{
+
+public:
+ Connection(::java::net::URL *);
+ virtual void connect();
+ virtual ::java::io::InputStream * getInputStream();
+ virtual ::java::lang::String * getHeaderField(::java::lang::String *);
+ virtual ::java::util::Map * getHeaderFields();
+ virtual ::java::lang::String * getHeaderField(jint);
+ virtual ::java::lang::String * getHeaderFieldKey(jint);
+private:
+ ::java::lang::String * getKey(::java::lang::String *);
+ ::java::lang::String * getField(::java::lang::String *);
+ void getHeaders();
+ ::java::util::Hashtable * __attribute__((aligned(__alignof__( ::java::net::URLConnection)))) hdrHash;
+ ::java::util::Vector * hdrVec;
+ jboolean gotHeaders;
+ ::gnu::gcj::Core * core;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_core_Connection__
diff --git a/libjava/gnu/java/net/protocol/core/CoreInputStream.h b/libjava/gnu/java/net/protocol/core/CoreInputStream.h
new file mode 100644
index 00000000000..d6beb396584
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/core/CoreInputStream.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_core_CoreInputStream__
+#define __gnu_java_net_protocol_core_CoreInputStream__
+
+#pragma interface
+
+#include <java/io/InputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ class Core;
+ class RawData;
+ }
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace core
+ {
+ class CoreInputStream;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::core::CoreInputStream : public ::java::io::InputStream
+{
+
+ jint unsafeGetByte(jlong);
+ jint copyIntoByteArray(JArray< jbyte > *, jint, jint);
+public:
+ CoreInputStream(::gnu::gcj::Core *);
+ virtual jint available();
+ virtual void mark(jint);
+ virtual jboolean markSupported();
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual void reset();
+ virtual jlong skip(jlong);
+public: // actually protected
+ ::gnu::gcj::RawData * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) ptr;
+ jint pos;
+ jint mark__;
+ jint count;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_core_CoreInputStream__
diff --git a/libjava/gnu/java/net/protocol/core/Handler.h b/libjava/gnu/java/net/protocol/core/Handler.h
new file mode 100644
index 00000000000..364e21abb03
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/core/Handler.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_core_Handler__
+#define __gnu_java_net_protocol_core_Handler__
+
+#pragma interface
+
+#include <java/net/URLStreamHandler.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace core
+ {
+ class Handler;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLConnection;
+ }
+ }
+}
+
+class gnu::java::net::protocol::core::Handler : public ::java::net::URLStreamHandler
+{
+
+public:
+ Handler();
+public: // actually protected
+ virtual ::java::net::URLConnection * openConnection(::java::net::URL *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_core_Handler__
diff --git a/libjava/gnu/java/net/protocol/file/Connection$StaticData.h b/libjava/gnu/java/net/protocol/file/Connection$StaticData.h
new file mode 100644
index 00000000000..46ed9ac9588
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/file/Connection$StaticData.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_file_Connection$StaticData__
+#define __gnu_java_net_protocol_file_Connection$StaticData__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace file
+ {
+ class Connection$StaticData;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace text
+ {
+ class SimpleDateFormat;
+ }
+ }
+}
+
+class gnu::java::net::protocol::file::Connection$StaticData : public ::java::lang::Object
+{
+
+ Connection$StaticData();
+public: // actually package-private
+ static ::java::text::SimpleDateFormat * dateFormat;
+ static ::java::lang::String * lineSeparator;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_file_Connection$StaticData__
diff --git a/libjava/gnu/java/net/protocol/file/Connection.h b/libjava/gnu/java/net/protocol/file/Connection.h
new file mode 100644
index 00000000000..160f80834ea
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/file/Connection.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_file_Connection__
+#define __gnu_java_net_protocol_file_Connection__
+
+#pragma interface
+
+#include <java/net/URLConnection.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace file
+ {
+ class Connection;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ namespace security
+ {
+ class Permission;
+ }
+ }
+}
+
+class gnu::java::net::protocol::file::Connection : public ::java::net::URLConnection
+{
+
+public:
+ Connection(::java::net::URL *);
+ static ::java::lang::String * unquote(::java::lang::String *);
+ virtual void connect();
+public: // actually package-private
+ virtual JArray< jbyte > * getDirectoryListing();
+public:
+ virtual ::java::io::InputStream * getInputStream();
+ virtual ::java::io::OutputStream * getOutputStream();
+ virtual jlong getLastModified();
+ virtual ::java::lang::String * getHeaderField(::java::lang::String *);
+ virtual jint getContentLength();
+ virtual ::java::security::Permission * getPermission();
+private:
+ static ::java::lang::String * DEFAULT_PERMISSION;
+ ::java::io::File * __attribute__((aligned(__alignof__( ::java::net::URLConnection)))) file;
+ JArray< jbyte > * directoryListing;
+ ::java::io::InputStream * inputStream;
+ ::java::io::OutputStream * outputStream;
+ ::java::io::FilePermission * permission;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_file_Connection__
diff --git a/libjava/gnu/java/net/protocol/file/Handler.h b/libjava/gnu/java/net/protocol/file/Handler.h
new file mode 100644
index 00000000000..f3edf9a99f5
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/file/Handler.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_file_Handler__
+#define __gnu_java_net_protocol_file_Handler__
+
+#pragma interface
+
+#include <java/net/URLStreamHandler.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace file
+ {
+ class Handler;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLConnection;
+ }
+ }
+}
+
+class gnu::java::net::protocol::file::Handler : public ::java::net::URLStreamHandler
+{
+
+public:
+ Handler();
+public: // actually protected
+ virtual ::java::net::URLConnection * openConnection(::java::net::URL *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_file_Handler__
diff --git a/libjava/gnu/java/net/protocol/ftp/ActiveModeDTP.h b/libjava/gnu/java/net/protocol/ftp/ActiveModeDTP.h
new file mode 100644
index 00000000000..4ea352a7322
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/ftp/ActiveModeDTP.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_ftp_ActiveModeDTP__
+#define __gnu_java_net_protocol_ftp_ActiveModeDTP__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace ftp
+ {
+ class ActiveModeDTP;
+ class DTPInputStream;
+ class DTPOutputStream;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class ServerSocket;
+ class Socket;
+ }
+ }
+}
+
+class gnu::java::net::protocol::ftp::ActiveModeDTP : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ActiveModeDTP(::java::net::InetAddress *, jint, jint, jint);
+public:
+ void run();
+ void waitFor();
+ ::java::io::InputStream * getInputStream();
+ ::java::io::OutputStream * getOutputStream();
+ void setTransferMode(jint);
+ void complete();
+ jboolean abort();
+ void transferComplete();
+public: // actually package-private
+ ::java::net::ServerSocket * __attribute__((aligned(__alignof__( ::java::lang::Object)))) server;
+ ::java::net::Socket * socket;
+ ::gnu::java::net::protocol::ftp::DTPInputStream * in;
+ ::gnu::java::net::protocol::ftp::DTPOutputStream * out;
+ jboolean completed;
+ jboolean inProgress;
+ jint transferMode;
+ ::java::io::IOException * exception;
+ ::java::lang::Thread * acceptThread;
+ jint connectionTimeout;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_ftp_ActiveModeDTP__
diff --git a/libjava/gnu/java/net/protocol/ftp/BlockInputStream.h b/libjava/gnu/java/net/protocol/ftp/BlockInputStream.h
new file mode 100644
index 00000000000..a6c0e18bf16
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/ftp/BlockInputStream.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_ftp_BlockInputStream__
+#define __gnu_java_net_protocol_ftp_BlockInputStream__
+
+#pragma interface
+
+#include <gnu/java/net/protocol/ftp/DTPInputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace ftp
+ {
+ class BlockInputStream;
+ class DTP;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::ftp::BlockInputStream : public ::gnu::java::net::protocol::ftp::DTPInputStream
+{
+
+public: // actually package-private
+ BlockInputStream(::gnu::java::net::protocol::ftp::DTP *, ::java::io::InputStream *);
+public:
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *);
+ virtual jint read(JArray< jbyte > *, jint, jint);
+public: // actually package-private
+ virtual void readHeader();
+ static const jint EOF = 64;
+ jint __attribute__((aligned(__alignof__( ::gnu::java::net::protocol::ftp::DTPInputStream)))) descriptor;
+ jint max;
+ jint count;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_ftp_BlockInputStream__
diff --git a/libjava/gnu/java/net/protocol/ftp/BlockOutputStream.h b/libjava/gnu/java/net/protocol/ftp/BlockOutputStream.h
new file mode 100644
index 00000000000..dd712fd2afc
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/ftp/BlockOutputStream.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_ftp_BlockOutputStream__
+#define __gnu_java_net_protocol_ftp_BlockOutputStream__
+
+#pragma interface
+
+#include <gnu/java/net/protocol/ftp/DTPOutputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace ftp
+ {
+ class BlockOutputStream;
+ class DTP;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::ftp::BlockOutputStream : public ::gnu::java::net::protocol::ftp::DTPOutputStream
+{
+
+public: // actually package-private
+ BlockOutputStream(::gnu::java::net::protocol::ftp::DTP *, ::java::io::OutputStream *);
+public:
+ virtual void write(jint);
+ virtual void write(JArray< jbyte > *);
+ virtual void write(JArray< jbyte > *, jint, jint);
+ virtual void close();
+public: // actually package-private
+ static const jbyte RECORD = -128;
+ static const jbyte EOF = 64;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_ftp_BlockOutputStream__
diff --git a/libjava/gnu/java/net/protocol/ftp/CompressedInputStream.h b/libjava/gnu/java/net/protocol/ftp/CompressedInputStream.h
new file mode 100644
index 00000000000..75de07ded16
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/ftp/CompressedInputStream.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_ftp_CompressedInputStream__
+#define __gnu_java_net_protocol_ftp_CompressedInputStream__
+
+#pragma interface
+
+#include <gnu/java/net/protocol/ftp/DTPInputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace ftp
+ {
+ class CompressedInputStream;
+ class DTP;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::ftp::CompressedInputStream : public ::gnu::java::net::protocol::ftp::DTPInputStream
+{
+
+public: // actually package-private
+ CompressedInputStream(::gnu::java::net::protocol::ftp::DTP *, ::java::io::InputStream *);
+public:
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *);
+ virtual jint read(JArray< jbyte > *, jint, jint);
+public: // actually package-private
+ virtual void readHeader();
+ virtual void readCodeHeader();
+ static const jint EOF = 64;
+ static const jint RAW = 0;
+ static const jint COMPRESSED = 128;
+ static const jint FILLER = 192;
+ jint __attribute__((aligned(__alignof__( ::gnu::java::net::protocol::ftp::DTPInputStream)))) descriptor;
+ jint max;
+ jint count;
+ jint state;
+ jint rep;
+ jint n;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_ftp_CompressedInputStream__
diff --git a/libjava/gnu/java/net/protocol/ftp/CompressedOutputStream.h b/libjava/gnu/java/net/protocol/ftp/CompressedOutputStream.h
new file mode 100644
index 00000000000..243ac7c7a59
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/ftp/CompressedOutputStream.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_ftp_CompressedOutputStream__
+#define __gnu_java_net_protocol_ftp_CompressedOutputStream__
+
+#pragma interface
+
+#include <gnu/java/net/protocol/ftp/DTPOutputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace ftp
+ {
+ class CompressedOutputStream;
+ class DTP;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::ftp::CompressedOutputStream : public ::gnu::java::net::protocol::ftp::DTPOutputStream
+{
+
+public: // actually package-private
+ CompressedOutputStream(::gnu::java::net::protocol::ftp::DTP *, ::java::io::OutputStream *);
+public:
+ virtual void write(jint);
+ virtual void write(JArray< jbyte > *);
+ virtual void write(JArray< jbyte > *, jint, jint);
+public: // actually package-private
+ virtual JArray< jbyte > * compress(JArray< jbyte > *, jint, jint);
+ virtual jint flush_compressed(JArray< jbyte > *, jint, jint, jbyte);
+ virtual jint flush_raw(JArray< jbyte > *, jint, JArray< jbyte > *, jint, jint);
+ virtual JArray< jbyte > * realloc(JArray< jbyte > *, jint);
+public:
+ virtual void close();
+public: // actually package-private
+ static const jbyte RECORD = -128;
+ static const jbyte EOF = 64;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_ftp_CompressedOutputStream__
diff --git a/libjava/gnu/java/net/protocol/ftp/DTP.h b/libjava/gnu/java/net/protocol/ftp/DTP.h
new file mode 100644
index 00000000000..132e9020afd
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/ftp/DTP.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_ftp_DTP__
+#define __gnu_java_net_protocol_ftp_DTP__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace ftp
+ {
+ class DTP;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::ftp::DTP : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::io::InputStream * getInputStream() = 0;
+ virtual ::java::io::OutputStream * getOutputStream() = 0;
+ virtual void setTransferMode(jint) = 0;
+ virtual void complete() = 0;
+ virtual jboolean abort() = 0;
+ virtual void transferComplete() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_java_net_protocol_ftp_DTP__
diff --git a/libjava/gnu/java/net/protocol/ftp/DTPInputStream.h b/libjava/gnu/java/net/protocol/ftp/DTPInputStream.h
new file mode 100644
index 00000000000..257479948dd
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/ftp/DTPInputStream.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_ftp_DTPInputStream__
+#define __gnu_java_net_protocol_ftp_DTPInputStream__
+
+#pragma interface
+
+#include <java/io/FilterInputStream.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace ftp
+ {
+ class DTP;
+ class DTPInputStream;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::ftp::DTPInputStream : public ::java::io::FilterInputStream
+{
+
+public: // actually package-private
+ DTPInputStream(::gnu::java::net::protocol::ftp::DTP *, ::java::io::InputStream *);
+ virtual void setTransferComplete(jboolean);
+public:
+ virtual void close();
+public: // actually package-private
+ ::gnu::java::net::protocol::ftp::DTP * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) dtp;
+ jboolean transferComplete;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_ftp_DTPInputStream__
diff --git a/libjava/gnu/java/net/protocol/ftp/DTPOutputStream.h b/libjava/gnu/java/net/protocol/ftp/DTPOutputStream.h
new file mode 100644
index 00000000000..1e59c7afbd9
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/ftp/DTPOutputStream.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_ftp_DTPOutputStream__
+#define __gnu_java_net_protocol_ftp_DTPOutputStream__
+
+#pragma interface
+
+#include <java/io/FilterOutputStream.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace ftp
+ {
+ class DTP;
+ class DTPOutputStream;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::ftp::DTPOutputStream : public ::java::io::FilterOutputStream
+{
+
+public: // actually package-private
+ DTPOutputStream(::gnu::java::net::protocol::ftp::DTP *, ::java::io::OutputStream *);
+ virtual void setTransferComplete(jboolean);
+public:
+ virtual void close();
+public: // actually package-private
+ ::gnu::java::net::protocol::ftp::DTP * __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) dtp;
+ jboolean transferComplete;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_ftp_DTPOutputStream__
diff --git a/libjava/gnu/java/net/protocol/ftp/FTPConnection.h b/libjava/gnu/java/net/protocol/ftp/FTPConnection.h
new file mode 100644
index 00000000000..d0b1183f910
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/ftp/FTPConnection.h
@@ -0,0 +1,165 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_ftp_FTPConnection__
+#define __gnu_java_net_protocol_ftp_FTPConnection__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ class CRLFOutputStream;
+ class LineInputStream;
+ namespace protocol
+ {
+ namespace ftp
+ {
+ class DTP;
+ class FTPConnection;
+ class FTPResponse;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class Socket;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class TrustManager;
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::ftp::FTPConnection : public ::java::lang::Object
+{
+
+public:
+ FTPConnection(::java::lang::String *);
+ FTPConnection(::java::lang::String *, jint);
+ FTPConnection(::java::lang::String *, jint, jint, jint, jboolean);
+ virtual jboolean authenticate(::java::lang::String *, ::java::lang::String *);
+ virtual jboolean starttls(jboolean);
+ virtual jboolean starttls(jboolean, ::javax::net::ssl::TrustManager *);
+ virtual jboolean changeWorkingDirectory(::java::lang::String *);
+ virtual jboolean changeToParentDirectory();
+ virtual void reinitialize();
+ virtual void logout();
+public: // actually protected
+ virtual void initialiseDTP();
+public:
+ virtual void setPassive(jboolean);
+ virtual jint getRepresentationType();
+ virtual void setRepresentationType(jint);
+ virtual jint getFileStructure();
+ virtual void setFileStructure(jint);
+ virtual jint getTransferMode();
+ virtual void setTransferMode(jint);
+ virtual ::java::io::InputStream * retrieve(::java::lang::String *);
+ virtual ::java::io::OutputStream * store(::java::lang::String *);
+ virtual ::java::io::OutputStream * append(::java::lang::String *);
+ virtual void allocate(jlong);
+ virtual jboolean rename(::java::lang::String *, ::java::lang::String *);
+ virtual jboolean abort();
+ virtual jboolean delete$(::java::lang::String *);
+ virtual jboolean removeDirectory(::java::lang::String *);
+ virtual jboolean makeDirectory(::java::lang::String *);
+ virtual ::java::lang::String * getWorkingDirectory();
+ virtual ::java::io::InputStream * list(::java::lang::String *);
+ virtual ::java::util::List * nameList(::java::lang::String *);
+ virtual ::java::lang::String * system();
+ virtual void noop();
+public: // actually protected
+ virtual void send(::java::lang::String *);
+ virtual ::gnu::java::net::protocol::ftp::FTPResponse * getResponse();
+ virtual ::gnu::java::net::protocol::ftp::FTPResponse * readResponse();
+public: // actually package-private
+ static jint parseCode(::java::lang::String *);
+public:
+ static const jint FTP_PORT = 21;
+ static const jint FTP_DATA_PORT = 20;
+public: // actually protected
+ static ::java::lang::String * USER;
+ static ::java::lang::String * PASS;
+ static ::java::lang::String * ACCT;
+ static ::java::lang::String * CWD;
+ static ::java::lang::String * CDUP;
+ static ::java::lang::String * SMNT;
+ static ::java::lang::String * REIN;
+ static ::java::lang::String * QUIT;
+ static ::java::lang::String * PORT;
+ static ::java::lang::String * PASV;
+ static ::java::lang::String * TYPE;
+ static ::java::lang::String * STRU;
+ static ::java::lang::String * MODE;
+ static ::java::lang::String * RETR;
+ static ::java::lang::String * STOR;
+ static ::java::lang::String * STOU;
+ static ::java::lang::String * APPE;
+ static ::java::lang::String * ALLO;
+ static ::java::lang::String * REST;
+ static ::java::lang::String * RNFR;
+ static ::java::lang::String * RNTO;
+ static ::java::lang::String * ABOR;
+ static ::java::lang::String * DELE;
+ static ::java::lang::String * RMD;
+ static ::java::lang::String * MKD;
+ static ::java::lang::String * PWD;
+ static ::java::lang::String * LIST;
+ static ::java::lang::String * NLST;
+ static ::java::lang::String * SITE;
+ static ::java::lang::String * SYST;
+ static ::java::lang::String * STAT;
+ static ::java::lang::String * HELP;
+ static ::java::lang::String * NOOP;
+ static ::java::lang::String * AUTH;
+ static ::java::lang::String * PBSZ;
+ static ::java::lang::String * PROT;
+ static ::java::lang::String * CCC;
+ static ::java::lang::String * TLS;
+public:
+ static const jint TYPE_ASCII = 1;
+ static const jint TYPE_EBCDIC = 2;
+ static const jint TYPE_BINARY = 3;
+ static const jint STRUCTURE_FILE = 1;
+ static const jint STRUCTURE_RECORD = 2;
+ static const jint STRUCTURE_PAGE = 3;
+ static const jint MODE_STREAM = 1;
+ static const jint MODE_BLOCK = 2;
+ static const jint MODE_COMPRESSED = 3;
+private:
+ static ::java::lang::String * US_ASCII;
+public: // actually protected
+ ::java::net::Socket * __attribute__((aligned(__alignof__( ::java::lang::Object)))) socket;
+ ::gnu::java::net::LineInputStream * in;
+ ::gnu::java::net::CRLFOutputStream * out;
+ jint connectionTimeout;
+ jint timeout;
+ jboolean debug;
+ ::gnu::java::net::protocol::ftp::DTP * dtp;
+ jint representationType;
+ jint fileStructure;
+ jint transferMode;
+ jboolean passive;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_ftp_FTPConnection__
diff --git a/libjava/gnu/java/net/protocol/ftp/FTPException.h b/libjava/gnu/java/net/protocol/ftp/FTPException.h
new file mode 100644
index 00000000000..b22c2f24ac3
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/ftp/FTPException.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_ftp_FTPException__
+#define __gnu_java_net_protocol_ftp_FTPException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace ftp
+ {
+ class FTPException;
+ class FTPResponse;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::ftp::FTPException : public ::java::io::IOException
+{
+
+public:
+ FTPException(::gnu::java::net::protocol::ftp::FTPResponse *);
+ virtual ::gnu::java::net::protocol::ftp::FTPResponse * getResponse();
+public: // actually protected
+ ::gnu::java::net::protocol::ftp::FTPResponse * __attribute__((aligned(__alignof__( ::java::io::IOException)))) response;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_ftp_FTPException__
diff --git a/libjava/gnu/java/net/protocol/ftp/FTPResponse.h b/libjava/gnu/java/net/protocol/ftp/FTPResponse.h
new file mode 100644
index 00000000000..b7faeb99744
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/ftp/FTPResponse.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_ftp_FTPResponse__
+#define __gnu_java_net_protocol_ftp_FTPResponse__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace ftp
+ {
+ class FTPResponse;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::ftp::FTPResponse : public ::java::lang::Object
+{
+
+public:
+ FTPResponse(jint, ::java::lang::String *);
+ FTPResponse(jint, ::java::lang::String *, ::java::lang::String *);
+ jint getCode();
+ ::java::lang::String * getMessage();
+ ::java::lang::String * getData();
+public: // actually protected
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) code;
+ ::java::lang::String * message;
+ ::java::lang::String * data;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_ftp_FTPResponse__
diff --git a/libjava/gnu/java/net/protocol/ftp/FTPURLConnection$ClosingInputStream.h b/libjava/gnu/java/net/protocol/ftp/FTPURLConnection$ClosingInputStream.h
new file mode 100644
index 00000000000..ab8c4e0c8da
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/ftp/FTPURLConnection$ClosingInputStream.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_ftp_FTPURLConnection$ClosingInputStream__
+#define __gnu_java_net_protocol_ftp_FTPURLConnection$ClosingInputStream__
+
+#pragma interface
+
+#include <java/io/FilterInputStream.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace ftp
+ {
+ class FTPURLConnection;
+ class FTPURLConnection$ClosingInputStream;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::ftp::FTPURLConnection$ClosingInputStream : public ::java::io::FilterInputStream
+{
+
+public: // actually package-private
+ FTPURLConnection$ClosingInputStream(::gnu::java::net::protocol::ftp::FTPURLConnection *, ::java::io::InputStream *);
+public:
+ virtual void close();
+public: // actually package-private
+ ::gnu::java::net::protocol::ftp::FTPURLConnection * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_ftp_FTPURLConnection$ClosingInputStream__
diff --git a/libjava/gnu/java/net/protocol/ftp/FTPURLConnection$ClosingOutputStream.h b/libjava/gnu/java/net/protocol/ftp/FTPURLConnection$ClosingOutputStream.h
new file mode 100644
index 00000000000..7cdb24cf0a2
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/ftp/FTPURLConnection$ClosingOutputStream.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_ftp_FTPURLConnection$ClosingOutputStream__
+#define __gnu_java_net_protocol_ftp_FTPURLConnection$ClosingOutputStream__
+
+#pragma interface
+
+#include <java/io/FilterOutputStream.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace ftp
+ {
+ class FTPURLConnection;
+ class FTPURLConnection$ClosingOutputStream;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::ftp::FTPURLConnection$ClosingOutputStream : public ::java::io::FilterOutputStream
+{
+
+public: // actually package-private
+ FTPURLConnection$ClosingOutputStream(::gnu::java::net::protocol::ftp::FTPURLConnection *, ::java::io::OutputStream *);
+public:
+ virtual void close();
+public: // actually package-private
+ ::gnu::java::net::protocol::ftp::FTPURLConnection * __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_ftp_FTPURLConnection$ClosingOutputStream__
diff --git a/libjava/gnu/java/net/protocol/ftp/FTPURLConnection.h b/libjava/gnu/java/net/protocol/ftp/FTPURLConnection.h
new file mode 100644
index 00000000000..a4139287e7e
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/ftp/FTPURLConnection.h
@@ -0,0 +1,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__
diff --git a/libjava/gnu/java/net/protocol/ftp/Handler.h b/libjava/gnu/java/net/protocol/ftp/Handler.h
new file mode 100644
index 00000000000..05839d6ab20
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/ftp/Handler.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_ftp_Handler__
+#define __gnu_java_net_protocol_ftp_Handler__
+
+#pragma interface
+
+#include <java/net/URLStreamHandler.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace ftp
+ {
+ class Handler;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLConnection;
+ }
+ }
+}
+
+class gnu::java::net::protocol::ftp::Handler : public ::java::net::URLStreamHandler
+{
+
+public:
+ Handler();
+public: // actually protected
+ virtual jint getDefaultPort();
+public:
+ virtual ::java::net::URLConnection * openConnection(::java::net::URL *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_ftp_Handler__
diff --git a/libjava/gnu/java/net/protocol/ftp/PassiveModeDTP.h b/libjava/gnu/java/net/protocol/ftp/PassiveModeDTP.h
new file mode 100644
index 00000000000..01a4a8a7882
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/ftp/PassiveModeDTP.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_ftp_PassiveModeDTP__
+#define __gnu_java_net_protocol_ftp_PassiveModeDTP__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace ftp
+ {
+ class DTPInputStream;
+ class DTPOutputStream;
+ class PassiveModeDTP;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class Socket;
+ }
+ }
+}
+
+class gnu::java::net::protocol::ftp::PassiveModeDTP : public ::java::lang::Object
+{
+
+public: // actually package-private
+ PassiveModeDTP(::java::lang::String *, jint, ::java::net::InetAddress *, jint, jint);
+public:
+ ::java::io::InputStream * getInputStream();
+ ::java::io::OutputStream * getOutputStream();
+ void setTransferMode(jint);
+ void complete();
+ jboolean abort();
+ void transferComplete();
+public: // actually package-private
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) address;
+ jint port;
+ ::java::net::Socket * socket;
+ ::gnu::java::net::protocol::ftp::DTPInputStream * in;
+ ::gnu::java::net::protocol::ftp::DTPOutputStream * out;
+ jboolean completed;
+ jboolean inProgress;
+ jint transferMode;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_ftp_PassiveModeDTP__
diff --git a/libjava/gnu/java/net/protocol/ftp/StreamInputStream.h b/libjava/gnu/java/net/protocol/ftp/StreamInputStream.h
new file mode 100644
index 00000000000..2a344be90aa
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/ftp/StreamInputStream.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_ftp_StreamInputStream__
+#define __gnu_java_net_protocol_ftp_StreamInputStream__
+
+#pragma interface
+
+#include <gnu/java/net/protocol/ftp/DTPInputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace ftp
+ {
+ class DTP;
+ class StreamInputStream;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::ftp::StreamInputStream : public ::gnu::java::net::protocol::ftp::DTPInputStream
+{
+
+public: // actually package-private
+ StreamInputStream(::gnu::java::net::protocol::ftp::DTP *, ::java::io::InputStream *);
+public:
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *);
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_ftp_StreamInputStream__
diff --git a/libjava/gnu/java/net/protocol/ftp/StreamOutputStream.h b/libjava/gnu/java/net/protocol/ftp/StreamOutputStream.h
new file mode 100644
index 00000000000..7787c3b5e35
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/ftp/StreamOutputStream.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_ftp_StreamOutputStream__
+#define __gnu_java_net_protocol_ftp_StreamOutputStream__
+
+#pragma interface
+
+#include <gnu/java/net/protocol/ftp/DTPOutputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace ftp
+ {
+ class DTP;
+ class StreamOutputStream;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::ftp::StreamOutputStream : public ::gnu::java::net::protocol::ftp::DTPOutputStream
+{
+
+public: // actually package-private
+ StreamOutputStream(::gnu::java::net::protocol::ftp::DTP *, ::java::io::OutputStream *);
+public:
+ virtual void write(jint);
+ virtual void write(JArray< jbyte > *);
+ virtual void write(JArray< jbyte > *, jint, jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_ftp_StreamOutputStream__
diff --git a/libjava/gnu/java/net/protocol/gcjlib/Connection.h b/libjava/gnu/java/net/protocol/gcjlib/Connection.h
new file mode 100644
index 00000000000..9ecf032efe7
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/gcjlib/Connection.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_gcjlib_Connection__
+#define __gnu_java_net_protocol_gcjlib_Connection__
+
+#pragma interface
+
+#include <java/net/URLConnection.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ class Core;
+ }
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace gcjlib
+ {
+ class Connection;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class gnu::java::net::protocol::gcjlib::Connection : public ::java::net::URLConnection
+{
+
+public:
+ Connection(::java::net::URL *);
+ virtual void connect();
+ virtual ::java::io::InputStream * getInputStream();
+ virtual ::java::lang::String * getHeaderField(::java::lang::String *);
+public: // actually package-private
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::net::URLConnection)))) solib;
+ ::java::lang::String * name;
+ ::gnu::gcj::Core * core;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_gcjlib_Connection__
diff --git a/libjava/gnu/java/net/protocol/gcjlib/Handler.h b/libjava/gnu/java/net/protocol/gcjlib/Handler.h
new file mode 100644
index 00000000000..40813aeb548
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/gcjlib/Handler.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_gcjlib_Handler__
+#define __gnu_java_net_protocol_gcjlib_Handler__
+
+#pragma interface
+
+#include <java/net/URLStreamHandler.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace gcjlib
+ {
+ class Handler;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLConnection;
+ }
+ }
+}
+
+class gnu::java::net::protocol::gcjlib::Handler : public ::java::net::URLStreamHandler
+{
+
+public:
+ Handler();
+public: // actually protected
+ virtual ::java::net::URLConnection * openConnection(::java::net::URL *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_gcjlib_Handler__
diff --git a/libjava/gnu/java/net/protocol/http/Authenticator.h b/libjava/gnu/java/net/protocol/http/Authenticator.h
new file mode 100644
index 00000000000..c2390d2b3fc
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/Authenticator.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_Authenticator__
+#define __gnu_java_net_protocol_http_Authenticator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Authenticator;
+ class Credentials;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::Authenticator : public ::java::lang::Object
+{
+
+public:
+ virtual ::gnu::java::net::protocol::http::Credentials * getCredentials(::java::lang::String *, jint) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_java_net_protocol_http_Authenticator__
diff --git a/libjava/gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.h b/libjava/gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.h
new file mode 100644
index 00000000000..2d9b51957c1
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_ByteArrayRequestBodyWriter__
+#define __gnu_java_net_protocol_http_ByteArrayRequestBodyWriter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class ByteArrayRequestBodyWriter;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::ByteArrayRequestBodyWriter : public ::java::lang::Object
+{
+
+public:
+ ByteArrayRequestBodyWriter(JArray< jbyte > *);
+ virtual jint getContentLength();
+ virtual void reset();
+ virtual jint write(JArray< jbyte > *);
+public: // actually protected
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) content;
+ jint pos;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_ByteArrayRequestBodyWriter__
diff --git a/libjava/gnu/java/net/protocol/http/ChunkedInputStream.h b/libjava/gnu/java/net/protocol/http/ChunkedInputStream.h
new file mode 100644
index 00000000000..16a27056bcb
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/ChunkedInputStream.h
@@ -0,0 +1,58 @@
+
+// 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/InputStream.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::InputStream
+{
+
+public:
+ ChunkedInputStream(::java::io::InputStream *, ::gnu::java::net::protocol::http::Headers *);
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual jint available();
+ virtual void close();
+private:
+ static const jbyte CR = 13;
+ static const jbyte LF = 10;
+public: // actually package-private
+ ::gnu::java::net::protocol::http::Headers * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) headers;
+private:
+ ::java::io::InputStream * in;
+public: // actually package-private
+ jint size;
+ jint count;
+ jboolean meta;
+ jboolean eof;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_ChunkedInputStream__
diff --git a/libjava/gnu/java/net/protocol/http/Cookie.h b/libjava/gnu/java/net/protocol/http/Cookie.h
new file mode 100644
index 00000000000..3c23640600a
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/Cookie.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_Cookie__
+#define __gnu_java_net_protocol_http_Cookie__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Cookie;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::Cookie : public ::java::lang::Object
+{
+
+public:
+ Cookie(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, jboolean, ::java::util::Date *);
+ virtual ::java::lang::String * getName();
+ virtual ::java::lang::String * getValue();
+ virtual ::java::lang::String * getComment();
+ virtual ::java::lang::String * getDomain();
+ virtual ::java::lang::String * getPath();
+ virtual jboolean isSecure();
+ virtual ::java::util::Date * getExpiryDate();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(jboolean, jboolean);
+public: // actually protected
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::java::lang::String * value;
+ ::java::lang::String * comment;
+ ::java::lang::String * domain;
+ ::java::lang::String * path;
+ jboolean secure;
+ ::java::util::Date * expires;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_Cookie__
diff --git a/libjava/gnu/java/net/protocol/http/CookieManager.h b/libjava/gnu/java/net/protocol/http/CookieManager.h
new file mode 100644
index 00000000000..f06ac974b44
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/CookieManager.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_CookieManager__
+#define __gnu_java_net_protocol_http_CookieManager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Cookie;
+ class CookieManager;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::CookieManager : public ::java::lang::Object
+{
+
+public:
+ virtual void setCookie(::gnu::java::net::protocol::http::Cookie *) = 0;
+ virtual JArray< ::gnu::java::net::protocol::http::Cookie * > * getCookies(::java::lang::String *, jboolean, ::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_java_net_protocol_http_CookieManager__
diff --git a/libjava/gnu/java/net/protocol/http/Credentials.h b/libjava/gnu/java/net/protocol/http/Credentials.h
new file mode 100644
index 00000000000..e877d54d998
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/Credentials.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_Credentials__
+#define __gnu_java_net_protocol_http_Credentials__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Credentials;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::Credentials : public ::java::lang::Object
+{
+
+public:
+ Credentials(::java::lang::String *, ::java::lang::String *);
+ virtual ::java::lang::String * getUsername();
+ virtual ::java::lang::String * getPassword();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) username;
+ ::java::lang::String * password;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_Credentials__
diff --git a/libjava/gnu/java/net/protocol/http/HTTPConnection$Pool$Reaper.h b/libjava/gnu/java/net/protocol/http/HTTPConnection$Pool$Reaper.h
new file mode 100644
index 00000000000..727cb83aebf
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/HTTPConnection$Pool$Reaper.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_HTTPConnection$Pool$Reaper__
+#define __gnu_java_net_protocol_http_HTTPConnection$Pool$Reaper__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class HTTPConnection$Pool;
+ class HTTPConnection$Pool$Reaper;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::HTTPConnection$Pool$Reaper : public ::java::lang::Object
+{
+
+public: // actually package-private
+ HTTPConnection$Pool$Reaper(::gnu::java::net::protocol::http::HTTPConnection$Pool *);
+public:
+ virtual void run();
+public: // actually package-private
+ ::gnu::java::net::protocol::http::HTTPConnection$Pool * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_HTTPConnection$Pool$Reaper__
diff --git a/libjava/gnu/java/net/protocol/http/HTTPConnection$Pool.h b/libjava/gnu/java/net/protocol/http/HTTPConnection$Pool.h
new file mode 100644
index 00000000000..62aaa265b23
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/HTTPConnection$Pool.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_HTTPConnection$Pool__
+#define __gnu_java_net_protocol_http_HTTPConnection$Pool__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class HTTPConnection;
+ class HTTPConnection$Pool;
+ class HTTPConnection$Pool$Reaper;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::HTTPConnection$Pool : public ::java::lang::Object
+{
+
+ HTTPConnection$Pool();
+ static jboolean matches(::gnu::java::net::protocol::http::HTTPConnection *, ::java::lang::String *, jint, jboolean);
+public: // actually package-private
+ virtual ::gnu::java::net::protocol::http::HTTPConnection * get(::java::lang::String *, jint, jboolean, jint, jint);
+ virtual void put(::gnu::java::net::protocol::http::HTTPConnection *);
+ virtual void removeOldest();
+ static ::gnu::java::net::protocol::http::HTTPConnection$Pool * instance;
+ ::java::util::LinkedList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) connectionPool;
+ jint maxConnections;
+ jint connectionTTL;
+ ::gnu::java::net::protocol::http::HTTPConnection$Pool$Reaper * reaper;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_HTTPConnection$Pool__
diff --git a/libjava/gnu/java/net/protocol/http/HTTPConnection.h b/libjava/gnu/java/net/protocol/http/HTTPConnection.h
new file mode 100644
index 00000000000..e0d1c462841
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/HTTPConnection.h
@@ -0,0 +1,128 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_HTTPConnection__
+#define __gnu_java_net_protocol_http_HTTPConnection__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class CookieManager;
+ class HTTPConnection;
+ class HTTPConnection$Pool;
+ class Request;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class Socket;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class HandshakeCompletedListener;
+ class SSLSocketFactory;
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::HTTPConnection : public ::java::lang::Object
+{
+
+public:
+ HTTPConnection(::java::lang::String *);
+ HTTPConnection(::java::lang::String *, jboolean);
+ HTTPConnection(::java::lang::String *, jboolean, jint, jint);
+ HTTPConnection(::java::lang::String *, jint);
+ HTTPConnection(::java::lang::String *, jint, jboolean);
+ HTTPConnection(::java::lang::String *, jint, jboolean, jint, jint);
+ virtual ::java::lang::String * getHostName();
+ virtual jint getPort();
+ virtual jboolean isSecure();
+ virtual ::java::lang::String * getVersion();
+ virtual void setVersion(jint, jint);
+ virtual void setProxy(::java::lang::String *, jint);
+ virtual jboolean isUsingProxy();
+ virtual void setCookieManager(::gnu::java::net::protocol::http::CookieManager *);
+ virtual ::gnu::java::net::protocol::http::CookieManager * getCookieManager();
+public: // actually package-private
+ virtual void setPool(::gnu::java::net::protocol::http::HTTPConnection$Pool *);
+ virtual void release();
+public:
+ virtual ::gnu::java::net::protocol::http::Request * newRequest(::java::lang::String *, ::java::lang::String *);
+ virtual void close();
+public: // actually protected
+ virtual ::java::net::Socket * getSocket();
+public: // actually package-private
+ virtual ::javax::net::ssl::SSLSocketFactory * getSSLSocketFactory();
+ virtual void setSSLSocketFactory(::javax::net::ssl::SSLSocketFactory *);
+public: // actually protected
+ virtual ::java::io::InputStream * getInputStream();
+ virtual ::java::io::OutputStream * getOutputStream();
+ virtual void closeConnection();
+ virtual ::java::lang::String * getURI();
+public: // actually package-private
+ virtual jint getNonceCount(::java::lang::String *);
+ virtual void incrementNonce(::java::lang::String *);
+ virtual void addHandshakeCompletedListener(::javax::net::ssl::HandshakeCompletedListener *);
+ virtual void removeHandshakeCompletedListener(::javax::net::ssl::HandshakeCompletedListener *);
+public:
+ static const jint HTTP_PORT = 80;
+ static const jint HTTPS_PORT = 443;
+private:
+ static ::java::lang::String * userAgent;
+public: // actually protected
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) hostname;
+ jint port;
+ jboolean secure;
+ jint connectionTimeout;
+ jint timeout;
+ ::java::lang::String * proxyHostname;
+ jint proxyPort;
+ jint majorVersion;
+ jint minorVersion;
+private:
+ ::java::util::List * handshakeCompletedListeners;
+public: // actually protected
+ ::java::net::Socket * socket;
+private:
+ ::javax::net::ssl::SSLSocketFactory * sslSocketFactory;
+public: // actually protected
+ ::java::io::InputStream * in;
+ ::java::io::OutputStream * out;
+private:
+ ::java::util::Map * nonceCounts;
+public: // actually protected
+ ::gnu::java::net::protocol::http::CookieManager * cookieManager;
+private:
+ ::gnu::java::net::protocol::http::HTTPConnection$Pool * pool;
+public: // actually package-private
+ jint useCount;
+ jlong timeLastUsed;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_HTTPConnection__
diff --git a/libjava/gnu/java/net/protocol/http/HTTPDateFormat.h b/libjava/gnu/java/net/protocol/http/HTTPDateFormat.h
new file mode 100644
index 00000000000..2a305bac87c
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/HTTPDateFormat.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_HTTPDateFormat__
+#define __gnu_java_net_protocol_http_HTTPDateFormat__
+
+#pragma interface
+
+#include <java/text/DateFormat.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class HTTPDateFormat;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace text
+ {
+ class FieldPosition;
+ class NumberFormat;
+ class ParsePosition;
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::HTTPDateFormat : public ::java::text::DateFormat
+{
+
+public:
+ HTTPDateFormat();
+ virtual ::java::lang::StringBuffer * format(::java::util::Date *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
+ virtual ::java::util::Date * parse(::java::lang::String *, ::java::text::ParsePosition *);
+private:
+ jint skipWhitespace(::java::lang::String *, jint);
+ jint skipNonWhitespace(::java::lang::String *, jint);
+ jint skipTo(::java::lang::String *, jint, jchar);
+public:
+ virtual void setCalendar(::java::util::Calendar *);
+ virtual void setNumberFormat(::java::text::NumberFormat *);
+public: // actually package-private
+ static JArray< ::java::lang::String * > * DAYS_OF_WEEK;
+ static JArray< ::java::lang::String * > * MONTHS;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_HTTPDateFormat__
diff --git a/libjava/gnu/java/net/protocol/http/HTTPURLConnection$1.h b/libjava/gnu/java/net/protocol/http/HTTPURLConnection$1.h
new file mode 100644
index 00000000000..1e20e4ec9e4
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/HTTPURLConnection$1.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_HTTPURLConnection$1__
+#define __gnu_java_net_protocol_http_HTTPURLConnection$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Credentials;
+ class HTTPURLConnection;
+ class HTTPURLConnection$1;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::HTTPURLConnection$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ HTTPURLConnection$1(::gnu::java::net::protocol::http::HTTPURLConnection *, ::gnu::java::net::protocol::http::Credentials *);
+public:
+ ::gnu::java::net::protocol::http::Credentials * getCredentials(::java::lang::String *, jint);
+public: // actually package-private
+ ::gnu::java::net::protocol::http::HTTPURLConnection * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+private:
+ ::gnu::java::net::protocol::http::Credentials * val$creds;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_HTTPURLConnection$1__
diff --git a/libjava/gnu/java/net/protocol/http/HTTPURLConnection.h b/libjava/gnu/java/net/protocol/http/HTTPURLConnection.h
new file mode 100644
index 00000000000..460928e6b92
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/HTTPURLConnection.h
@@ -0,0 +1,115 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_HTTPURLConnection__
+#define __gnu_java_net_protocol_http_HTTPURLConnection__
+
+#pragma interface
+
+#include <javax/net/ssl/HttpsURLConnection.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class HTTPConnection;
+ class HTTPURLConnection;
+ class Headers;
+ class Request;
+ class Response;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ namespace security
+ {
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class HandshakeCompletedEvent;
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::HTTPURLConnection : public ::javax::net::ssl::HttpsURLConnection
+{
+
+public:
+ HTTPURLConnection(::java::net::URL *);
+ virtual void connect();
+public: // actually package-private
+ virtual ::gnu::java::net::protocol::http::HTTPConnection * getConnection(::java::lang::String *, jint, jboolean);
+public:
+ virtual void disconnect();
+ virtual jboolean usingProxy();
+ virtual void setRequestMethod(::java::lang::String *);
+ virtual ::java::lang::String * getRequestProperty(::java::lang::String *);
+ virtual ::java::util::Map * getRequestProperties();
+ virtual void setRequestProperty(::java::lang::String *, ::java::lang::String *);
+ virtual void addRequestProperty(::java::lang::String *, ::java::lang::String *);
+ virtual ::java::io::OutputStream * getOutputStream();
+ virtual ::java::io::InputStream * getInputStream();
+ virtual ::java::io::InputStream * getErrorStream();
+ virtual ::java::util::Map * getHeaderFields();
+public: // actually package-private
+ virtual ::java::lang::String * getStatusLine(::gnu::java::net::protocol::http::Response *);
+public:
+ virtual ::java::lang::String * getHeaderField(jint);
+ virtual ::java::lang::String * getHeaderFieldKey(jint);
+ virtual ::java::lang::String * getHeaderField(::java::lang::String *);
+ virtual jlong getHeaderFieldDate(::java::lang::String *, jlong);
+ virtual ::java::lang::String * getContentType();
+ virtual jint getResponseCode();
+ virtual ::java::lang::String * getResponseMessage();
+ virtual ::java::lang::String * getCipherSuite();
+ virtual JArray< ::java::security::cert::Certificate * > * getLocalCertificates();
+ virtual JArray< ::java::security::cert::Certificate * > * getServerCertificates();
+ virtual void handshakeCompleted(::javax::net::ssl::HandshakeCompletedEvent *);
+ virtual void setReadTimeout(jint);
+private:
+ ::gnu::java::net::protocol::http::HTTPConnection * __attribute__((aligned(__alignof__( ::javax::net::ssl::HttpsURLConnection)))) connection;
+public: // actually package-private
+ ::java::lang::String * proxyHostname;
+ jint proxyPort;
+ ::java::lang::String * agent;
+ jboolean keepAlive;
+private:
+ ::gnu::java::net::protocol::http::Request * request;
+ ::gnu::java::net::protocol::http::Headers * requestHeaders;
+ ::java::io::ByteArrayOutputStream * requestSink;
+ jboolean requestMethodSetExplicitly;
+ ::gnu::java::net::protocol::http::Response * response;
+ ::java::io::InputStream * responseSink;
+ ::java::io::InputStream * errorSink;
+ ::javax::net::ssl::HandshakeCompletedEvent * handshakeEvent;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_HTTPURLConnection__
diff --git a/libjava/gnu/java/net/protocol/http/Handler.h b/libjava/gnu/java/net/protocol/http/Handler.h
new file mode 100644
index 00000000000..bd96f2d8b1f
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/Handler.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_Handler__
+#define __gnu_java_net_protocol_http_Handler__
+
+#pragma interface
+
+#include <java/net/URLStreamHandler.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Handler;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLConnection;
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::Handler : public ::java::net::URLStreamHandler
+{
+
+public:
+ Handler();
+public: // actually protected
+ virtual jint getDefaultPort();
+public:
+ virtual ::java::net::URLConnection * openConnection(::java::net::URL *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_Handler__
diff --git a/libjava/gnu/java/net/protocol/http/Headers$HeaderElement.h b/libjava/gnu/java/net/protocol/http/Headers$HeaderElement.h
new file mode 100644
index 00000000000..ecf4982f09b
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/Headers$HeaderElement.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_Headers$HeaderElement__
+#define __gnu_java_net_protocol_http_Headers$HeaderElement__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Headers$HeaderElement;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::Headers$HeaderElement : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Headers$HeaderElement(::java::lang::String *, ::java::lang::String *);
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::java::lang::String * value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_Headers$HeaderElement__
diff --git a/libjava/gnu/java/net/protocol/http/Headers.h b/libjava/gnu/java/net/protocol/http/Headers.h
new file mode 100644
index 00000000000..d7c485c2511
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/Headers.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_Headers__
+#define __gnu_java_net_protocol_http_Headers__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Headers;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace text
+ {
+ class DateFormat;
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::Headers : public ::java::lang::Object
+{
+
+public:
+ Headers();
+public: // actually package-private
+ virtual ::java::util::Iterator * iterator();
+public:
+ virtual ::java::lang::String * getValue(::java::lang::String *);
+ virtual jint getIntValue(::java::lang::String *);
+ virtual jlong getLongValue(::java::lang::String *);
+ virtual ::java::util::Date * getDateValue(::java::lang::String *);
+ virtual void put(::java::lang::String *, ::java::lang::String *);
+ virtual void putAll(::gnu::java::net::protocol::http::Headers *);
+ virtual void remove(::java::lang::String *);
+ virtual void parse(::java::io::InputStream *);
+ virtual void addValue(::java::lang::String *, ::java::lang::String *);
+ virtual ::java::util::Map * getAsMap();
+ virtual ::java::lang::String * getHeaderName(jint);
+ virtual ::java::lang::String * getHeaderValue(jint);
+private:
+ ::java::util::ArrayList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) headers;
+ static ::java::text::DateFormat * dateFormat;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_Headers__
diff --git a/libjava/gnu/java/net/protocol/http/LimitedLengthInputStream.h b/libjava/gnu/java/net/protocol/http/LimitedLengthInputStream.h
new file mode 100644
index 00000000000..e70bbcc039d
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/LimitedLengthInputStream.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_LimitedLengthInputStream__
+#define __gnu_java_net_protocol_http_LimitedLengthInputStream__
+
+#pragma interface
+
+#include <java/io/InputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class HTTPConnection;
+ class LimitedLengthInputStream;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::LimitedLengthInputStream : public ::java::io::InputStream
+{
+
+ void handleClose();
+public: // actually package-private
+ LimitedLengthInputStream(::java::io::InputStream *, jlong, jboolean, ::gnu::java::net::protocol::http::HTTPConnection *, jboolean);
+public:
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *);
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual jlong skip(jlong);
+ virtual jint available();
+ virtual void close();
+private:
+ jlong __attribute__((aligned(__alignof__( ::java::io::InputStream)))) remainingLen;
+ jboolean restrictLen;
+ ::gnu::java::net::protocol::http::HTTPConnection * connection;
+ jboolean eof;
+ ::java::io::InputStream * in;
+ jboolean doClose;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_LimitedLengthInputStream__
diff --git a/libjava/gnu/java/net/protocol/http/Request.h b/libjava/gnu/java/net/protocol/http/Request.h
new file mode 100644
index 00000000000..2cf4693cf25
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/Request.h
@@ -0,0 +1,87 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_Request__
+#define __gnu_java_net_protocol_http_Request__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Authenticator;
+ class HTTPConnection;
+ class Headers;
+ class Request;
+ class RequestBodyWriter;
+ class Response;
+ class ResponseHeaderHandler;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::Request : public ::java::lang::Object
+{
+
+public: // actually protected
+ Request(::gnu::java::net::protocol::http::HTTPConnection *, ::java::lang::String *, ::java::lang::String *);
+public:
+ virtual ::gnu::java::net::protocol::http::HTTPConnection * getConnection();
+ virtual ::java::lang::String * getMethod();
+ virtual ::java::lang::String * getPath();
+ virtual ::java::lang::String * getRequestURI();
+ virtual ::gnu::java::net::protocol::http::Headers * getHeaders();
+ virtual ::java::lang::String * getHeader(::java::lang::String *);
+ virtual jint getIntHeader(::java::lang::String *);
+ virtual ::java::util::Date * getDateHeader(::java::lang::String *);
+ virtual void setHeader(::java::lang::String *, ::java::lang::String *);
+ virtual void setRequestBody(JArray< jbyte > *);
+ virtual void setRequestBodyWriter(::gnu::java::net::protocol::http::RequestBodyWriter *);
+ virtual void setResponseHeaderHandler(::java::lang::String *, ::gnu::java::net::protocol::http::ResponseHeaderHandler *);
+ virtual void setAuthenticator(::gnu::java::net::protocol::http::Authenticator *);
+ virtual ::gnu::java::net::protocol::http::Response * dispatch();
+public: // actually package-private
+ virtual ::gnu::java::net::protocol::http::Response * readResponse(::java::io::InputStream *);
+ virtual void notifyHeaderHandlers(::gnu::java::net::protocol::http::Headers *);
+private:
+ ::java::io::InputStream * createResponseBodyStream(::gnu::java::net::protocol::http::Headers *, jint, jint, ::java::io::InputStream *, jboolean);
+public: // actually package-private
+ virtual jboolean authenticate(::gnu::java::net::protocol::http::Response *, jint);
+ virtual ::java::util::Properties * parseAuthParams(::java::lang::String *);
+ virtual ::java::lang::String * unquote(::java::lang::String *);
+ virtual ::java::lang::String * getNonceCount(::java::lang::String *);
+ virtual JArray< jbyte > * generateNonce();
+ virtual ::java::lang::String * toHexString(JArray< jbyte > *);
+ virtual void handleSetCookie(::java::lang::String *);
+public: // actually protected
+ ::gnu::java::net::protocol::http::HTTPConnection * __attribute__((aligned(__alignof__( ::java::lang::Object)))) connection;
+ ::java::lang::String * method;
+ ::java::lang::String * path;
+ ::gnu::java::net::protocol::http::Headers * requestHeaders;
+ ::gnu::java::net::protocol::http::RequestBodyWriter * requestBodyWriter;
+ ::java::util::Map * responseHeaderHandlers;
+ ::gnu::java::net::protocol::http::Authenticator * authenticator;
+private:
+ jboolean dispatched;
+public: // actually package-private
+ JArray< jbyte > * nonce;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_Request__
diff --git a/libjava/gnu/java/net/protocol/http/RequestBodyWriter.h b/libjava/gnu/java/net/protocol/http/RequestBodyWriter.h
new file mode 100644
index 00000000000..1bd32bc8637
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/RequestBodyWriter.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_RequestBodyWriter__
+#define __gnu_java_net_protocol_http_RequestBodyWriter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class RequestBodyWriter;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::RequestBodyWriter : public ::java::lang::Object
+{
+
+public:
+ virtual jint getContentLength() = 0;
+ virtual void reset() = 0;
+ virtual jint write(JArray< jbyte > *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_java_net_protocol_http_RequestBodyWriter__
diff --git a/libjava/gnu/java/net/protocol/http/Response.h b/libjava/gnu/java/net/protocol/http/Response.h
new file mode 100644
index 00000000000..928b212479b
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/Response.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_Response__
+#define __gnu_java_net_protocol_http_Response__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Headers;
+ class Response;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::Response : public ::java::lang::Object
+{
+
+public: // actually protected
+ Response(jint, jint, jint, ::java::lang::String *, ::gnu::java::net::protocol::http::Headers *, ::java::io::InputStream *);
+public:
+ virtual jint getMajorVersion();
+ virtual jint getMinorVersion();
+ virtual jint getCode();
+ virtual jint getCodeClass();
+ virtual ::java::lang::String * getMessage();
+ virtual ::gnu::java::net::protocol::http::Headers * getHeaders();
+ virtual ::java::lang::String * getHeader(::java::lang::String *);
+ virtual jint getIntHeader(::java::lang::String *);
+ virtual jlong getLongHeader(::java::lang::String *);
+ virtual ::java::util::Date * getDateHeader(::java::lang::String *);
+ virtual jboolean isRedirect();
+ virtual jboolean isError();
+ virtual ::java::io::InputStream * getBody();
+public: // actually protected
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) majorVersion;
+ jint minorVersion;
+ jint code;
+ ::java::lang::String * message;
+ ::gnu::java::net::protocol::http::Headers * headers;
+ ::java::io::InputStream * body;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_Response__
diff --git a/libjava/gnu/java/net/protocol/http/ResponseHeaderHandler.h b/libjava/gnu/java/net/protocol/http/ResponseHeaderHandler.h
new file mode 100644
index 00000000000..055c019a1fc
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/ResponseHeaderHandler.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_ResponseHeaderHandler__
+#define __gnu_java_net_protocol_http_ResponseHeaderHandler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class ResponseHeaderHandler;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::ResponseHeaderHandler : public ::java::lang::Object
+{
+
+public:
+ virtual void setValue(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_java_net_protocol_http_ResponseHeaderHandler__
diff --git a/libjava/gnu/java/net/protocol/http/SimpleCookieManager.h b/libjava/gnu/java/net/protocol/http/SimpleCookieManager.h
new file mode 100644
index 00000000000..e8259a8a2cb
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/http/SimpleCookieManager.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_SimpleCookieManager__
+#define __gnu_java_net_protocol_http_SimpleCookieManager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Cookie;
+ class SimpleCookieManager;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::SimpleCookieManager : public ::java::lang::Object
+{
+
+public:
+ SimpleCookieManager();
+ virtual void setCookie(::gnu::java::net::protocol::http::Cookie *);
+ virtual JArray< ::gnu::java::net::protocol::http::Cookie * > * getCookies(::java::lang::String *, jboolean, ::java::lang::String *);
+private:
+ void addCookies(::java::util::List *, ::java::lang::String *, jboolean, ::java::lang::String *, ::java::util::Date *);
+public: // actually protected
+ ::java::util::Map * __attribute__((aligned(__alignof__( ::java::lang::Object)))) cookies;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_SimpleCookieManager__
diff --git a/libjava/gnu/java/net/protocol/https/Handler.h b/libjava/gnu/java/net/protocol/https/Handler.h
new file mode 100644
index 00000000000..ce077f08f8e
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/https/Handler.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_https_Handler__
+#define __gnu_java_net_protocol_https_Handler__
+
+#pragma interface
+
+#include <java/net/URLStreamHandler.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace https
+ {
+ class Handler;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLConnection;
+ }
+ }
+}
+
+class gnu::java::net::protocol::https::Handler : public ::java::net::URLStreamHandler
+{
+
+public:
+ Handler();
+public: // actually protected
+ virtual jint getDefaultPort();
+public:
+ virtual ::java::net::URLConnection * openConnection(::java::net::URL *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_https_Handler__
diff --git a/libjava/gnu/java/net/protocol/jar/Connection$JarFileCache.h b/libjava/gnu/java/net/protocol/jar/Connection$JarFileCache.h
new file mode 100644
index 00000000000..03744bc671c
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/jar/Connection$JarFileCache.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_jar_Connection$JarFileCache__
+#define __gnu_java_net_protocol_jar_Connection$JarFileCache__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace jar
+ {
+ class Connection$JarFileCache;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class gnu::java::net::protocol::jar::Connection$JarFileCache : public ::java::lang::Object
+{
+
+public:
+ Connection$JarFileCache();
+ static ::java::util::jar::JarFile * get(::java::net::URL *, jboolean);
+private:
+ static ::java::util::Hashtable * cache;
+ static const jint READBUFSIZE = 4096;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_jar_Connection$JarFileCache__
diff --git a/libjava/gnu/java/net/protocol/jar/Connection.h b/libjava/gnu/java/net/protocol/jar/Connection.h
new file mode 100644
index 00000000000..5456919fbaf
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/jar/Connection.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_jar_Connection__
+#define __gnu_java_net_protocol_jar_Connection__
+
+#pragma interface
+
+#include <java/net/JarURLConnection.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace jar
+ {
+ class Connection;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ namespace text
+ {
+ class SimpleDateFormat;
+ }
+ }
+}
+
+class gnu::java::net::protocol::jar::Connection : public ::java::net::JarURLConnection
+{
+
+public: // actually protected
+ Connection(::java::net::URL *);
+public:
+ void connect();
+ ::java::io::InputStream * getInputStream();
+ ::java::util::jar::JarFile * getJarFile();
+ ::java::lang::String * getHeaderField(::java::lang::String *);
+ jint getContentLength();
+ jlong getLastModified();
+private:
+ static ::java::text::SimpleDateFormat * dateFormat;
+ ::java::util::jar::JarFile * __attribute__((aligned(__alignof__( ::java::net::JarURLConnection)))) jar_file;
+ ::java::util::jar::JarEntry * jar_entry;
+ ::java::net::URL * jar_url;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_jar_Connection__
diff --git a/libjava/gnu/java/net/protocol/jar/Handler.h b/libjava/gnu/java/net/protocol/jar/Handler.h
new file mode 100644
index 00000000000..b5fb6b66e64
--- /dev/null
+++ b/libjava/gnu/java/net/protocol/jar/Handler.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_jar_Handler__
+#define __gnu_java_net_protocol_jar_Handler__
+
+#pragma interface
+
+#include <java/net/URLStreamHandler.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace jar
+ {
+ class Handler;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLConnection;
+ }
+ }
+}
+
+class gnu::java::net::protocol::jar::Handler : public ::java::net::URLStreamHandler
+{
+
+public:
+ Handler();
+public: // actually protected
+ virtual ::java::net::URLConnection * openConnection(::java::net::URL *);
+ virtual void parseURL(::java::net::URL *, ::java::lang::String *, jint, jint);
+private:
+ static ::java::lang::String * flat(::java::lang::String *);
+public: // actually protected
+ virtual ::java::lang::String * toExternalForm(::java::net::URL *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_jar_Handler__