1 // There are two kinds of HTTP Requests in a proxy.
2 // One is the kind you have to read in from the HTTP client.
3 // The other is the kind you issue to the server.
5 #ifndef HTTPU_HTTP_REQUEST_HPP
6 #define HTTPU_HTTP_REQUEST_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"
15 #include "HTTPU/http_export.h"
16 #include "HTTPU/http_base.h"
17 #include "HTTPU/parse_http_request.h"
18 #include "HTTPU/parse_url.h"
20 class HTTPU_Export HTTP_Request
: public HTTP_Base
24 virtual ~HTTP_Request ();
26 Parse_HTTP_Request
*request_line ();
27 // Returns the parsed request line.
29 const Parse_HTTP_Request
*request_line () const;
30 // Returns the parsed request line.
32 HTTP_Parse_URL
*url ();
33 // Returns the parsed url.
38 virtual void parse_line ();
39 virtual int espouse_line ();
40 virtual void set_status (int);
43 Parse_HTTP_Request request_
;
47 #if defined (ACE_HAS_INLINED_OSCALLS)
48 # if defined (ACE_INLINE)
50 # endif /* ACE_INLINE */
51 # define ACE_INLINE inline
52 # include "HTTPU/http_request.inl"
53 # endif /* ACE_HAS_INLINED_OSCALLS */
56 #endif /* !defined (HTTPU_HTTP_REQUEST_HPP) */