/* */ #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(); virtual int64_t getRequestEndOffset() const; public: HttpDownloadCommand(cuid_t 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