RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TContentParser Class

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

Pascal
TContentParser = class(TAbstractContentParser);
C++
class TContentParser : public TAbstractContentParser;

HTTPApp

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!