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
24 ~HTTP_Response (void);
26 Parse_HTTP_Response
*response_line (void);
27 // Returns the parsed response line.
33 virtual void parse_line (void);
34 virtual int espouse_line (void);
37 Parse_HTTP_Response response_
;
40 #if defined (ACE_HAS_INLINED_OSCALLS)
41 # if defined (ACE_INLINE)
43 # endif /* ACE_INLINE */
44 # define ACE_INLINE inline
45 # include "HTTPU/http_response.inl"
46 # endif /* ACE_HAS_INLINED_OSCALLS */
49 #endif /* !defined (HTTPU_HTTP_RESPONSE_HPP) */