Datasnap.DSHTTPServiceProxyDispatcher.TDSHTTPServiceProxyDispatcher
Delphi
TDSHTTPServiceProxyDispatcher = class(TDSHTTPServiceFileDispatcher)
C++
class PASCALIMPLEMENTATION TDSHTTPServiceProxyDispatcher : public Datasnap::Dshttp::TDSHTTPServiceFileDispatcher
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
class | public | Datasnap.DSHTTPServiceProxyDispatcher.pas Datasnap.DSHTTPServiceProxyDispatcher.hpp |
Datasnap.DSHTTPServiceProxyDispatcher | Datasnap.DSHTTPServiceProxyDispatcher |
Description
Répartiteur de proxy pour les serveurs DataSnap qui ne sont pas basés sur WebBroker.
TDSHTTPServiceProxyDispatcher représente le répartiteur de proxy pour les serveurs DataSnap qui ne sont pas basés sur WebBroker.
Le composant TDSHTTPServiceProxyDispatcher est utilisé avec les connecteurs mobiles DataSnap pour gérer les requêtes HTTP qui nécessitent un proxy spécifique. Spécifiquement, TDSHTTPServiceProxyDispatcher gère :
- Un chemin virtuel par défaut nommé 'proxy.requests'.
- Un chemin virtuel par défaut nommé 'proxy'.
Quand le serveur doit générer un proxy pour un langage ou une plate-forme spécifique, TDSHTTPServiceProxyDispatcher génère le proxy dans le dossier adéquat. Le serveur comprime ensuite le dossier et crée un fichier "langage".zip à télécharger par le client (java_android.zip lors de la génération d'un proxy Android).