![]() | InDesign SDK 20.5 |
#include <IHTTPLinkManager.h>

Public Types | |
| enum | { kDefaultIID = IID_IHTTPLINKMANGER } |
Public Member Functions | |
| virtual bool16 | Initialize ()=0 |
| virtual bool16 | Shutdown ()=0 |
| virtual void | GetSchemes (K2Vector< WideString > &schemes) const =0 |
| virtual ILinkResourceHandler * | QueryHandler (const URI &inAssetURI, IDataBase *db)=0 |
| virtual ILinkResourceStateUpdater * | QueryStateUpdater (const URI &inAssetURI, IDataBase *db)=0 |
| virtual IHTTPLinkResourceServerAPIWrapper * | GetHTTPLinkResourceServerAPIWrapper (const URI &inAssetURI)=0 |
| virtual IHTTPLinkResourceServerCache * | QueryHTTPLinkResourceServerCache (const URI &inAssetURI)=0 |
| virtual IHTTPLinkResourceConnection * | QueryHTTPLinkResourceConnection (const URI &inAssetURI)=0 |
| virtual IHTTPLinkAssetURIPreprocessor * | GetHTTPLinkAssetURIPreprocessor (const URI &inAssetURI)=0 |
| virtual void | ReadWriteSnapshotForBackgroundThread (IPMStream *s)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
IHTTPLinkManager is reponsible for routing calls to plugins on the basis of registered scheme. During initialization process IHTTPLinkManager iterate through all kHTTPLinkSubsystemObjectProvider and calls GetSchemes of all IHTTPLinkSubsystemObjectFactory. It registers factory with list of schemes provided by it. It provides appropriate set of wrapper, connection, handler, stateupdater and uri pre- processor on the basis of passed URI's scheme.
NOTE - If two plugin registers with same scheme during initialization. Plugin which registers scheme first will be given priority and assert will be raised on all the plugins after that.
| pure virtual |
Initializes the HTTP Link Manager
| pure virtual |
For internal purpose only
| pure virtual |
Shuts down the HTTP Link Manager