2#ifndef __dummy_classes_h__
3#define __dummy_classes_h__
5#include "system/event.h"
6#include "system/eventargs.h"
7#include "system/eventhandler.h"
9#include "system/io/text_writer.h"
10#include "system/collections/dictionary.h"
11#include <system/component_model/component.h>
12#include <system/runtime/serialization/iserializable.h>
13#include <net/http_status_code.h>
14#include <net/web_response.h>
15#include <net/http_web_response.h>
16#include <net/http_web_request.h>
17#include <net/file_web_response.h>
18#include <net/file_web_request.h>
57 void AddHeader(
const String& name,
const String& value){ ASPOSE_UNUSED(name); ASPOSE_UNUSED(value);
throw NotImplementedException(ASPOSE_CURRENT_FUNCTION); }
61 void Clear(){
throw NotImplementedException(ASPOSE_CURRENT_FUNCTION); }
63 void ClearContent(){
throw NotImplementedException(ASPOSE_CURRENT_FUNCTION); }
65 void ClearHeaders(){
throw NotImplementedException(ASPOSE_CURRENT_FUNCTION); }
67 void End(){
throw NotImplementedException(ASPOSE_CURRENT_FUNCTION); }
71 void set_ContentType(
const String& value){ ASPOSE_UNUSED(value);
throw NotImplementedException(ASPOSE_CURRENT_FUNCTION); }
75 namespace WebControls {
95 class WebHeaderCollection;
96 class HttpWebResponse;
97 class FileWebResponse;
112 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
120 int64_t
get_ContentLength()
override {
throw NotImplementedException(ASPOSE_CURRENT_FUNCTION); }
129 void Close()
override {
throw NotImplementedException(ASPOSE_CURRENT_FUNCTION); }
136 class HttpWebRequest;
137 class FileWebRequest;
151 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
Defines method that releases resources owned by the current object. Objects of this class should only...
Definition: idisposable.h:30
Implements a File Transfer Protocol (FTP) client. Dummy class making it possible linking translated c...
Definition: dummy_classes.h:143
Dummy class making it possible linking translated code with FtpWebResponse references,...
Definition: dummy_classes.h:105
System::SharedPtr< System::IO::Stream > GetResponseStream() override
Not implemented.
Definition: dummy_classes.h:131
System::String get_ContentType() override
Not implemented.
Definition: dummy_classes.h:122
System::SharedPtr< WebHeaderCollection > get_Headers() override
Not implemented.
Definition: dummy_classes.h:124
System::SharedPtr< System::Uri > get_ResponseUri() override
Not implemented.
Definition: dummy_classes.h:126
int64_t get_ContentLength() override
RTTI info.
Definition: dummy_classes.h:120
void Close() override
Not implemented.
Definition: dummy_classes.h:129
Provides HTTP connection management. Objects of this class should only be allocated using System::Mak...
Definition: service_point.h:24
Represents a web request. Objects of this class should only be allocated using System::MakeObject() f...
Definition: web_request.h:31
Represents a web response. Objects of this class should only be allocated using System::MakeObject() ...
Definition: web_response.h:20
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Dummy class making it possible linking translated code with HttpContext references,...
Definition: dummy_classes.h:36
static System::SharedPtr< HttpContext > get_Current()
Not implemented.
Definition: dummy_classes.h:39
System::SharedPtr< HttpRequest > get_Request()
Not implemented.
Definition: dummy_classes.h:43
static void set_Current(const System::SharedPtr< HttpContext > &context)
Not implemented.
Definition: dummy_classes.h:41
Dummy class making it possible linking translated code with HttpResponse references,...
Definition: dummy_classes.h:52
void AddHeader(const String &name, const String &value)
Not implemented.
Definition: dummy_classes.h:57
void End()
Not implemented.
Definition: dummy_classes.h:67
void set_ContentType(const String &value)
Not implemented.
Definition: dummy_classes.h:71
void BinaryWrite(const System::ArrayPtr< uint8_t > &buffer)
Not implemented.
Definition: dummy_classes.h:59
void ClearContent()
Not implemented.
Definition: dummy_classes.h:63
void Clear()
Not implemented.
Definition: dummy_classes.h:61
void ClearHeaders()
Not implemented.
Definition: dummy_classes.h:65
HttpResponse(const System::SharedPtr< System::IO::TextWriter > &writer)
Not implemented.
Definition: dummy_classes.h:55
SharedPtr< System::IO::Stream > get_OutputStream()
Not implemented.
Definition: dummy_classes.h:69
Dummy class making it possible linking translated code with DataGrid references, but not executing it...
Definition: dummy_classes.h:83
SharedPtr< DataGrid > ptr
Self pointer type.
Definition: dummy_classes.h:86
Definition: db_command.h:9