org.openejb.util.proxy
Class ProxyClassLoader.ProxyByteCodeURLConnection

java.lang.Object
  |
  +--java.net.URLConnection
        |
        +--org.openejb.util.proxy.ProxyClassLoader.ProxyByteCodeURLConnection
Enclosing class:
ProxyClassLoader

public class ProxyClassLoader.ProxyByteCodeURLConnection
extends java.net.URLConnection


Field Summary
(package private)  byte[] byteCode
           
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, factory, ifModifiedSince, url, useCaches
 
Constructor Summary
ProxyClassLoader.ProxyByteCodeURLConnection(byte[] byteCode)
           
 
Method Summary
 void connect()
          Required to be implemented by subclasses of URLConnection
 java.io.InputStream getInputStream()
          Returns an input stream that reads from this open connection.
 
Methods inherited from class java.net.URLConnection
, getAllowUserInteraction, getContent, getContent, getContentEncoding, getContentHandler, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setRequestProperty, setUseCaches, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

byteCode

byte[] byteCode
Constructor Detail

ProxyClassLoader.ProxyByteCodeURLConnection

public ProxyClassLoader.ProxyByteCodeURLConnection(byte[] byteCode)
Method Detail

connect

public void connect()
             throws java.io.IOException
Required to be implemented by subclasses of URLConnection
Overrides:
connect in class java.net.URLConnection
Throws:
java.io.IOException - if an I/O error occurs while opening the connection.
See Also:
URLConnection.connected

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Returns an input stream that reads from this open connection.
Overrides:
getInputStream in class java.net.URLConnection
Returns:
an input stream that reads from this open connection.
Throws:
java.io.IOException - if an I/O error occurs while creating the input stream.
java.net.UnknownServiceException - if the protocol does not support input.