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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [net/] [URLConnection.h] - Blame information for rev 861

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

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_net_URLConnection__
5
#define __java_net_URLConnection__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace net
17
    {
18
        class ContentHandler;
19
        class ContentHandlerFactory;
20
        class FileNameMap;
21
        class URL;
22
        class URLConnection;
23
    }
24
    namespace security
25
    {
26
        class Permission;
27
    }
28
    namespace text
29
    {
30
        class ParsePosition;
31
        class SimpleDateFormat;
32
    }
33
  }
34
}
35
 
36
class java::net::URLConnection : public ::java::lang::Object
37
{
38
 
39
public: // actually protected
40
  URLConnection(::java::net::URL *);
41
public:
42
  virtual void connect() = 0;
43
  virtual ::java::net::URL * getURL();
44
  virtual jint getConnectTimeout();
45
  virtual void setConnectTimeout(jint);
46
  virtual jint getReadTimeout();
47
  virtual void setReadTimeout(jint);
48
  virtual jint getContentLength();
49
  virtual ::java::lang::String * getContentType();
50
  virtual ::java::lang::String * getContentEncoding();
51
  virtual jlong getExpiration();
52
  virtual jlong getDate();
53
  virtual jlong getLastModified();
54
  virtual ::java::lang::String * getHeaderField(jint);
55
  virtual ::java::lang::String * getHeaderField(::java::lang::String *);
56
  virtual ::java::util::Map * getHeaderFields();
57
  virtual jint getHeaderFieldInt(::java::lang::String *, jint);
58
  virtual jlong getHeaderFieldDate(::java::lang::String *, jlong);
59
  virtual ::java::lang::String * getHeaderFieldKey(jint);
60
  virtual ::java::lang::Object * getContent();
61
  virtual ::java::lang::Object * getContent(JArray< ::java::lang::Class * > *);
62
  virtual ::java::security::Permission * getPermission();
63
  virtual ::java::io::InputStream * getInputStream();
64
  virtual ::java::io::OutputStream * getOutputStream();
65
  virtual ::java::lang::String * toString();
66
  virtual void setDoInput(jboolean);
67
  virtual jboolean getDoInput();
68
  virtual void setDoOutput(jboolean);
69
  virtual jboolean getDoOutput();
70
  virtual void setAllowUserInteraction(jboolean);
71
  virtual jboolean getAllowUserInteraction();
72
  static void setDefaultAllowUserInteraction(jboolean);
73
  static jboolean getDefaultAllowUserInteraction();
74
  virtual void setUseCaches(jboolean);
75
  virtual jboolean getUseCaches();
76
  virtual void setIfModifiedSince(jlong);
77
  virtual jlong getIfModifiedSince();
78
  virtual jboolean getDefaultUseCaches();
79
  virtual void setDefaultUseCaches(jboolean);
80
  virtual void setRequestProperty(::java::lang::String *, ::java::lang::String *);
81
  virtual void addRequestProperty(::java::lang::String *, ::java::lang::String *);
82
  virtual ::java::lang::String * getRequestProperty(::java::lang::String *);
83
  virtual ::java::util::Map * getRequestProperties();
84
  static void setDefaultRequestProperty(::java::lang::String *, ::java::lang::String *);
85
  static ::java::lang::String * getDefaultRequestProperty(::java::lang::String *);
86
  static void setContentHandlerFactory(::java::net::ContentHandlerFactory *);
87
  static ::java::lang::String * guessContentTypeFromName(::java::lang::String *);
88
  static ::java::lang::String * guessContentTypeFromStream(::java::io::InputStream *);
89
  static ::java::net::FileNameMap * getFileNameMap();
90
  static void setFileNameMap(::java::net::FileNameMap *);
91
private:
92
  ::java::net::ContentHandler * getContentHandler(::java::lang::String *);
93
  static void initializeDateFormats();
94
  static ::java::net::FileNameMap * fileNameMap;
95
  static ::java::net::ContentHandlerFactory * factory;
96
  static jboolean defaultAllowUserInteraction;
97
  static jboolean defaultUseCaches;
98
  static ::java::net::ContentHandlerFactory * defaultFactory;
99
public: // actually protected
100
  jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) allowUserInteraction;
101
  jboolean connected;
102
  jboolean doInput;
103
  jboolean doOutput;
104
  jboolean useCaches;
105
  jlong ifModifiedSince;
106
  ::java::net::URL * url;
107
private:
108
  static JArray< ::java::text::SimpleDateFormat * > * dateFormats;
109
  static jboolean dateformats_initialized;
110
  jint connectTimeout;
111
  jint readTimeout;
112
  ::java::text::ParsePosition * position;
113
public:
114
  static ::java::lang::Class class$;
115
};
116
 
117
#endif // __java_net_URLConnection__

powered by: WebSVN 2.1.0

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