aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.7/libjava/gnu/java/net/protocol/http
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.7/libjava/gnu/java/net/protocol/http')
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/Authenticator.h39
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.h47
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/ChunkedInputStream.h55
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/Cookie.h56
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/CookieManager.h42
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/Credentials.h44
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPConnection$Pool$Reaper.h44
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPConnection$Pool.h50
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPConnection.h128
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPDateFormat.h62
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPURLConnection$1.h47
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPURLConnection.h115
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/Handler.h50
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/Headers$HeaderElement.h41
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/Headers.h62
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/LimitedLengthInputStream.h57
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/Request.h87
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/RequestBodyWriter.h42
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/Response.h61
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/ResponseHeaderHandler.h38
-rw-r--r--gcc-4.7/libjava/gnu/java/net/protocol/http/SimpleCookieManager.h48
21 files changed, 1215 insertions, 0 deletions
diff --git a/gcc-4.7/libjava/gnu/java/net/protocol/http/Authenticator.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/Authenticator.h
new file mode 100644
index 000000000..c2390d2b3
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/Authenticator.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_Authenticator__
+#define __gnu_java_net_protocol_http_Authenticator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Authenticator;
+ class Credentials;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::Authenticator : public ::java::lang::Object
+{
+
+public:
+ virtual ::gnu::java::net::protocol::http::Credentials * getCredentials(::java::lang::String *, jint) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_java_net_protocol_http_Authenticator__
diff --git a/gcc-4.7/libjava/gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.h
new file mode 100644
index 000000000..2d9b51957
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_ByteArrayRequestBodyWriter__
+#define __gnu_java_net_protocol_http_ByteArrayRequestBodyWriter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class ByteArrayRequestBodyWriter;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::ByteArrayRequestBodyWriter : public ::java::lang::Object
+{
+
+public:
+ ByteArrayRequestBodyWriter(JArray< jbyte > *);
+ virtual jint getContentLength();
+ virtual void reset();
+ virtual jint write(JArray< jbyte > *);
+public: // actually protected
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) content;
+ jint pos;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_ByteArrayRequestBodyWriter__
diff --git a/gcc-4.7/libjava/gnu/java/net/protocol/http/ChunkedInputStream.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/ChunkedInputStream.h
new file mode 100644
index 000000000..4a362e96b
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/ChunkedInputStream.h
@@ -0,0 +1,55 @@
+
+// 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/gcc-4.7/libjava/gnu/java/net/protocol/http/Cookie.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/Cookie.h
new file mode 100644
index 000000000..3c2364060
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/Cookie.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_Cookie__
+#define __gnu_java_net_protocol_http_Cookie__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Cookie;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::Cookie : public ::java::lang::Object
+{
+
+public:
+ Cookie(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, jboolean, ::java::util::Date *);
+ virtual ::java::lang::String * getName();
+ virtual ::java::lang::String * getValue();
+ virtual ::java::lang::String * getComment();
+ virtual ::java::lang::String * getDomain();
+ virtual ::java::lang::String * getPath();
+ virtual jboolean isSecure();
+ virtual ::java::util::Date * getExpiryDate();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(jboolean, jboolean);
+public: // actually protected
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::java::lang::String * value;
+ ::java::lang::String * comment;
+ ::java::lang::String * domain;
+ ::java::lang::String * path;
+ jboolean secure;
+ ::java::util::Date * expires;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_Cookie__
diff --git a/gcc-4.7/libjava/gnu/java/net/protocol/http/CookieManager.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/CookieManager.h
new file mode 100644
index 000000000..f06ac974b
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/CookieManager.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_CookieManager__
+#define __gnu_java_net_protocol_http_CookieManager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Cookie;
+ class CookieManager;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::CookieManager : public ::java::lang::Object
+{
+
+public:
+ virtual void setCookie(::gnu::java::net::protocol::http::Cookie *) = 0;
+ virtual JArray< ::gnu::java::net::protocol::http::Cookie * > * getCookies(::java::lang::String *, jboolean, ::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_java_net_protocol_http_CookieManager__
diff --git a/gcc-4.7/libjava/gnu/java/net/protocol/http/Credentials.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/Credentials.h
new file mode 100644
index 000000000..e877d54d9
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/Credentials.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_Credentials__
+#define __gnu_java_net_protocol_http_Credentials__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Credentials;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::Credentials : public ::java::lang::Object
+{
+
+public:
+ Credentials(::java::lang::String *, ::java::lang::String *);
+ virtual ::java::lang::String * getUsername();
+ virtual ::java::lang::String * getPassword();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) username;
+ ::java::lang::String * password;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_Credentials__
diff --git a/gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPConnection$Pool$Reaper.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPConnection$Pool$Reaper.h
new file mode 100644
index 000000000..727cb83ae
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPConnection$Pool$Reaper.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_HTTPConnection$Pool$Reaper__
+#define __gnu_java_net_protocol_http_HTTPConnection$Pool$Reaper__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class HTTPConnection$Pool;
+ class HTTPConnection$Pool$Reaper;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::HTTPConnection$Pool$Reaper : public ::java::lang::Object
+{
+
+public: // actually package-private
+ HTTPConnection$Pool$Reaper(::gnu::java::net::protocol::http::HTTPConnection$Pool *);
+public:
+ virtual void run();
+public: // actually package-private
+ ::gnu::java::net::protocol::http::HTTPConnection$Pool * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_HTTPConnection$Pool$Reaper__
diff --git a/gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPConnection$Pool.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPConnection$Pool.h
new file mode 100644
index 000000000..62aaa265b
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPConnection$Pool.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_HTTPConnection$Pool__
+#define __gnu_java_net_protocol_http_HTTPConnection$Pool__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class HTTPConnection;
+ class HTTPConnection$Pool;
+ class HTTPConnection$Pool$Reaper;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::HTTPConnection$Pool : public ::java::lang::Object
+{
+
+ HTTPConnection$Pool();
+ static jboolean matches(::gnu::java::net::protocol::http::HTTPConnection *, ::java::lang::String *, jint, jboolean);
+public: // actually package-private
+ virtual ::gnu::java::net::protocol::http::HTTPConnection * get(::java::lang::String *, jint, jboolean, jint, jint);
+ virtual void put(::gnu::java::net::protocol::http::HTTPConnection *);
+ virtual void removeOldest();
+ static ::gnu::java::net::protocol::http::HTTPConnection$Pool * instance;
+ ::java::util::LinkedList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) connectionPool;
+ jint maxConnections;
+ jint connectionTTL;
+ ::gnu::java::net::protocol::http::HTTPConnection$Pool$Reaper * reaper;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_HTTPConnection$Pool__
diff --git a/gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPConnection.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPConnection.h
new file mode 100644
index 000000000..e0d1c4628
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPConnection.h
@@ -0,0 +1,128 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_HTTPConnection__
+#define __gnu_java_net_protocol_http_HTTPConnection__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class CookieManager;
+ class HTTPConnection;
+ class HTTPConnection$Pool;
+ class Request;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class Socket;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class HandshakeCompletedListener;
+ class SSLSocketFactory;
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::HTTPConnection : public ::java::lang::Object
+{
+
+public:
+ HTTPConnection(::java::lang::String *);
+ HTTPConnection(::java::lang::String *, jboolean);
+ HTTPConnection(::java::lang::String *, jboolean, jint, jint);
+ HTTPConnection(::java::lang::String *, jint);
+ HTTPConnection(::java::lang::String *, jint, jboolean);
+ HTTPConnection(::java::lang::String *, jint, jboolean, jint, jint);
+ virtual ::java::lang::String * getHostName();
+ virtual jint getPort();
+ virtual jboolean isSecure();
+ virtual ::java::lang::String * getVersion();
+ virtual void setVersion(jint, jint);
+ virtual void setProxy(::java::lang::String *, jint);
+ virtual jboolean isUsingProxy();
+ virtual void setCookieManager(::gnu::java::net::protocol::http::CookieManager *);
+ virtual ::gnu::java::net::protocol::http::CookieManager * getCookieManager();
+public: // actually package-private
+ virtual void setPool(::gnu::java::net::protocol::http::HTTPConnection$Pool *);
+ virtual void release();
+public:
+ virtual ::gnu::java::net::protocol::http::Request * newRequest(::java::lang::String *, ::java::lang::String *);
+ virtual void close();
+public: // actually protected
+ virtual ::java::net::Socket * getSocket();
+public: // actually package-private
+ virtual ::javax::net::ssl::SSLSocketFactory * getSSLSocketFactory();
+ virtual void setSSLSocketFactory(::javax::net::ssl::SSLSocketFactory *);
+public: // actually protected
+ virtual ::java::io::InputStream * getInputStream();
+ virtual ::java::io::OutputStream * getOutputStream();
+ virtual void closeConnection();
+ virtual ::java::lang::String * getURI();
+public: // actually package-private
+ virtual jint getNonceCount(::java::lang::String *);
+ virtual void incrementNonce(::java::lang::String *);
+ virtual void addHandshakeCompletedListener(::javax::net::ssl::HandshakeCompletedListener *);
+ virtual void removeHandshakeCompletedListener(::javax::net::ssl::HandshakeCompletedListener *);
+public:
+ static const jint HTTP_PORT = 80;
+ static const jint HTTPS_PORT = 443;
+private:
+ static ::java::lang::String * userAgent;
+public: // actually protected
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) hostname;
+ jint port;
+ jboolean secure;
+ jint connectionTimeout;
+ jint timeout;
+ ::java::lang::String * proxyHostname;
+ jint proxyPort;
+ jint majorVersion;
+ jint minorVersion;
+private:
+ ::java::util::List * handshakeCompletedListeners;
+public: // actually protected
+ ::java::net::Socket * socket;
+private:
+ ::javax::net::ssl::SSLSocketFactory * sslSocketFactory;
+public: // actually protected
+ ::java::io::InputStream * in;
+ ::java::io::OutputStream * out;
+private:
+ ::java::util::Map * nonceCounts;
+public: // actually protected
+ ::gnu::java::net::protocol::http::CookieManager * cookieManager;
+private:
+ ::gnu::java::net::protocol::http::HTTPConnection$Pool * pool;
+public: // actually package-private
+ jint useCount;
+ jlong timeLastUsed;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_HTTPConnection__
diff --git a/gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPDateFormat.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPDateFormat.h
new file mode 100644
index 000000000..2a305bac8
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPDateFormat.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_HTTPDateFormat__
+#define __gnu_java_net_protocol_http_HTTPDateFormat__
+
+#pragma interface
+
+#include <java/text/DateFormat.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class HTTPDateFormat;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace text
+ {
+ class FieldPosition;
+ class NumberFormat;
+ class ParsePosition;
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::HTTPDateFormat : public ::java::text::DateFormat
+{
+
+public:
+ HTTPDateFormat();
+ virtual ::java::lang::StringBuffer * format(::java::util::Date *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
+ virtual ::java::util::Date * parse(::java::lang::String *, ::java::text::ParsePosition *);
+private:
+ jint skipWhitespace(::java::lang::String *, jint);
+ jint skipNonWhitespace(::java::lang::String *, jint);
+ jint skipTo(::java::lang::String *, jint, jchar);
+public:
+ virtual void setCalendar(::java::util::Calendar *);
+ virtual void setNumberFormat(::java::text::NumberFormat *);
+public: // actually package-private
+ static JArray< ::java::lang::String * > * DAYS_OF_WEEK;
+ static JArray< ::java::lang::String * > * MONTHS;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_HTTPDateFormat__
diff --git a/gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPURLConnection$1.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPURLConnection$1.h
new file mode 100644
index 000000000..678a71ac4
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPURLConnection$1.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_HTTPURLConnection$1__
+#define __gnu_java_net_protocol_http_HTTPURLConnection$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Credentials;
+ class HTTPURLConnection;
+ class HTTPURLConnection$1;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::HTTPURLConnection$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ HTTPURLConnection$1(::gnu::java::net::protocol::http::HTTPURLConnection *, ::gnu::java::net::protocol::http::Credentials *);
+public:
+ 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/gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPURLConnection.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPURLConnection.h
new file mode 100644
index 000000000..460928e6b
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/HTTPURLConnection.h
@@ -0,0 +1,115 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_HTTPURLConnection__
+#define __gnu_java_net_protocol_http_HTTPURLConnection__
+
+#pragma interface
+
+#include <javax/net/ssl/HttpsURLConnection.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class HTTPConnection;
+ class HTTPURLConnection;
+ class Headers;
+ class Request;
+ class Response;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ namespace security
+ {
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class HandshakeCompletedEvent;
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::HTTPURLConnection : public ::javax::net::ssl::HttpsURLConnection
+{
+
+public:
+ HTTPURLConnection(::java::net::URL *);
+ virtual void connect();
+public: // actually package-private
+ virtual ::gnu::java::net::protocol::http::HTTPConnection * getConnection(::java::lang::String *, jint, jboolean);
+public:
+ virtual void disconnect();
+ virtual jboolean usingProxy();
+ virtual void setRequestMethod(::java::lang::String *);
+ virtual ::java::lang::String * getRequestProperty(::java::lang::String *);
+ virtual ::java::util::Map * getRequestProperties();
+ virtual void setRequestProperty(::java::lang::String *, ::java::lang::String *);
+ virtual void addRequestProperty(::java::lang::String *, ::java::lang::String *);
+ virtual ::java::io::OutputStream * getOutputStream();
+ virtual ::java::io::InputStream * getInputStream();
+ virtual ::java::io::InputStream * getErrorStream();
+ virtual ::java::util::Map * getHeaderFields();
+public: // actually package-private
+ virtual ::java::lang::String * getStatusLine(::gnu::java::net::protocol::http::Response *);
+public:
+ virtual ::java::lang::String * getHeaderField(jint);
+ virtual ::java::lang::String * getHeaderFieldKey(jint);
+ virtual ::java::lang::String * getHeaderField(::java::lang::String *);
+ virtual jlong getHeaderFieldDate(::java::lang::String *, jlong);
+ virtual ::java::lang::String * getContentType();
+ virtual jint getResponseCode();
+ virtual ::java::lang::String * getResponseMessage();
+ virtual ::java::lang::String * getCipherSuite();
+ virtual JArray< ::java::security::cert::Certificate * > * getLocalCertificates();
+ virtual JArray< ::java::security::cert::Certificate * > * getServerCertificates();
+ virtual void handshakeCompleted(::javax::net::ssl::HandshakeCompletedEvent *);
+ virtual void setReadTimeout(jint);
+private:
+ ::gnu::java::net::protocol::http::HTTPConnection * __attribute__((aligned(__alignof__( ::javax::net::ssl::HttpsURLConnection)))) connection;
+public: // actually package-private
+ ::java::lang::String * proxyHostname;
+ jint proxyPort;
+ ::java::lang::String * agent;
+ jboolean keepAlive;
+private:
+ ::gnu::java::net::protocol::http::Request * request;
+ ::gnu::java::net::protocol::http::Headers * requestHeaders;
+ ::java::io::ByteArrayOutputStream * requestSink;
+ jboolean requestMethodSetExplicitly;
+ ::gnu::java::net::protocol::http::Response * response;
+ ::java::io::InputStream * responseSink;
+ ::java::io::InputStream * errorSink;
+ ::javax::net::ssl::HandshakeCompletedEvent * handshakeEvent;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_HTTPURLConnection__
diff --git a/gcc-4.7/libjava/gnu/java/net/protocol/http/Handler.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/Handler.h
new file mode 100644
index 000000000..bd96f2d8b
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/Handler.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_Handler__
+#define __gnu_java_net_protocol_http_Handler__
+
+#pragma interface
+
+#include <java/net/URLStreamHandler.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Handler;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLConnection;
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::Handler : public ::java::net::URLStreamHandler
+{
+
+public:
+ Handler();
+public: // actually protected
+ virtual jint getDefaultPort();
+public:
+ virtual ::java::net::URLConnection * openConnection(::java::net::URL *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_Handler__
diff --git a/gcc-4.7/libjava/gnu/java/net/protocol/http/Headers$HeaderElement.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/Headers$HeaderElement.h
new file mode 100644
index 000000000..ecf4982f0
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/Headers$HeaderElement.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_Headers$HeaderElement__
+#define __gnu_java_net_protocol_http_Headers$HeaderElement__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Headers$HeaderElement;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::Headers$HeaderElement : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Headers$HeaderElement(::java::lang::String *, ::java::lang::String *);
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::java::lang::String * value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_Headers$HeaderElement__
diff --git a/gcc-4.7/libjava/gnu/java/net/protocol/http/Headers.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/Headers.h
new file mode 100644
index 000000000..cad6e68a7
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/Headers.h
@@ -0,0 +1,62 @@
+
+// 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/gcc-4.7/libjava/gnu/java/net/protocol/http/LimitedLengthInputStream.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/LimitedLengthInputStream.h
new file mode 100644
index 000000000..e70bbcc03
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/LimitedLengthInputStream.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_LimitedLengthInputStream__
+#define __gnu_java_net_protocol_http_LimitedLengthInputStream__
+
+#pragma interface
+
+#include <java/io/InputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class HTTPConnection;
+ class LimitedLengthInputStream;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::LimitedLengthInputStream : public ::java::io::InputStream
+{
+
+ void handleClose();
+public: // actually package-private
+ LimitedLengthInputStream(::java::io::InputStream *, jlong, jboolean, ::gnu::java::net::protocol::http::HTTPConnection *, jboolean);
+public:
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *);
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual jlong skip(jlong);
+ virtual jint available();
+ virtual void close();
+private:
+ jlong __attribute__((aligned(__alignof__( ::java::io::InputStream)))) remainingLen;
+ jboolean restrictLen;
+ ::gnu::java::net::protocol::http::HTTPConnection * connection;
+ jboolean eof;
+ ::java::io::InputStream * in;
+ jboolean doClose;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_LimitedLengthInputStream__
diff --git a/gcc-4.7/libjava/gnu/java/net/protocol/http/Request.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/Request.h
new file mode 100644
index 000000000..2cf4693cf
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/Request.h
@@ -0,0 +1,87 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_Request__
+#define __gnu_java_net_protocol_http_Request__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Authenticator;
+ class HTTPConnection;
+ class Headers;
+ class Request;
+ class RequestBodyWriter;
+ class Response;
+ class ResponseHeaderHandler;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::Request : public ::java::lang::Object
+{
+
+public: // actually protected
+ Request(::gnu::java::net::protocol::http::HTTPConnection *, ::java::lang::String *, ::java::lang::String *);
+public:
+ virtual ::gnu::java::net::protocol::http::HTTPConnection * getConnection();
+ virtual ::java::lang::String * getMethod();
+ virtual ::java::lang::String * getPath();
+ virtual ::java::lang::String * getRequestURI();
+ virtual ::gnu::java::net::protocol::http::Headers * getHeaders();
+ virtual ::java::lang::String * getHeader(::java::lang::String *);
+ virtual jint getIntHeader(::java::lang::String *);
+ virtual ::java::util::Date * getDateHeader(::java::lang::String *);
+ virtual void setHeader(::java::lang::String *, ::java::lang::String *);
+ virtual void setRequestBody(JArray< jbyte > *);
+ virtual void setRequestBodyWriter(::gnu::java::net::protocol::http::RequestBodyWriter *);
+ virtual void setResponseHeaderHandler(::java::lang::String *, ::gnu::java::net::protocol::http::ResponseHeaderHandler *);
+ virtual void setAuthenticator(::gnu::java::net::protocol::http::Authenticator *);
+ virtual ::gnu::java::net::protocol::http::Response * dispatch();
+public: // actually package-private
+ virtual ::gnu::java::net::protocol::http::Response * readResponse(::java::io::InputStream *);
+ virtual void notifyHeaderHandlers(::gnu::java::net::protocol::http::Headers *);
+private:
+ ::java::io::InputStream * createResponseBodyStream(::gnu::java::net::protocol::http::Headers *, jint, jint, ::java::io::InputStream *, jboolean);
+public: // actually package-private
+ virtual jboolean authenticate(::gnu::java::net::protocol::http::Response *, jint);
+ virtual ::java::util::Properties * parseAuthParams(::java::lang::String *);
+ virtual ::java::lang::String * unquote(::java::lang::String *);
+ virtual ::java::lang::String * getNonceCount(::java::lang::String *);
+ virtual JArray< jbyte > * generateNonce();
+ virtual ::java::lang::String * toHexString(JArray< jbyte > *);
+ virtual void handleSetCookie(::java::lang::String *);
+public: // actually protected
+ ::gnu::java::net::protocol::http::HTTPConnection * __attribute__((aligned(__alignof__( ::java::lang::Object)))) connection;
+ ::java::lang::String * method;
+ ::java::lang::String * path;
+ ::gnu::java::net::protocol::http::Headers * requestHeaders;
+ ::gnu::java::net::protocol::http::RequestBodyWriter * requestBodyWriter;
+ ::java::util::Map * responseHeaderHandlers;
+ ::gnu::java::net::protocol::http::Authenticator * authenticator;
+private:
+ jboolean dispatched;
+public: // actually package-private
+ JArray< jbyte > * nonce;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_Request__
diff --git a/gcc-4.7/libjava/gnu/java/net/protocol/http/RequestBodyWriter.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/RequestBodyWriter.h
new file mode 100644
index 000000000..1bd32bc86
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/RequestBodyWriter.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_RequestBodyWriter__
+#define __gnu_java_net_protocol_http_RequestBodyWriter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class RequestBodyWriter;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::RequestBodyWriter : public ::java::lang::Object
+{
+
+public:
+ virtual jint getContentLength() = 0;
+ virtual void reset() = 0;
+ virtual jint write(JArray< jbyte > *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_java_net_protocol_http_RequestBodyWriter__
diff --git a/gcc-4.7/libjava/gnu/java/net/protocol/http/Response.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/Response.h
new file mode 100644
index 000000000..928b21247
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/Response.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_Response__
+#define __gnu_java_net_protocol_http_Response__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Headers;
+ class Response;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::Response : public ::java::lang::Object
+{
+
+public: // actually protected
+ Response(jint, jint, jint, ::java::lang::String *, ::gnu::java::net::protocol::http::Headers *, ::java::io::InputStream *);
+public:
+ virtual jint getMajorVersion();
+ virtual jint getMinorVersion();
+ virtual jint getCode();
+ virtual jint getCodeClass();
+ virtual ::java::lang::String * getMessage();
+ virtual ::gnu::java::net::protocol::http::Headers * getHeaders();
+ virtual ::java::lang::String * getHeader(::java::lang::String *);
+ virtual jint getIntHeader(::java::lang::String *);
+ virtual jlong getLongHeader(::java::lang::String *);
+ virtual ::java::util::Date * getDateHeader(::java::lang::String *);
+ virtual jboolean isRedirect();
+ virtual jboolean isError();
+ virtual ::java::io::InputStream * getBody();
+public: // actually protected
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) majorVersion;
+ jint minorVersion;
+ jint code;
+ ::java::lang::String * message;
+ ::gnu::java::net::protocol::http::Headers * headers;
+ ::java::io::InputStream * body;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_net_protocol_http_Response__
diff --git a/gcc-4.7/libjava/gnu/java/net/protocol/http/ResponseHeaderHandler.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/ResponseHeaderHandler.h
new file mode 100644
index 000000000..055c019a1
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/ResponseHeaderHandler.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_ResponseHeaderHandler__
+#define __gnu_java_net_protocol_http_ResponseHeaderHandler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class ResponseHeaderHandler;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::ResponseHeaderHandler : public ::java::lang::Object
+{
+
+public:
+ virtual void setValue(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_java_net_protocol_http_ResponseHeaderHandler__
diff --git a/gcc-4.7/libjava/gnu/java/net/protocol/http/SimpleCookieManager.h b/gcc-4.7/libjava/gnu/java/net/protocol/http/SimpleCookieManager.h
new file mode 100644
index 000000000..fc0b0bf32
--- /dev/null
+++ b/gcc-4.7/libjava/gnu/java/net/protocol/http/SimpleCookieManager.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_net_protocol_http_SimpleCookieManager__
+#define __gnu_java_net_protocol_http_SimpleCookieManager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ namespace protocol
+ {
+ namespace http
+ {
+ class Cookie;
+ class SimpleCookieManager;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::net::protocol::http::SimpleCookieManager : public ::java::lang::Object
+{
+
+public:
+ SimpleCookieManager();
+ virtual void setCookie(::gnu::java::net::protocol::http::Cookie *);
+ virtual JArray< ::gnu::java::net::protocol::http::Cookie * > * getCookies(::java::lang::String *, jboolean, ::java::lang::String *);
+private:
+ void addCookies(::java::util::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__