Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _HTTPREDIRECTHEADER_H_
00025 #define _HTTPREDIRECTHEADER_H_ 1
00026
00027 #ifdef __GNUG__
00028 # pragma interface
00029 #endif
00030
00036 #include <string>
00037
00038 #include "cgicc/HTTPHeader.h"
00039
00040 namespace cgicc {
00041
00042
00043
00044
00045
00050 class CGICC_API HTTPRedirectHeader : public HTTPHeader
00051 {
00052 public:
00053
00056
00061 HTTPRedirectHeader(const std::string& url);
00062
00068 HTTPRedirectHeader(const std::string& url,bool permanent);
00073 virtual ~HTTPRedirectHeader();
00075
00076
00077
00080 virtual void
00081 render(std::ostream& out) const;
00083
00084 private:
00085 HTTPRedirectHeader();
00086 int fStatus;
00087 };
00088
00089 }
00090
00091 #endif