com.sun.jdmk.comm
Class TimedURLConnection

java.lang.Object
  extended bycom.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


Constructor Summary
TimedURLConnection(URL url, long timeout)
           
 
Method Summary
 InputStream getErrorStream()
           
 InputStream getInputStream()
           
 OutputStream getOutputStream()
           
 int getResponseCode()
           
 URLConnection getURLConnection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimedURLConnection

public TimedURLConnection(URL url,
                          long timeout)
                   throws IOException,
                          SecurityException
Method Detail

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

FCS Release
jdmk-5_1-b34.2 2005.11.29_16:24:00_MET

Copyright 1998-2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.