diff options
Diffstat (limited to 'ACE/apps/JAWS2/HTTP_10.h')
-rw-r--r-- | ACE/apps/JAWS2/HTTP_10.h | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/ACE/apps/JAWS2/HTTP_10.h b/ACE/apps/JAWS2/HTTP_10.h new file mode 100644 index 00000000000..382e0d7a563 --- /dev/null +++ b/ACE/apps/JAWS2/HTTP_10.h @@ -0,0 +1,68 @@ +/* -*- c++ -*- */ +// $Id$ + +#ifndef JAWS_HTTP_10_H +#define JAWS_HTTP_10_H + +#include "ace/RB_Tree.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "JAWS/Pipeline_Tasks.h" + +// Forward declaration +class JAWS_HTTP_10_Request; + +// Reading the initial request + +class JAWS_HTTP_10_Read_Task : public JAWS_Pipeline_Handler +{ +public: + JAWS_HTTP_10_Read_Task (void); + virtual ~JAWS_HTTP_10_Read_Task (void); + + virtual int handle_put (JAWS_Data_Block *data, ACE_Time_Value *tv); + +private: +}; + +// Parsing the request + +class JAWS_HTTP_10_Parse_Task : public JAWS_Pipeline_Handler +{ +public: + JAWS_HTTP_10_Parse_Task (void); + virtual ~JAWS_HTTP_10_Parse_Task (void); + + virtual int handle_put (JAWS_Data_Block *data, ACE_Time_Value *tv); + +}; + +// Write the response + +class JAWS_HTTP_10_Write_Task : public JAWS_Pipeline_Handler +{ +public: + JAWS_HTTP_10_Write_Task (void); + virtual ~JAWS_HTTP_10_Write_Task (void); + + virtual int handle_put (JAWS_Data_Block *data, ACE_Time_Value *tv); + +private: +}; + +// Helpers + +class JAWS_HTTP_10_Helper +// Static functions to enhance the lives of HTTP programmers everywhere. +{ +public: + + static char *HTTP_decode_string (char *path); + // Decode '%' escape codes in a URI + +}; + +#endif /* !defined (JAWS_HTTP_10_H) */ |