Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Timeout and HttpConnection with open...  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!