• Post Reply Bookmark Topic Watch Topic
  • New Topic

Timeout and HttpConnection with open...

 
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
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!