Datasnap.DSHTTP.TDSResponseHandlerFactory.CreateResponseHandler
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 実装の新しいインスタンスを返します。