1// Sun, 18 Jun 2000 2// Y.Takagi 3 4#ifndef __IppURLConnection_H 5#define __IppURLConnection_H 6 7#include "HttpURLConnection.h" 8 9class IppContent; 10 11class IppURLConnection : public HttpURLConnection { 12public: 13 IppURLConnection(const BUrl &url); 14 ~IppURLConnection(); 15 16 void setIppRequest(IppContent *); 17 const IppContent *getIppResponse() const; 18 19 int length(); 20 21 ostream &printIppRequest(ostream &); 22 ostream &printIppResponse(ostream &); 23 24protected: 25 virtual void setRequest(); 26 virtual void setContent(); 27 virtual void getContent(); 28 29private: 30 IppContent *__ippRequest; 31 IppContent *__ippResponse; 32}; 33 34#endif // __IppURLConnection_H 35