/* */ #ifndef _D_HTTP_RESPONSE_COMMAND_H_ #define _D_HTTP_RESPONSE_COMMAND_H_ #include "AbstractCommand.h" class HttpConnection; extern typedef SharedHandle HttpConnectionHandle; class HttpDownloadCommand; class HttpResponse; extern typedef SharedHandle HttpResponseHandle; class HttpResponseCommand : public AbstractCommand { private: HttpConnectionHandle httpConnection; bool handleDefaultEncoding(const HttpResponseHandle& httpResponse); bool handleOtherEncoding(const HttpResponseHandle& httpResponse); HttpDownloadCommand* createHttpDownloadCommand(const HttpResponseHandle& httpResponse); protected: bool executeInternal(); public: HttpResponseCommand(int32_t cuid, const RequestHandle& req, RequestGroup* requestGroup, const HttpConnectionHandle& httpConnection, DownloadEngine* e, const SocketHandle& s); ~HttpResponseCommand(); }; #endif // _D_HTTP_RESPONSE_COMMAND_H_