On Fri, 2013-09-06 at 18:46 +0530, Michael m wrote: > 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. >
http://hc.apache.org/httpcomponents-core-4.2.x/httpcore/xref/org/apache/http/entity/FileEntity.html Oleg > > On Fri, Sep 6, 2013 at 5:45 PM, Oleg Kalnichevski <[email protected]> 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: [email protected] > > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
