Don't forget setReadTimeout(int) Also very important. On Thu, Feb 5, 2009 at 11:42 AM, Peter Ertl <[email protected]> wrote: >> Please use commons HttpClient, with the standard Java client you have no >> control over timeouts potentially hanging your application. > > Is this still true? > > I found that at least in Java 6 there is > > URLConnection.setConnectTimeout(int) > > > Cheers > Peter > > > Am 05.02.2009 um 14:12 schrieb Erik van Oosten: > >> >> Its probably not there; Wicket is a server side framework after all. >> >> Please use commons HttpClient, with the standard Java client you have no >> control over timeouts potentially hanging your application. >> >> Regards, >> Erik. >> >> >> Steve Swinsburg wrote: >>> >>> Hi all, >>> >>> just wondering if there is any API in Wicket that wraps up making a HTTP >>> POST request directly (ie given a URL and some data etc) or whether I should >>> just drop back to using the standard Java HTTPClient stuff? >>> >>> cheers, >>> Steve >> >> -- >> >> Erik van Oosten >> http://day-to-day-stuff.blogspot.com/ >> >> >> >> --------------------------------------------------------------------- >> 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] > >
-- Marcelo Morales --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
