com.metamatrix.common.extensionmodule.protocol.extensionjar
Class ExtensionJarURLConnection

java.lang.Object
  extended by java.net.URLConnection
      extended by com.metamatrix.common.extensionmodule.protocol.extensionjar.ExtensionJarURLConnection

public class ExtensionJarURLConnection
extends java.net.URLConnection

This URLConnection actually gets the byte[] from an ExtensionModuleManager


Field Summary
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
ExtensionJarURLConnection(java.net.URL url, ExtensionModuleManager manager)
           
 
Method Summary
 void connect()
           
 int getContentLength()
           
 java.io.InputStream getInputStream()
           
 java.security.Permission getPermission()
           
 
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtensionJarURLConnection

public ExtensionJarURLConnection(java.net.URL url,
                                 ExtensionModuleManager manager)
                          throws java.net.MalformedURLException,
                                 java.io.IOException
Throws:
java.net.MalformedURLException
java.io.IOException
Method Detail

getPermission

public java.security.Permission getPermission()
                                       throws java.io.IOException
Overrides:
getPermission in class java.net.URLConnection
Throws:
java.io.IOException

connect

public void connect()
             throws java.io.IOException
Specified by:
connect in class java.net.URLConnection
Throws:
java.io.IOException

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Overrides:
getInputStream in class java.net.URLConnection
Throws:
java.io.IOException

getContentLength

public int getContentLength()
Overrides:
getContentLength in class java.net.URLConnection


Copyright © 2009. All Rights Reserved.