1 // Sun, 18 Jun 2000 2 // Y.Takagi 3 4 #ifndef __IppURLConnection_H 5 #define __IppURLConnection_H 6 7 #include "HttpURLConnection.h" 8 9 class IppContent; 10 11 class IppURLConnection : public HttpURLConnection { 12 public: 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 24 protected: 25 virtual void setRequest(); 26 virtual void setContent(); 27 virtual void getContent(); 28 29 private: 30 IppContent *__ippRequest; 31 IppContent *__ippResponse; 32 }; 33 34 #endif // __IppURLConnection_H 35