hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <http-as...@dubioso.net>
Subject Re: Invalid stream header
Date Thu, 29 Jun 2006 17:44:26 GMT
Hi sANTo,

> With the default sun classes I wrote everything to an ObjectOutputStream,
> but I couldn't find a similar
> approach for HttpClient.

That's just the kind of question to ask on this list :-)

> If I understand it correctly what you are saying, then I should look at
> entities, which
> allow me to do the same as I did before with the default sun classes.

Yes, exactly. Implementing the RequestEntity interface is the way to go.
You'll get an OutputStream, on top of which you can put your
ObjectOutputStream to write the message body.

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message