public class JarFileUrlConnection extends JarURLConnection
Modifier and Type | Field and Description |
---|---|
static URL |
DUMMY_JAR_URL |
jarFileURLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, useCaches
Constructor and Description |
---|
JarFileUrlConnection(URL url,
JarFile jarFile,
JarEntry jarEntry) |
Modifier and Type | Method and Description |
---|---|
void |
connect() |
Attributes |
getAttributes() |
Certificate[] |
getCertificates() |
int |
getContentLength() |
String |
getEntryName() |
InputStream |
getInputStream() |
JarEntry |
getJarEntry() |
JarFile |
getJarFile() |
URL |
getJarFileURL() |
long |
getLastModified() |
Attributes |
getMainAttributes() |
Manifest |
getManifest() |
Permission |
getPermission() |
URL |
getURL() |
String |
toString() |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getOutputStream, getReadTimeout, getRequestProperties, getRequestProperty, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches
public static final URL DUMMY_JAR_URL
public JarFileUrlConnection(URL url, JarFile jarFile, JarEntry jarEntry) throws MalformedURLException
MalformedURLException
public JarFile getJarFile() throws IOException
getJarFile
in class JarURLConnection
IOException
public void connect()
connect
in class URLConnection
public URL getJarFileURL()
getJarFileURL
in class JarURLConnection
public String getEntryName()
getEntryName
in class JarURLConnection
public Manifest getManifest() throws IOException
getManifest
in class JarURLConnection
IOException
public JarEntry getJarEntry()
getJarEntry
in class JarURLConnection
public Attributes getAttributes() throws IOException
getAttributes
in class JarURLConnection
IOException
public Attributes getMainAttributes() throws IOException
getMainAttributes
in class JarURLConnection
IOException
public Certificate[] getCertificates() throws IOException
getCertificates
in class JarURLConnection
IOException
public URL getURL()
getURL
in class URLConnection
public int getContentLength()
getContentLength
in class URLConnection
public long getLastModified()
getLastModified
in class URLConnection
public InputStream getInputStream() throws IOException
getInputStream
in class URLConnection
IOException
public Permission getPermission() throws IOException
getPermission
in class URLConnection
IOException
public String toString()
toString
in class URLConnection
elasticsearch-river-jdbc