org.apache.geronimo.kernel.classloader
Class JarFileUrlConnection
java.lang.Object
   java.net.URLConnection
java.net.URLConnection
       java.net.JarURLConnection
java.net.JarURLConnection
           org.apache.geronimo.kernel.classloader.JarFileUrlConnection
org.apache.geronimo.kernel.classloader.JarFileUrlConnection
- public class JarFileUrlConnection 
- extends JarURLConnection
 
 
 
 
 
| 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, getOutputStream, getReadTimeout, getRequestProperties, getRequestProperty, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches | 
 
 
DUMMY_JAR_URL
public static final URL DUMMY_JAR_URL
JarFileUrlConnection
public JarFileUrlConnection(URL url,
                            JarFile jarFile,
                            JarEntry jarEntry)
                     throws MalformedURLException
- Throws:
- MalformedURLException
getJarFile
public JarFile getJarFile()
                   throws IOException
- 
- Specified by:
- getJarFilein class- JarURLConnection
 
- 
- Throws:
- IOException
 
connect
public void connect()
- 
- Specified by:
- connectin class- URLConnection
 
- 
 
getJarFileURL
public URL getJarFileURL()
- 
- Overrides:
- getJarFileURLin class- JarURLConnection
 
- 
 
getEntryName
public String getEntryName()
- 
- Overrides:
- getEntryNamein class- JarURLConnection
 
- 
 
getManifest
public Manifest getManifest()
                     throws IOException
- 
- Overrides:
- getManifestin class- JarURLConnection
 
- 
- Throws:
- IOException
 
getJarEntry
public JarEntry getJarEntry()
- 
- Overrides:
- getJarEntryin class- JarURLConnection
 
- 
 
getAttributes
public Attributes getAttributes()
                         throws IOException
- 
- Overrides:
- getAttributesin class- JarURLConnection
 
- 
- Throws:
- IOException
 
getMainAttributes
public Attributes getMainAttributes()
                             throws IOException
- 
- Overrides:
- getMainAttributesin class- JarURLConnection
 
- 
- Throws:
- IOException
 
getCertificates
public Certificate[] getCertificates()
                              throws IOException
- 
- Overrides:
- getCertificatesin class- JarURLConnection
 
- 
- Throws:
- IOException
 
getURL
public URL getURL()
- 
- Overrides:
- getURLin class- URLConnection
 
- 
 
getContentLength
public int getContentLength()
- 
- Overrides:
- getContentLengthin class- URLConnection
 
- 
 
getLastModified
public long getLastModified()
- 
- Overrides:
- getLastModifiedin class- URLConnection
 
- 
 
getInputStream
public InputStream getInputStream()
                           throws IOException
- 
- Overrides:
- getInputStreamin class- URLConnection
 
- 
- Throws:
- IOException
 
getPermission
public Permission getPermission()
                         throws IOException
- 
- Overrides:
- getPermissionin class- URLConnection
 
- 
- Throws:
- IOException
 
toString
public String toString()
- 
- Overrides:
- toStringin class- URLConnection
 
- 
 
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.