I
Ike
Is there a way I can wrap the following in such a manner such that if no
value is returned by after X seconds, the method throws an IOException ?
private InputStream getFromServlet( URLConnection uc) throws
java.io.IOException {
return uc.getInputStream();
}
I know in 1.5 this is built into getInputStream, but I need compatibility to
lower-version JVMs. Thanks, Ike
value is returned by after X seconds, the method throws an IOException ?
private InputStream getFromServlet( URLConnection uc) throws
java.io.IOException {
return uc.getInputStream();
}
I know in 1.5 this is built into getInputStream, but I need compatibility to
lower-version JVMs. Thanks, Ike