com.sun.jdmk.comm
Class TimedURLConnection

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


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
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

Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

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