Web.HTTPApp.TContentParser

From RAD Studio API Documentation
Jump to: navigation, search

Web.HTTPApp.TAbstractContentParserSystem.TObjectTContentParser

Delphi

TContentParser = class(TAbstractContentParser)

C++

class PASCALIMPLEMENTATION TContentParser : public TAbstractContentParser

Properties

Type Visibility Source Unit Parent
class public
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp Web.HTTPApp

Description

TContentParser is the default parser for extracting named value strings and uploaded files from an HTTP request.

Web request objects use a TContentParser object to parse the content of an HTTP request message when there is no other registered content parser that knows how to interpret that content. The Web request uses the content parser to assign values for its ContentFields and Files properties.

TContentParser does not know how to parse special request formats. It simply calls the Web request object's own ExtractContentFields method to extract named value strings for the request's ContentFields property. It does not parse uploaded files, but merely returns an empty list for the request's Files property.

See Also