4#include <system/array.h>
5#include <system/collections/dictionary.h>
6#include <system/collections/hashset.h>
7#include <system/collections/ienumerable.h>
8#include <system/collections/ienumerator.h>
9#include <system/collections/iequality_comparer.h>
10#include <system/collections/keyvalue_pair.h>
11#include <system/collections/list.h>
12#include <system/collections/sorted_dictionary.h>
13#include <system/constraints.h>
14#include <system/diagnostics/debug.h>
15#include <system/exceptions.h>
16#include <system/object.h>
17#include <system/object_ext.h>
18#include <system/shared_ptr.h>
19#include <system/string.h>
21namespace System {
namespace Net {
namespace Http {
namespace Headers {
23template <
typename TResult>
26class HttpHeaderParser;
34 System::String, System::SharedPtr<System::Collections::Generic::IEnumerable<System::String>>>>
44 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
46 ASPOSECPP_SHARED_RTTI_INFO_DECL();
50 enum class StoreLocation
61 typedef HeaderStoreItemInfo
ThisType;
64 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
65 ASPOSECPP_SHARED_RTTI_INFO_DECL();
75 bool get_CanAddValue();
103 ASPOSECPP_SHARED_API
bool
187#ifdef ASPOSE_GET_SHARED_MEMBERS
189 void GetSharedMembers(System::Object::shared_members_type& result)
const override;
234 bool removeEmptyHeader);
236 static void ParseMultipleRawHeaderValues(
243 String value,
bool addWhenInvalid);
246 HttpHeaders::StoreLocation location);
259 void CheckHeaderName(
String name);
261 bool TryCheckHeaderName(
String name);
263 static void CheckInvalidNewLine(
String value);
265 static bool ContainsInvalidNewLine(
String value,
String name);
274 template <
typename T>
277 if (valueStore ==
nullptr)
283 System::AsCast<System::Collections::Generic::List<T>>(valueStore);
284 if (values !=
nullptr)
286 valueCount += values->get_Count();
Forward declaration of Dictionary class.
Definition: dictionary.h:96
Forward declaration of HashSet class.
Definition: hashset.h:82
Interface of object providing enumerator on contained elements.
Definition: ienumerable.h:25
Interface of enumerator which can be used to iterate through some elements. Objects of this class sho...
Definition: ienumerator.h:63
Interface providing means to compare two objects for equality. Objects of this class should only be a...
Definition: iequality_comparer.h:17
Pair of key and value. This type should be allocated on stack and passed to functions by value or by ...
Definition: keyvalue_pair.h:20
List forward declaration.
Definition: list.h:127
Sorted dictionary type forward declaration.
Definition: sorted_dictionary.h:52
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
@ Parsed
The parsing is successfully done.
Definition: db_command.h:9