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

Subversion Repositories openrisc

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

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_Request__
5
#define __gnu_java_net_protocol_http_Request__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace java
17
    {
18
      namespace net
19
      {
20
        namespace protocol
21
        {
22
          namespace http
23
          {
24
              class Authenticator;
25
              class HTTPConnection;
26
              class Headers;
27
              class Request;
28
              class RequestBodyWriter;
29
              class Response;
30
              class ResponseHeaderHandler;
31
          }
32
        }
33
      }
34
    }
35
  }
36
}
37
 
38
class gnu::java::net::protocol::http::Request : public ::java::lang::Object
39
{
40
 
41
public: // actually protected
42
  Request(::gnu::java::net::protocol::http::HTTPConnection *, ::java::lang::String *, ::java::lang::String *);
43
public:
44
  virtual ::gnu::java::net::protocol::http::HTTPConnection * getConnection();
45
  virtual ::java::lang::String * getMethod();
46
  virtual ::java::lang::String * getPath();
47
  virtual ::java::lang::String * getRequestURI();
48
  virtual ::gnu::java::net::protocol::http::Headers * getHeaders();
49
  virtual ::java::lang::String * getHeader(::java::lang::String *);
50
  virtual jint getIntHeader(::java::lang::String *);
51
  virtual ::java::util::Date * getDateHeader(::java::lang::String *);
52
  virtual void setHeader(::java::lang::String *, ::java::lang::String *);
53
  virtual void setRequestBody(JArray< jbyte > *);
54
  virtual void setRequestBodyWriter(::gnu::java::net::protocol::http::RequestBodyWriter *);
55
  virtual void setResponseHeaderHandler(::java::lang::String *, ::gnu::java::net::protocol::http::ResponseHeaderHandler *);
56
  virtual void setAuthenticator(::gnu::java::net::protocol::http::Authenticator *);
57
  virtual ::gnu::java::net::protocol::http::Response * dispatch();
58
public: // actually package-private
59
  virtual ::gnu::java::net::protocol::http::Response * readResponse(::java::io::InputStream *);
60
  virtual void notifyHeaderHandlers(::gnu::java::net::protocol::http::Headers *);
61
private:
62
  ::java::io::InputStream * createResponseBodyStream(::gnu::java::net::protocol::http::Headers *, jint, jint, ::java::io::InputStream *, jboolean);
63
public: // actually package-private
64
  virtual jboolean authenticate(::gnu::java::net::protocol::http::Response *, jint);
65
  virtual ::java::util::Properties * parseAuthParams(::java::lang::String *);
66
  virtual ::java::lang::String * unquote(::java::lang::String *);
67
  virtual ::java::lang::String * getNonceCount(::java::lang::String *);
68
  virtual JArray< jbyte > * generateNonce();
69
  virtual ::java::lang::String * toHexString(JArray< jbyte > *);
70
  virtual void handleSetCookie(::java::lang::String *);
71
public: // actually protected
72
  ::gnu::java::net::protocol::http::HTTPConnection * __attribute__((aligned(__alignof__( ::java::lang::Object)))) connection;
73
  ::java::lang::String * method;
74
  ::java::lang::String * path;
75
  ::gnu::java::net::protocol::http::Headers * requestHeaders;
76
  ::gnu::java::net::protocol::http::RequestBodyWriter * requestBodyWriter;
77
  ::java::util::Map * responseHeaderHandlers;
78
  ::gnu::java::net::protocol::http::Authenticator * authenticator;
79
private:
80
  jboolean dispatched;
81
public: // actually package-private
82
  JArray< jbyte > * nonce;
83
public:
84
  static ::java::lang::Class class$;
85
};
86
 
87
#endif // __gnu_java_net_protocol_http_Request__

powered by: WebSVN 2.1.0

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