com.sun.jdmk.comm
Class TimedURLConnection
java.lang.Object
com.sun.jdmk.comm.TimedURLConnection
public class TimedURLConnection
- extends java.lang.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(java.net.URL url,
long timeout)
throws java.io.IOException,
java.lang.SecurityException
- Throws:
java.io.IOException
java.lang.SecurityException
getURLConnection
public java.net.URLConnection getURLConnection()
getOutputStream
public java.io.OutputStream getOutputStream()
throws java.io.IOException
- Throws:
java.io.IOException
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Throws:
java.io.IOException
getResponseCode
public int getResponseCode()
throws java.io.IOException
- Throws:
java.io.IOException
getErrorStream
public java.io.InputStream getErrorStream()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.