Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tao / HTTP_Parser.h
blob3c35c1410bdbd107ba0d14d7fdd8ef8a52af4667
2 /* -*- C++ -*- */
4 //=============================================================================
5 /**
6 * @file HTTP_Parser.h
8 * @author Johnny Willemsen <jwillemsen@remedy.nl>
9 */
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)
20 # 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
29 /**
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
41 public:
42 TAO_HTTP_Parser () = default;
43 ~TAO_HTTP_Parser () override = default;
45 // = The IOR_Parser methods, please read the documentation in
46 // IOR_Parser.h
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 */