Re: Handling Downloads
Russell Gold <[email protected]> Thu, 8 May 2008 23:07:48 -0400
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
On May 8, 2008, at 10:54 PM, Theyagarajan S wrote: > > Yes, as either a string or an InputStream > How does it work ? i just open a file and write the stream in to it ? Sure. Take a look at test/com/meterware/httpunit/ MessageBodyRequestTest.java, in particular, the "download" method. > > >> >> >> -- >> \\\\\-///// >> / \ >> | \\ // | >> (| (.) (.) |) >> ------------------o00o--(_)--o00o------------------ >> S Theyagarajan >> http://theyagar.com >> S.Theyagarajan >> Under Graduate >> Department Of Computer Science And Engineering >> National Institute Of Technology , Trichirapalli >> India 620015 >> --------------ooo0---------------------------------- >> ( ) 0ooo >> \ ( ( ) >> \_) ) / >> (_ / >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save >> $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________ >> Httpunit-develop mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/httpunit-develop > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save > $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Httpunit-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/httpunit-develop > > > > > -- > \\\\\-///// > / \ > | \\ // | > (| (.) (.) |) > ------------------o00o--(_)--o00o------------------ > S Theyagarajan > http://theyagar.com > S.Theyagarajan > Under Graduate > Department Of Computer Science And Engineering > National Institute Of Technology , Trichirapalli > India 620015 > --------------ooo0---------------------------------- > ( ) 0ooo > \ ( ( ) > \_) ) / > (_ / > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save > $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________ > Httpunit-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/httpunit-develop ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Httpunit-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/httpunit-develop