aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/java/net/protocol
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2016-09-30 16:24:48 +0000
committerAndrew Haley <aph@gcc.gnu.org>2016-09-30 16:24:48 +0000
commit07b78716af6a9d7c9fd1e94d9baf94a52c873947 (patch)
tree3f22b3241c513ad168c8353805614ae1249410f4 /libjava/gnu/java/net/protocol
parenteae993948bae8b788c53772bcb9217c063716f93 (diff)
downloadgcc-07b78716af6a9d7c9fd1e94d9baf94a52c873947.zip
gcc-07b78716af6a9d7c9fd1e94d9baf94a52c873947.tar.gz
gcc-07b78716af6a9d7c9fd1e94d9baf94a52c873947.tar.bz2
Makefile.def: Remove libjava.
2016-09-30 Andrew Haley <aph@redhat.com> * Makefile.def: Remove libjava. * Makefile.tpl: Likewise. * Makefile.in: Regenerate. * configure.ac: Likewise. * configure: Likewise. * gcc/java: Remove. * libjava: Likewise. From-SVN: r240662
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/Connection.java172
-rw-r--r--libjava/gnu/java/net/protocol/core/CoreInputStream.h60
-rw-r--r--libjava/gnu/java/net/protocol/core/CoreInputStream.java90
-rw-r--r--libjava/gnu/java/net/protocol/core/Handler.h49
-rw-r--r--libjava/gnu/java/net/protocol/core/Handler.java28
-rw-r--r--libjava/gnu/java/net/protocol/core/natCoreInputStream.cc51
-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/Connection.java83
-rw-r--r--libjava/gnu/java/net/protocol/gcjlib/Handler.h49
-rw-r--r--libjava/gnu/java/net/protocol/gcjlib/Handler.java24
-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.h55
-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.h62
-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
57 files changed, 0 insertions, 3360 deletions
diff --git a/libjava/gnu/java/net/protocol/core/Connection.h b/libjava/gnu/java/net/protocol/core/Connection.h
deleted file mode 100644
index d09908b..0000000
--- a/libjava/gnu/java/net/protocol/core/Connection.h
+++ /dev/null
@@ -1,64 +0,0 @@
-
-// 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/Connection.java b/libjava/gnu/java/net/protocol/core/Connection.java
deleted file mode 100644
index 2319c0b..0000000
--- a/libjava/gnu/java/net/protocol/core/Connection.java
+++ /dev/null
@@ -1,172 +0,0 @@
-// Connection.java - Implementation of URLConnection for core protocol.
-
-/* Copyright (C) 2001, 2003 Free Software Foundation
-
- This file is part of libgcj.
-
-This software is copyrighted work licensed under the terms of the
-Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
-details. */
-
-package gnu.java.net.protocol.core;
-
-import gnu.gcj.Core;
-import java.io.InputStream;
-import java.io.IOException;
-import java.net.ProtocolException;
-import java.net.URL;
-import java.net.URLConnection;
-import java.util.Map;
-import java.util.Vector;
-import java.util.Hashtable;
-import java.util.Enumeration;
-
-/**
- * @author Anthony Green <green@redhat.com>
- * @date August 13, 2001
- */
-
-class Connection extends URLConnection
-{
- private Hashtable hdrHash = new Hashtable();
- private Vector hdrVec = new Vector();
- private boolean gotHeaders = false;
-
- private Core core;
-
- public Connection (URL url)
- {
- super(url);
- }
-
- // Implementation of abstract method.
- public void connect() throws IOException
- {
- // Call is ignored if already connected.
- if (connected)
- return;
-
- // If not connected, then file needs to be opened.
- core = Core.create (url.getFile());
- connected = true;
- }
-
- public InputStream getInputStream() throws IOException
- {
- if (!connected)
- connect();
-
- if (! doInput)
- throw new ProtocolException("Can't open InputStream if doInput is false");
- return new CoreInputStream (core);
- }
-
- // Override default method in URLConnection.
- public String getHeaderField(String name)
- {
- try
- {
- getHeaders();
- }
- catch (IOException x)
- {
- return null;
- }
- return (String) hdrHash.get(name.toLowerCase());
- }
-
- // Override default method in URLConnection.
- public Map getHeaderFields()
- {
- try
- {
- getHeaders();
- }
- catch (IOException x)
- {
- return null;
- }
- return hdrHash;
- }
-
- // Override default method in URLConnection.
- public String getHeaderField(int n)
- {
- try
- {
- getHeaders();
- }
- catch (IOException x)
- {
- return null;
- }
- if (n < hdrVec.size())
- return getField ((String) hdrVec.elementAt(n));
-
- return null;
- }
-
- // Override default method in URLConnection.
- public String getHeaderFieldKey(int n)
- {
- try
- {
- getHeaders();
- }
- catch (IOException x)
- {
- return null;
- }
- if (n < hdrVec.size())
- return getKey ((String) hdrVec.elementAt(n));
-
- return null;
- }
-
- private String getKey(String str)
- {
- if (str == null)
- return null;
- int index = str.indexOf(':');
- if (index >= 0)
- return str.substring(0, index);
- else
- return null;
- }
-
- private String getField(String str)
- {
- if (str == null)
- return null;
- int index = str.indexOf(':');
- if (index >= 0)
- return str.substring(index + 1).trim();
- else
- return str;
- }
-
- private void getHeaders() throws IOException
- {
- if (gotHeaders)
- return;
- gotHeaders = true;
-
- connect();
-
- // Yes, it is overkill to use the hash table and vector here since
- // we're only putting one header in the file, but in case we need
- // to add others later and for consistency, we'll implement it this way.
-
- // Add the only header we know about right now: Content-length.
- long len = core.length;
- String line = "Content-length: " + len;
- hdrVec.addElement(line);
-
- // The key will never be null in this scenario since we build up the
- // headers ourselves. If we ever rely on getting a header from somewhere
- // else, then we may have to check if the result of getKey() is null.
- String key = getKey(line);
- hdrHash.put(key.toLowerCase(), Long.toString(len));
- }
-}
-
diff --git a/libjava/gnu/java/net/protocol/core/CoreInputStream.h b/libjava/gnu/java/net/protocol/core/CoreInputStream.h
deleted file mode 100644
index d6beb39..0000000
--- a/libjava/gnu/java/net/protocol/core/CoreInputStream.h
+++ /dev/null
@@ -1,60 +0,0 @@
-
-// 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/CoreInputStream.java b/libjava/gnu/java/net/protocol/core/CoreInputStream.java
deleted file mode 100644
index 421bb1c..0000000
--- a/libjava/gnu/java/net/protocol/core/CoreInputStream.java
+++ /dev/null
@@ -1,90 +0,0 @@
-// Handler.java - URLStreamHandler for core protocol.
-
-/* Copyright (C) 2001 Free Software Foundation
-
- This file is part of libgcj.
-
-This software is copyrighted work licensed under the terms of the
-Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
-details. */
-
-package gnu.java.net.protocol.core;
-
-import gnu.gcj.Core;
-import gnu.gcj.RawData;
-import java.io.InputStream;
-import java.io.IOException;
-
-public class CoreInputStream extends InputStream
-{
- /* A pointer to the object in memory. */
- protected RawData ptr;
-
- /* Position of the next byte in core to be read. */
- protected int pos;
-
- /* The currently marked position in the stream. */
- protected int mark;
-
- /* The index in core one greater than the last valid character. */
- protected int count;
-
- private native int unsafeGetByte (long offset);
- private native int copyIntoByteArray (byte[] dest, int offset, int numBytes);
-
- public CoreInputStream (Core core)
- {
- ptr = core.ptr;
- count = core.length;
- }
-
- public synchronized int available()
- {
- return count - pos;
- }
-
- public synchronized void mark(int readAheadLimit)
- {
- // readAheadLimit is ignored per Java Class Lib. book, p.220.
- mark = pos;
- }
-
- public boolean markSupported()
- {
- return true;
- }
-
- public synchronized int read()
- {
- if (pos < count)
- return ((int) unsafeGetByte(pos++)) & 0xFF;
- return -1;
- }
-
- public synchronized int read(byte[] b, int off, int len)
- {
- if (pos >= count)
- return -1;
-
- int numBytes = Math.min(count - pos, len);
- copyIntoByteArray (b, off, numBytes);
- pos += numBytes;
- return numBytes;
- }
-
- public synchronized void reset()
- {
- pos = mark;
- }
-
- public synchronized long skip(long n)
- {
- // Even though the var numBytes is a long, in reality it can never
- // be larger than an int since the result of subtracting 2 positive
- // ints will always fit in an int. Since we have to return a long
- // anyway, numBytes might as well just be a long.
- long numBytes = Math.min ((long) (count - pos), n < 0 ? 0L : n);
- pos += numBytes;
- return numBytes;
- }
-}
diff --git a/libjava/gnu/java/net/protocol/core/Handler.h b/libjava/gnu/java/net/protocol/core/Handler.h
deleted file mode 100644
index 364e21a..0000000
--- a/libjava/gnu/java/net/protocol/core/Handler.h
+++ /dev/null
@@ -1,49 +0,0 @@
-
-// 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/core/Handler.java b/libjava/gnu/java/net/protocol/core/Handler.java
deleted file mode 100644
index 8726172..0000000
--- a/libjava/gnu/java/net/protocol/core/Handler.java
+++ /dev/null
@@ -1,28 +0,0 @@
-// Handler.java - URLStreamHandler for core protocol.
-
-/* Copyright (C) 2001 Free Software Foundation
-
- This file is part of libgcj.
-
-This software is copyrighted work licensed under the terms of the
-Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
-details. */
-
-package gnu.java.net.protocol.core;
-
-import java.io.IOException;
-import java.net.URL;
-import java.net.URLConnection;
-import java.net.URLStreamHandler;
-
-/**
- * @author Anthony Green <green@redhat.com>
- * @date August 13, 2001.
- */
-public class Handler extends URLStreamHandler
-{
- protected URLConnection openConnection(URL url) throws IOException
- {
- return new Connection(url);
- }
-}
diff --git a/libjava/gnu/java/net/protocol/core/natCoreInputStream.cc b/libjava/gnu/java/net/protocol/core/natCoreInputStream.cc
deleted file mode 100644
index 4053efc..0000000
--- a/libjava/gnu/java/net/protocol/core/natCoreInputStream.cc
+++ /dev/null
@@ -1,51 +0,0 @@
-// natCoreInputStream.cc -- C++ side of CoreInputStream
-
-/* Copyright (C) 2001 Free Software Foundation
-
- This file is part of libgcj.
-
-This software is copyrighted work licensed under the terms of the
-Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
-details. */
-
-/* Author: Anthony Green <green@redhat.com>. */
-
-#include <config.h>
-
-#include <gcj/cni.h>
-#include <jvm.h>
-#include <string.h>
-
-#include <java/lang/NullPointerException.h>
-#include <java/lang/ArrayIndexOutOfBoundsException.h>
-#include <gnu/java/net/protocol/core/CoreInputStream.h>
-
-jint
-gnu::java::net::protocol::core::CoreInputStream::unsafeGetByte (jlong offset)
-{
- return ((char*) ptr) [offset];
-}
-
-jint
-gnu::java::net::protocol::core::CoreInputStream::copyIntoByteArray (jbyteArray dest,
- jint offset,
- jint numBytes)
-{
- if (!dest)
- throw new ::java::lang::NullPointerException;
-
- jsize destSize = JvGetArrayLength (dest);
-
- if (offset < 0 || numBytes < 0 || offset + numBytes < 0
- || offset + numBytes > destSize
- || pos + numBytes > count)
- throw new ::java::lang::ArrayIndexOutOfBoundsException;
-
- void *pcore = (void *) &((char*) ptr) [pos];
- void *pdest = (void *) (elements (dest) + offset);
-
- memcpy (pdest, pcore, numBytes);
-
- return 0;
-}
-
diff --git a/libjava/gnu/java/net/protocol/file/Connection$StaticData.h b/libjava/gnu/java/net/protocol/file/Connection$StaticData.h
deleted file mode 100644
index 46ed9ac..0000000
--- a/libjava/gnu/java/net/protocol/file/Connection$StaticData.h
+++ /dev/null
@@ -1,48 +0,0 @@
-
-// 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
deleted file mode 100644
index 160f808..0000000
--- a/libjava/gnu/java/net/protocol/file/Connection.h
+++ /dev/null
@@ -1,70 +0,0 @@
-
-// 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
deleted file mode 100644
index f3edf9a..0000000
--- a/libjava/gnu/java/net/protocol/file/Handler.h
+++ /dev/null
@@ -1,49 +0,0 @@
-
-// 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
deleted file mode 100644
index 4ea352a..0000000
--- a/libjava/gnu/java/net/protocol/ftp/ActiveModeDTP.h
+++ /dev/null
@@ -1,70 +0,0 @@
-
-// 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
deleted file mode 100644
index a6c0e18..0000000
--- a/libjava/gnu/java/net/protocol/ftp/BlockInputStream.h
+++ /dev/null
@@ -1,52 +0,0 @@
-
-// 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
deleted file mode 100644
index dd712fd..0000000
--- a/libjava/gnu/java/net/protocol/ftp/BlockOutputStream.h
+++ /dev/null
@@ -1,50 +0,0 @@
-
-// 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
deleted file mode 100644
index 75de07d..0000000
--- a/libjava/gnu/java/net/protocol/ftp/CompressedInputStream.h
+++ /dev/null
@@ -1,59 +0,0 @@
-
-// 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
deleted file mode 100644
index 243ac7c..0000000
--- a/libjava/gnu/java/net/protocol/ftp/CompressedOutputStream.h
+++ /dev/null
@@ -1,56 +0,0 @@
-
-// 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
deleted file mode 100644
index 132e902..0000000
--- a/libjava/gnu/java/net/protocol/ftp/DTP.h
+++ /dev/null
@@ -1,43 +0,0 @@
-
-// 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
deleted file mode 100644
index 2574799..0000000
--- a/libjava/gnu/java/net/protocol/ftp/DTPInputStream.h
+++ /dev/null
@@ -1,46 +0,0 @@
-
-// 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
deleted file mode 100644
index 1e59c7a..0000000
--- a/libjava/gnu/java/net/protocol/ftp/DTPOutputStream.h
+++ /dev/null
@@ -1,46 +0,0 @@
-
-// 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
deleted file mode 100644
index d0b1183..0000000
--- a/libjava/gnu/java/net/protocol/ftp/FTPConnection.h
+++ /dev/null
@@ -1,165 +0,0 @@
-
-// 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
deleted file mode 100644
index b22c2f2..0000000
--- a/libjava/gnu/java/net/protocol/ftp/FTPException.h
+++ /dev/null
@@ -1,43 +0,0 @@
-
-// 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
deleted file mode 100644
index b7faeb9..0000000
--- a/libjava/gnu/java/net/protocol/ftp/FTPResponse.h
+++ /dev/null
@@ -1,47 +0,0 @@
-
-// 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
deleted file mode 100644
index ab8c4e0..0000000
--- a/libjava/gnu/java/net/protocol/ftp/FTPURLConnection$ClosingInputStream.h
+++ /dev/null
@@ -1,44 +0,0 @@
-
-// 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
deleted file mode 100644
index 7cdb24c..0000000
--- a/libjava/gnu/java/net/protocol/ftp/FTPURLConnection$ClosingOutputStream.h
+++ /dev/null
@@ -1,44 +0,0 @@
-
-// 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
deleted file mode 100644
index a413928..0000000
--- a/libjava/gnu/java/net/protocol/ftp/FTPURLConnection.h
+++ /dev/null
@@ -1,65 +0,0 @@
-
-// 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
deleted file mode 100644
index 05839d6..0000000
--- a/libjava/gnu/java/net/protocol/ftp/Handler.h
+++ /dev/null
@@ -1,50 +0,0 @@
-
-// 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
deleted file mode 100644
index 01a4a8a..0000000
--- a/libjava/gnu/java/net/protocol/ftp/PassiveModeDTP.h
+++ /dev/null
@@ -1,65 +0,0 @@
-
-// 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
deleted file mode 100644
index 2a344be..0000000
--- a/libjava/gnu/java/net/protocol/ftp/StreamInputStream.h
+++ /dev/null
@@ -1,45 +0,0 @@
-
-// 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
deleted file mode 100644
index 7787c3b..0000000
--- a/libjava/gnu/java/net/protocol/ftp/StreamOutputStream.h
+++ /dev/null
@@ -1,45 +0,0 @@
-
-// 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
deleted file mode 100644
index 9ecf032..0000000
--- a/libjava/gnu/java/net/protocol/gcjlib/Connection.h
+++ /dev/null
@@ -1,57 +0,0 @@
-
-// 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/Connection.java b/libjava/gnu/java/net/protocol/gcjlib/Connection.java
deleted file mode 100644
index 4e6e462..0000000
--- a/libjava/gnu/java/net/protocol/gcjlib/Connection.java
+++ /dev/null
@@ -1,83 +0,0 @@
-// Connection.java - Implementation of URLConnection for gcjlib
-// protocol.
-
-/* Copyright (C) 2003 Free Software Foundation
-
- This file is part of libgcj.
-
-This software is copyrighted work licensed under the terms of the
-Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
-details. */
-
-package gnu.java.net.protocol.gcjlib;
-
-import java.io.InputStream;
-import java.io.IOException;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.net.URLConnection;
-import gnu.gcj.Core;
-import gnu.gcj.runtime.SharedLibHelper;
-import gnu.java.net.protocol.core.CoreInputStream;
-
-/**
- * @author Tom Tromey <tromey@redhat.com>
- * @date January 10, 2003
- */
-class Connection extends URLConnection
-{
- String solib;
- String name;
- Core core;
-
- public Connection (URL url) throws MalformedURLException
- {
- super (url);
- int index = url.getFile().indexOf ("!/");
-
- if (index == -1)
- throw new MalformedURLException ("couldn't find !/ in gcjlib URL");
-
- name = url.getFile().substring (index + 2);
- solib = url.getFile().substring (0, index);
- }
-
- public void connect() throws IOException
- {
- if (core != null)
- return;
- // We can't create a new SharedLibHelper here, since we don't know
- // what parent class loader to use.
- SharedLibHelper helper = SharedLibHelper.findHelper(solib);
- if (helper == null)
- throw new IOException("library not loaded: " + solib);
- core = helper.findCore(name);
- if (core == null)
- throw new IOException("couldn't find core object: " + name);
- }
-
- public InputStream getInputStream() throws IOException
- {
- connect();
- return new CoreInputStream(core);
- }
-
- public String getHeaderField(String field)
- {
- try
- {
- if (!connected)
- connect();
-
- if (field.equals("content-type"))
- return guessContentTypeFromName(name);
- else if (field.equals("content-length"))
- return Long.toString(core.length);
- }
- catch (IOException e)
- {
- // Fall through.
- }
- return null;
- }
-}
diff --git a/libjava/gnu/java/net/protocol/gcjlib/Handler.h b/libjava/gnu/java/net/protocol/gcjlib/Handler.h
deleted file mode 100644
index 40813ae..0000000
--- a/libjava/gnu/java/net/protocol/gcjlib/Handler.h
+++ /dev/null
@@ -1,49 +0,0 @@
-
-// 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/gcjlib/Handler.java b/libjava/gnu/java/net/protocol/gcjlib/Handler.java
deleted file mode 100644
index 60f5bcc..0000000
--- a/libjava/gnu/java/net/protocol/gcjlib/Handler.java
+++ /dev/null
@@ -1,24 +0,0 @@
-// Handler.java - URLStreamHandler for gcjlib protocol.
-
-/* Copyright (C) 2003 Free Software Foundation
-
- This file is part of libgcj.
-
-This software is copyrighted work licensed under the terms of the
-Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
-details. */
-
-package gnu.java.net.protocol.gcjlib;
-
-import java.io.IOException;
-import java.net.URL;
-import java.net.URLConnection;
-import java.net.URLStreamHandler;
-
-public class Handler extends URLStreamHandler
-{
- protected URLConnection openConnection (URL url) throws IOException
- {
- return new Connection (url);
- }
-}
diff --git a/libjava/gnu/java/net/protocol/http/Authenticator.h b/libjava/gnu/java/net/protocol/http/Authenticator.h
deleted file mode 100644
index c2390d2..0000000
--- a/libjava/gnu/java/net/protocol/http/Authenticator.h
+++ /dev/null
@@ -1,39 +0,0 @@
-
-// 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
deleted file mode 100644
index 2d9b519..0000000
--- a/libjava/gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.h
+++ /dev/null
@@ -1,47 +0,0 @@
-
-// 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
deleted file mode 100644
index 4a362e9..0000000
--- a/libjava/gnu/java/net/protocol/http/ChunkedInputStream.h
+++ /dev/null
@@ -1,55 +0,0 @@
-
-// 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();
-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
deleted file mode 100644
index 3c23640..0000000
--- a/libjava/gnu/java/net/protocol/http/Cookie.h
+++ /dev/null
@@ -1,56 +0,0 @@
-
-// 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
deleted file mode 100644
index f06ac97..0000000
--- a/libjava/gnu/java/net/protocol/http/CookieManager.h
+++ /dev/null
@@ -1,42 +0,0 @@
-
-// 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
deleted file mode 100644
index e877d54..0000000
--- a/libjava/gnu/java/net/protocol/http/Credentials.h
+++ /dev/null
@@ -1,44 +0,0 @@
-
-// 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
deleted file mode 100644
index 727cb83..0000000
--- a/libjava/gnu/java/net/protocol/http/HTTPConnection$Pool$Reaper.h
+++ /dev/null
@@ -1,44 +0,0 @@
-
-// 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
deleted file mode 100644
index 62aaa26..0000000
--- a/libjava/gnu/java/net/protocol/http/HTTPConnection$Pool.h
+++ /dev/null
@@ -1,50 +0,0 @@
-
-// 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
deleted file mode 100644
index e0d1c46..0000000
--- a/libjava/gnu/java/net/protocol/http/HTTPConnection.h
+++ /dev/null
@@ -1,128 +0,0 @@
-
-// 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
deleted file mode 100644
index 2a305ba..0000000
--- a/libjava/gnu/java/net/protocol/http/HTTPDateFormat.h
+++ /dev/null
@@ -1,62 +0,0 @@
-
-// 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
deleted file mode 100644
index 678a71a..0000000
--- a/libjava/gnu/java/net/protocol/http/HTTPURLConnection$1.h
+++ /dev/null
@@ -1,47 +0,0 @@
-
-// 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:
- virtual ::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
deleted file mode 100644
index 460928e..0000000
--- a/libjava/gnu/java/net/protocol/http/HTTPURLConnection.h
+++ /dev/null
@@ -1,115 +0,0 @@
-
-// 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
deleted file mode 100644
index bd96f2d..0000000
--- a/libjava/gnu/java/net/protocol/http/Handler.h
+++ /dev/null
@@ -1,50 +0,0 @@
-
-// 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
deleted file mode 100644
index ecf4982..0000000
--- a/libjava/gnu/java/net/protocol/http/Headers$HeaderElement.h
+++ /dev/null
@@ -1,41 +0,0 @@
-
-// 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
deleted file mode 100644
index cad6e68..0000000
--- a/libjava/gnu/java/net/protocol/http/Headers.h
+++ /dev/null
@@ -1,62 +0,0 @@
-
-// 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();
- virtual ::java::util::Iterator * iterator();
- 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
deleted file mode 100644
index e70bbcc..0000000
--- a/libjava/gnu/java/net/protocol/http/LimitedLengthInputStream.h
+++ /dev/null
@@ -1,57 +0,0 @@
-
-// 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
deleted file mode 100644
index 2cf4693..0000000
--- a/libjava/gnu/java/net/protocol/http/Request.h
+++ /dev/null
@@ -1,87 +0,0 @@
-
-// 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
deleted file mode 100644
index 1bd32bc..0000000
--- a/libjava/gnu/java/net/protocol/http/RequestBodyWriter.h
+++ /dev/null
@@ -1,42 +0,0 @@
-
-// 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
deleted file mode 100644
index 928b212..0000000
--- a/libjava/gnu/java/net/protocol/http/Response.h
+++ /dev/null
@@ -1,61 +0,0 @@
-
-// 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
deleted file mode 100644
index 055c019..0000000
--- a/libjava/gnu/java/net/protocol/http/ResponseHeaderHandler.h
+++ /dev/null
@@ -1,38 +0,0 @@
-
-// 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
deleted file mode 100644
index fc0b0bf..0000000
--- a/libjava/gnu/java/net/protocol/http/SimpleCookieManager.h
+++ /dev/null
@@ -1,48 +0,0 @@
-
-// 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::ArrayList *, ::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
deleted file mode 100644
index ce077f0..0000000
--- a/libjava/gnu/java/net/protocol/https/Handler.h
+++ /dev/null
@@ -1,50 +0,0 @@
-
-// 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
deleted file mode 100644
index 03744bc..0000000
--- a/libjava/gnu/java/net/protocol/jar/Connection$JarFileCache.h
+++ /dev/null
@@ -1,50 +0,0 @@
-
-// 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
deleted file mode 100644
index 5456919..0000000
--- a/libjava/gnu/java/net/protocol/jar/Connection.h
+++ /dev/null
@@ -1,62 +0,0 @@
-
-// 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
deleted file mode 100644
index b5fb6b6..0000000
--- a/libjava/gnu/java/net/protocol/jar/Handler.h
+++ /dev/null
@@ -1,54 +0,0 @@
-
-// 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__