4 //=============================================================================
8 * @author Johnny Willemsen <jwillemsen@remedy.nl>
10 //=============================================================================
13 #ifndef TAO_HTTP_PARSER_H
14 #define TAO_HTTP_PARSER_H
16 #include /**/ "ace/pre.h"
17 #include "ace/Service_Config.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "tao/IOR_Parser.h"
25 #if (TAO_HAS_HTTP_PARSER == 1)
27 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
30 * @class TAO_HTTP_Parser
32 * @brief Implements the <http:> IOR format
34 * This class implements the <http:> IOR format.
35 * It is dynamically loaded by the ORB and used to get an IOR
36 * from a http server and then interprete the data as an IOR (that
37 * can be in any valid format).
39 class TAO_HTTP_Parser
: public TAO_IOR_Parser
42 TAO_HTTP_Parser () = default;
43 ~TAO_HTTP_Parser () override
= default;
45 // = The IOR_Parser methods, please read the documentation in
47 bool match_prefix (const char *ior_string
) const override
;
48 CORBA::Object_ptr
parse_string (const char *ior
, CORBA::ORB_ptr orb
) override
;
51 ACE_STATIC_SVC_DECLARE_EXPORT (TAO
, TAO_HTTP_Parser
)
52 ACE_FACTORY_DECLARE (TAO
, TAO_HTTP_Parser
)
54 TAO_END_VERSIONED_NAMESPACE_DECL
56 #endif /* TAO_HAS_HTTP_PARSER == 1 */
58 #include /**/ "ace/post.h"
59 #endif /* TAO_HTTP_PARSER_H */