Web.HTTPApp.TAbstractContentParser.GetContentFields

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetContentFields: TStrings; virtual; abstract;

C++

virtual System::Classes::TStrings* __fastcall GetContentFields() = 0 ;

Properties

Type Visibility Source Unit Parent
function protected
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TAbstractContentParser

Description

Returns the named value strings that are included in the content of the current Web request.

GetContentFields returns a list of strings with the form "Name=Value" that represent any name/value pairs that the parser identifies in the content of the current Web request.

In TAbstractContentParser, GetContentFields is abstract or, in C++ terminology, pure virtual, meaning that this class does not supply an implementation. Descendant classes override this method to extract name/value pairs from the current request and add them to the returned string list.

Note: The content parser owns the string list it returns. The caller should not free the string list.

See Also