API:Datasnap.DSHTTP.TDSHTTPServiceFileDispatcher

De RAD Studio API Documentation
Aller à : navigation, rechercher

Datasnap.DSHTTP.TDSCustomHTTPServiceFileDispatcherDatasnap.DSHTTP.TDSHTTPServiceComponentSystem.Classes.TComponentSystem.Classes.TPersistentTDSHTTPServiceFileDispatcher

Delphi

TDSHTTPServiceFileDispatcher = class(TDSCustomHTTPServiceFileDispatcher)

C++

class PASCALIMPLEMENTATION TDSHTTPServiceFileDispatcher : public TDSCustomHTTPServiceFileDispatcher

Propriétés

Type Visibilité  Source Unité  Parent
class public
Datasnap.DSHTTP.pas
Datasnap.DSHTTP.hpp
Datasnap.DSHTTP Datasnap.DSHTTP

Description

Implémente un composant de service répartiteur de fichiers HTTP.

Datasnap.DSHTTP.TDSHTTPServiceFileDispatcher hérite de Datasnap.DSHTTP.TDSCustomHTTPServiceFileDispatcher. Tout le contenu en-dessous de cette ligne se réfère à Datasnap.DSHTTP.TDSCustomHTTPServiceFileDispatcher.

Implémente un composant de service répartiteur de fichiers HTTP.

TDSCustomHTTPServiceFileDispatcher est la classe de base pour un composant TDSHTTPServiceFileDispatcher utilisé pour implémenter un composant de service répartiteur de fichiers HTTP.

TDSCustomHTTPServiceFileDispatcher est un composant de service responsable de la réponse aux requêtes de fichiers HTTP, et répondra avec le fichier requis défini en tant que flux de réponse tant que le type du fichier requis est supporté par le composant Web.WebFileDispatcher.TWebFileExtensions par le biais de la propriété WebFileExtensions.

La propriété RootDirectory spécifie le répertoire à partir duquel le fichier sera réparti.

Notez que TDSHTTPServiceFileDispatcher est utilisée pour publier les propriétés pour TDSCustomHTTPServiceFileDispatcher.

Voir aussi