Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / apps / JAWS2 / HTTP_10.h
blobbd2b61ea65e9e6031c9abd1d982dfa2e8062005f
1 /* -*- c++ -*- */
2 #ifndef JAWS_HTTP_10_H
3 #define JAWS_HTTP_10_H
5 #include "ace/RB_Tree.h"
7 #if !defined (ACE_LACKS_PRAGMA_ONCE)
8 # pragma once
9 #endif /* ACE_LACKS_PRAGMA_ONCE */
11 #include "JAWS/Pipeline_Tasks.h"
13 // Forward declaration
14 class JAWS_HTTP_10_Request;
16 // Reading the initial request
18 class JAWS_HTTP_10_Read_Task : public JAWS_Pipeline_Handler
20 public:
21 JAWS_HTTP_10_Read_Task ();
22 virtual ~JAWS_HTTP_10_Read_Task ();
24 virtual int handle_put (JAWS_Data_Block *data, ACE_Time_Value *tv);
26 private:
29 // Parsing the request
31 class JAWS_HTTP_10_Parse_Task : public JAWS_Pipeline_Handler
33 public:
34 JAWS_HTTP_10_Parse_Task ();
35 virtual ~JAWS_HTTP_10_Parse_Task ();
37 virtual int handle_put (JAWS_Data_Block *data, ACE_Time_Value *tv);
40 // Write the response
42 class JAWS_HTTP_10_Write_Task : public JAWS_Pipeline_Handler
44 public:
45 JAWS_HTTP_10_Write_Task ();
46 virtual ~JAWS_HTTP_10_Write_Task ();
48 virtual int handle_put (JAWS_Data_Block *data, ACE_Time_Value *tv);
50 private:
53 // Helpers
55 class JAWS_HTTP_10_Helper
56 // Static functions to enhance the lives of HTTP programmers everywhere.
58 public:
59 static char *HTTP_decode_string (char *path);
60 // Decode '%' escape codes in a URI
63 #endif /* !defined (JAWS_HTTP_10_H) */