/* */ #ifndef _D_HTTP_DOWNLOAD_COMMAND_H_ #define _D_HTTP_DOWNLOAD_COMMAND_H_ #include "DownloadCommand.h" namespace aria2 { class HttpResponse; class HttpConnection; class HttpDownloadCommand : public DownloadCommand { private: SharedHandle _httpResponse; SharedHandle _httpConnection; protected: virtual bool prepareForNextSegment(); public: HttpDownloadCommand(int cuid, const SharedHandle& req, const SharedHandle& fileEntry, RequestGroup* requestGroup, const SharedHandle& httpResponse, const SharedHandle& httpConnection, DownloadEngine* e, const SharedHandle& s); virtual ~HttpDownloadCommand(); }; } // namespace aria2 #endif // _D_HTTP_DOWNLOAD_COMMAND_H_