4#include <system/collections/ienumerable.h>
5#include <system/io/stream.h>
6#include <system/object.h>
7#include <system/shared_ptr.h>
10#include <net/cookie_collection.h>
11#include <net/cookie_container.h>
12#include <net/http/http_response_message.h>
13#include <net/http_status_code.h>
14#include <net/web_header_collection.h>
15#include <net/web_response.h>
17namespace System {
namespace Net {
31 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
33 ASPOSECPP_SHARED_RTTI_INFO_DECL();
74 ASPOSECPP_SHARED_API
void Close()
override;
80 throw NotImplementedException(ASPOSE_CURRENT_FUNCTION);
86#ifdef ASPOSE_GET_SHARED_MEMBERS
88 void GetSharedMembers(System::Object::shared_members_type& result)
const override;
102 void CheckDisposed();
Represents the HTTP web response. Objects of this class should only be allocated using System::MakeOb...
Definition: http_web_response.h:24
virtual String get_StatusDescription()
Returns the string representation of the status code.
System::SharedPtr< Uri > get_ResponseUri() override
Returns the resource's URI.
void Dispose(bool disposing) override
Does nothing.
bool get_SupportsHeaders() override
Returns a value that indicates if the current response supports headers.
System::String get_CharacterSet()
Not implemented.
Definition: http_web_response.h:78
virtual String get_Method()
Returns the HTTP method.
int64_t get_ContentLength() override
Returns the number of bytes of the resource.
String GetResponseHeader(String headerName)
Returns the corresponding value for the specified header name.
void Close() override
Closes the response stream.
HttpWebResponse(System::SharedPtr< Http::HttpResponseMessage > _message, System::SharedPtr< Uri > requestUri, System::SharedPtr< CookieContainer > cookieContainer)
Constructs a new instance.
String get_ContentType() override
Returns the MIME type of the resource.
virtual System::SharedPtr< CookieCollection > get_Cookies()
Returns cookies associated with the web response.
System::SharedPtr< WebHeaderCollection > get_Headers() override
Returns the collection of the headers that are associated with the current response.
virtual HttpStatusCode get_StatusCode()
Returns the HTTP status code associated with the web response.
System::SharedPtr< IO::Stream > GetResponseStream() override
Returns the response stream.
Represents a web response. Objects of this class should only be allocated using System::MakeObject() ...
Definition: web_response.h:20
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
HttpStatusCode
Definition: http_status_code.h:9
Definition: db_command.h:9