InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IHTTPServerInfo.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Arvinder Singh
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // ADOBE CONFIDENTIAL
16 //
17 // Copyright 2016 Adobe
18 // All Rights Reserved.
19 //
20 // NOTICE: Adobe permits you to use, modify, and distribute this file in
21 // accordance with the terms of the Adobe license agreement accompanying
22 // it. If you have received this file from a source other than Adobe,
23 // then your use, modification, or distribution of it requires the prior
24 // written permission of Adobe.
25 //
26 //========================================================================================
27 #ifndef __IHTTPServerInfo__
28 #define __IHTTPServerInfo__
29 
30 #include "IPMUnknown.h"
31 
32 #include "LinksID.h"
33 #include "URI.h"
34 
35 /*
36  AdobePatentID="P7137-US"
37  AdobePatentID="P7225-US"
38  AdobePatentID="P7609-US"
39  */
40 
45 {
46 public:
47  enum { kDefaultIID = IID_IHTTPSERVERINFO };
48 
54  virtual bool16 Init(const URI& inAssetUri) = 0;
55 
60  virtual URI GetServerURI() const = 0;
61 
66  virtual WideString GetAuthority() const = 0;
67 
72  virtual WideString GetProtocol() const = 0;
73 
74  /*
75  Fetches the complete asset URI for the given relative path of the asset
76  @param inRelativeAssetPath [IN] asset path to get the complete uri.
77  @return complete uri from the asset relative path.
78  */
79  virtual URI GetCompleteAssetURI(const WideString& inRelativeAssetPath) const = 0;
80 
81 };
82 
83 #endif // __IHTTPServerInfo__