/* */ #ifndef _D_HTTP_DOWNLOAD_COMMAND_H_ #define _D_HTTP_DOWNLOAD_COMMAND_H_ #include "DownloadCommand.h" #include "DownloadEngine.h" #include "Socket.h" #include "Request.h" #include "common.h" #include "TransferEncoding.h" #include #include using namespace std; class HttpDownloadCommand:public DownloadCommand { private: map transferEncodings; protected: virtual bool prepareForNextSegment(const Segment& currentSegment); public: HttpDownloadCommand(int cuid, Request* req, DownloadEngine* e, const SocketHandle& s); ~HttpDownloadCommand(); TransferEncoding* getTransferEncoding(const string& transferEncoding); }; #endif // _D_HTTP_DOWNLOAD_COMMAND_H_