OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [java/] [net/] [protocol/] [http/] [HTTPConnection.h] - Blame information for rev 776

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __gnu_java_net_protocol_http_HTTPConnection__
5
#define __gnu_java_net_protocol_http_HTTPConnection__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
extern "Java"
11
{
12
  namespace gnu
13
  {
14
    namespace java
15
    {
16
      namespace net
17
      {
18
        namespace protocol
19
        {
20
          namespace http
21
          {
22
              class CookieManager;
23
              class HTTPConnection;
24
              class HTTPConnection$Pool;
25
              class Request;
26
          }
27
        }
28
      }
29
    }
30
  }
31
  namespace java
32
  {
33
    namespace net
34
    {
35
        class Socket;
36
    }
37
  }
38
  namespace javax
39
  {
40
    namespace net
41
    {
42
      namespace ssl
43
      {
44
          class HandshakeCompletedListener;
45
          class SSLSocketFactory;
46
      }
47
    }
48
  }
49
}
50
 
51
class gnu::java::net::protocol::http::HTTPConnection : public ::java::lang::Object
52
{
53
 
54
public:
55
  HTTPConnection(::java::lang::String *);
56
  HTTPConnection(::java::lang::String *, jboolean);
57
  HTTPConnection(::java::lang::String *, jboolean, jint, jint);
58
  HTTPConnection(::java::lang::String *, jint);
59
  HTTPConnection(::java::lang::String *, jint, jboolean);
60
  HTTPConnection(::java::lang::String *, jint, jboolean, jint, jint);
61
  virtual ::java::lang::String * getHostName();
62
  virtual jint getPort();
63
  virtual jboolean isSecure();
64
  virtual ::java::lang::String * getVersion();
65
  virtual void setVersion(jint, jint);
66
  virtual void setProxy(::java::lang::String *, jint);
67
  virtual jboolean isUsingProxy();
68
  virtual void setCookieManager(::gnu::java::net::protocol::http::CookieManager *);
69
  virtual ::gnu::java::net::protocol::http::CookieManager * getCookieManager();
70
public: // actually package-private
71
  virtual void setPool(::gnu::java::net::protocol::http::HTTPConnection$Pool *);
72
  virtual void release();
73
public:
74
  virtual ::gnu::java::net::protocol::http::Request * newRequest(::java::lang::String *, ::java::lang::String *);
75
  virtual void close();
76
public: // actually protected
77
  virtual ::java::net::Socket * getSocket();
78
public: // actually package-private
79
  virtual ::javax::net::ssl::SSLSocketFactory * getSSLSocketFactory();
80
  virtual void setSSLSocketFactory(::javax::net::ssl::SSLSocketFactory *);
81
public: // actually protected
82
  virtual ::java::io::InputStream * getInputStream();
83
  virtual ::java::io::OutputStream * getOutputStream();
84
  virtual void closeConnection();
85
  virtual ::java::lang::String * getURI();
86
public: // actually package-private
87
  virtual jint getNonceCount(::java::lang::String *);
88
  virtual void incrementNonce(::java::lang::String *);
89
  virtual void addHandshakeCompletedListener(::javax::net::ssl::HandshakeCompletedListener *);
90
  virtual void removeHandshakeCompletedListener(::javax::net::ssl::HandshakeCompletedListener *);
91
public:
92
  static const jint HTTP_PORT = 80;
93
  static const jint HTTPS_PORT = 443;
94
private:
95
  static ::java::lang::String * userAgent;
96
public: // actually protected
97
  ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) hostname;
98
  jint port;
99
  jboolean secure;
100
  jint connectionTimeout;
101
  jint timeout;
102
  ::java::lang::String * proxyHostname;
103
  jint proxyPort;
104
  jint majorVersion;
105
  jint minorVersion;
106
private:
107
  ::java::util::List * handshakeCompletedListeners;
108
public: // actually protected
109
  ::java::net::Socket * socket;
110
private:
111
  ::javax::net::ssl::SSLSocketFactory * sslSocketFactory;
112
public: // actually protected
113
  ::java::io::InputStream * in;
114
  ::java::io::OutputStream * out;
115
private:
116
  ::java::util::Map * nonceCounts;
117
public: // actually protected
118
  ::gnu::java::net::protocol::http::CookieManager * cookieManager;
119
private:
120
  ::gnu::java::net::protocol::http::HTTPConnection$Pool * pool;
121
public: // actually package-private
122
  jint useCount;
123
  jlong timeLastUsed;
124
public:
125
  static ::java::lang::Class class$;
126
};
127
 
128
#endif // __gnu_java_net_protocol_http_HTTPConnection__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.