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)
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
26 Parse_HTTP_Response
*response_line ();
27 // Returns the parsed response line.
32 virtual void parse_line ();
33 virtual int espouse_line ();
36 Parse_HTTP_Response response_
;
39 #if defined (ACE_HAS_INLINED_OSCALLS)
40 # if defined (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) */