Cleanup ACE_HAS_PTHREAD_SIGMASK_PROTOTYPE, all platforms support it so far as I can...
[ACE_TAO.git] / ACE / apps / JAWS2 / HTTPU / http_response.h
blobc88ed68460358888862fb1ced0aa3a950e787e80
1 // There are two kinds of HTTP Responses in a proxy.
2 // One is the kind you have to read in from the HTTP server.
3 // The other is the kind you issue to the HTTP client.
5 #ifndef HTTPU_HTTP_RESPONSE_HPP
6 #define HTTPU_HTTP_RESPONSE_HPP
8 #include "ace/Message_Block.h"
10 #if !defined (ACE_LACKS_PRAGMA_ONCE)
11 # pragma once
12 #endif /* ACE_LACKS_PRAGMA_ONCE */
14 #include "JAWS/Parse_Headers.h"
16 #include "HTTPU/http_export.h"
17 #include "HTTPU/http_base.h"
18 #include "HTTPU/parse_http_response.h"
20 class HTTPU_Export HTTP_Response : public HTTP_Base
22 public:
23 HTTP_Response ();
24 ~HTTP_Response ();
26 Parse_HTTP_Response *response_line ();
27 // Returns the parsed response line.
29 void dump ();
31 protected:
32 virtual void parse_line ();
33 virtual int espouse_line ();
35 private:
36 Parse_HTTP_Response response_;
39 #if defined (ACE_HAS_INLINED_OSCALLS)
40 # if defined (ACE_INLINE)
41 # undef ACE_INLINE
42 # endif /* ACE_INLINE */
43 # define ACE_INLINE inline
44 # include "HTTPU/http_response.inl"
45 # endif /* ACE_HAS_INLINED_OSCALLS */
48 #endif /* !defined (HTTPU_HTTP_RESPONSE_HPP) */