Question as titled.
I am developing a server-client application.
All http connections are made to run on a background thread.

Here's a code snip.
try {
hc = (HttpConnection), Connector.READ_WRITE, true); // hc is of class HttpConnection
} catch (InterruptedException timeout) {
System.err.println("Timeout detected");
} finally {

I believe that this code should work fine. But is there a way I can really specify the timeout property? Or it would be great if I can read the timeout property at least.

Thanks all.