You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Oleg Kalnichevski <ol...@apache.org> on 2006/02/26 17:00:30 UTC

Re: Apache commons-httpclient - sending objects - sample does not help

On Fri, 2006-02-24 at 16:35 -0600, Subramanian, Mani P [IT] wrote:
> Hi Team, 
> We want tos do the following --   and enable timeouts on the
> subsequent read on the connection: 
>         stream = new
> ObjectOutputStream(urlConnection.getOutputStream()); 
>         stream.writeObject(javaserializableObj1); 
>         stream.writeObject(javaserializableObj2); 
>         stream.writeObject(javaserializableObj3); 
>         stream.writeObject(javaserializableObj4);
> 

Wrap this code into a custom class implementing the RequestEntity
interface


> Followed by 
> stream = new ObjectInputStream(urlConnection.getInputStream()); 
> …Check for timeout here
> 

I have no idea what you mean by "check for timeout"

Oleg 


> Fear Less, Hope More 
> <<Subramanian, Mani P [ITS].vcf>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


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