Datasnap.DSHTTP.TDSResponseHandlerFactory.CreateResponseHandler

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

class function CreateResponseHandler(DSService: TDSService;  RequestInfo: TDSHTTPRequest; CommandType: TDSHTTPCommandType = TDSHTTPCommandType.hcUnknown; HTTPServer: TDSHTTPServer = nil): TDSServiceResponseHandler; overload;
class function CreateResponseHandler(DSService: TDSService;  RequestInfo: TDSHTTPRequest; CommandType: TDSHTTPCommandType; HTTPServer: TDSRESTServer): TDSServiceResponseHandler; overload;

C++

__classmethod Datasnap::Dshttpcommon::TDSServiceResponseHandler* __fastcall CreateResponseHandler(Datasnap::Dsservice::TDSService* DSService, Datasnap::Dshttpcommon::TDSHTTPRequest* RequestInfo, Datasnap::Dshttpcommon::TDSHTTPCommandType CommandType = (Datasnap::Dshttpcommon::TDSHTTPCommandType)(0x0), TDSHTTPServer* HTTPServer = (TDSHTTPServer*)(0x0))/* overload */;
__classmethod Datasnap::Dshttpcommon::TDSServiceResponseHandler* __fastcall CreateResponseHandler(Datasnap::Dsservice::TDSService* DSService, Datasnap::Dshttpcommon::TDSHTTPRequest* RequestInfo, Datasnap::Dshttpcommon::TDSHTTPCommandType CommandType, TDSRESTServer* HTTPServer)/* overload */;

プロパティ

種類 可視性 ソース ユニット
function public
Datasnap.DSHTTP.pas
Datasnap.DSHTTP.hpp
Datasnap.DSHTTP TDSResponseHandlerFactory

説明

適切な TDSServiceResponseHandler 実装の新しいインスタンスを返します。

CreateResponseHandler メソッドは、提供された情報を元に、適切な TDSServiceResponseHandler 実装の新しいインスタンスを返します。