java.lang .Object java.net .URLConnection com.sun.jbi.wsdl2.impl.test .TestUrlConnection TestUrlConnection public class TestUrlConnection extends java.net.URLConnection (Code) This class serves as a test URL protocol connection.
author: Sun Microsystems Inc.
Method Summary public voidconnect () Opens a communications link to the resource referenced by
this connection's URL, if such a connection has not already been
established.public InputStream getInputStream () Get an input stream for this connection.
TestUrlConnection TestUrlConnection(URL url) (Code) Construct a test connection to the given URL.
Parameters: url - the URL of the resource to connect to.
connect public void connect() throws IOException (Code) Opens a communications link to the resource referenced by
this connection's URL, if such a connection has not already been
established.
exception: IOException - if an I/O error occurs while opening theconnection.
getInputStream public InputStream getInputStream()(Code) Get an input stream for this connection.
an input stream for this connection.