Win a copy of Getting started with Java programming language this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Timeout and HttpConnection with open...  RSS feed

 
Ould Nadif
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I would like manage a time out in my HttpConnection in using:
public static Connection open(String name,
int mode,
boolean timeouts)
throws IOException

I don't know how to link the flag boolean timeouts and the value of the timeout (for example 30 secondes).

Thank you in advance.

OULD
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!