com.sun.jdmk.comm
Class TimedURLConnection
java.lang.Object
com.sun.jdmk.comm.TimedURLConnection
public class TimedURLConnection
- extends Object
This class defines methods to make a socket object with a specified timeout.
NPCTE fix for escalation 535848, bug 4653805, SD, 02 May 02
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimedURLConnection
public TimedURLConnection(URL url,
long timeout)
throws IOException,
SecurityException
- Throws:
IOException
SecurityException
getURLConnection
public URLConnection getURLConnection()
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Throws:
IOException
getInputStream
public InputStream getInputStream()
throws IOException
- Throws:
IOException
getResponseCode
public int getResponseCode()
throws IOException
- Throws:
IOException
getErrorStream
public InputStream getErrorStream()
throws IOException
- Throws:
IOException
Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.