org.apache.geronimo.kernel.classloader
Class JarFileUrlConnection
java.lang.Object
java.net.URLConnection
java.net.JarURLConnection
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:
getJarFile
in class JarURLConnection
- Throws:
IOException
connect
public void connect()
- Specified by:
connect
in class URLConnection
getJarFileURL
public URL getJarFileURL()
- Overrides:
getJarFileURL
in class JarURLConnection
getEntryName
public String getEntryName()
- Overrides:
getEntryName
in class JarURLConnection
getManifest
public Manifest getManifest()
throws IOException
- Overrides:
getManifest
in class JarURLConnection
- Throws:
IOException
getJarEntry
public JarEntry getJarEntry()
- Overrides:
getJarEntry
in class JarURLConnection
getAttributes
public Attributes getAttributes()
throws IOException
- Overrides:
getAttributes
in class JarURLConnection
- Throws:
IOException
getMainAttributes
public Attributes getMainAttributes()
throws IOException
- Overrides:
getMainAttributes
in class JarURLConnection
- Throws:
IOException
getCertificates
public Certificate[] getCertificates()
throws IOException
- Overrides:
getCertificates
in class JarURLConnection
- Throws:
IOException
getURL
public URL getURL()
- Overrides:
getURL
in class URLConnection
getContentLength
public int getContentLength()
- Overrides:
getContentLength
in class URLConnection
getLastModified
public long getLastModified()
- Overrides:
getLastModified
in class URLConnection
getInputStream
public InputStream getInputStream()
throws IOException
- Overrides:
getInputStream
in class URLConnection
- Throws:
IOException
getPermission
public Permission getPermission()
throws IOException
- Overrides:
getPermission
in class URLConnection
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class URLConnection
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.