hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael m <mmichael...@gmail.com>
Subject Re: how to send large raw data
Date Fri, 06 Sep 2013 13:16:21 GMT
Thanks for the response. I am not sure if I can use file entity because I
am supposed to send raw data as a payload and not as a file.
Can you provide a sample for the custom entity implementation please.


On Fri, Sep 6, 2013 at 5:45 PM, Oleg Kalnichevski <olegk@apache.org> wrote:

> On Fri, 2013-09-06 at 16:24 +0530, Michael m wrote:
> > Hi,
> >
> > I am using the string entity and post data to send large xml file as
> string
> > to server and this is taking a long time. How can I reduce the time to
> post
> > large files?
> >
> > Regards.
> > Mike
>
> Use file based entity (FileEntity) or develop a custom HttpEntity
> implementation that can stream content out directly to the specified
> output stream.
>
> Oleg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message