Datasnap.DSHTTPCommon.TDSJsonResponseHandler.HandleParameter

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Datasnap.DSHTTPCommon.pas
Datasnap.DSHTTPCommon.hpp
Unit: Datasnap.DSHTTPCommon
Parent: TDSJsonResponseHandler

Delphi

function HandleParameter(const Command: TDBXCommand; const Parameter: TDBXParameter;
out Response: TJSONValue; var ResponseStream: TStream): Boolean; virtual; abstract;

C++

virtual bool __fastcall HandleParameter(Data::Dbxcommon::TDBXCommand* const Command, Data::Dbxcommon::TDBXParameter* const Parameter, /* out */ System::Json::TJSONValue* &Response, System::Classes::TStream* &ResponseStream) = 0 ;

Description

Virtual abstract method that allows subclasses to handle each parameter or allows the base class to transform the parameter into a JSON representation.

The HandleParameter virtual abstract method is to be implemented in derived classes. HandleParameter allows subclasses to handle each parameter as they see fit, or returns False and allows the base class to transform the parameter into a JSON representation.

See Also