class URLHandlersBundleURLConnection
extends java.net.URLConnection
| Modifier and Type | Field and Description |
|---|---|
private int |
m_classPathIdx |
private int |
m_contentLength |
private long |
m_contentTime |
private java.lang.String |
m_contentType |
private Felix |
m_framework |
private java.io.InputStream |
m_is |
private BundleRevision |
m_targetRevision |
| Constructor and Description |
|---|
URLHandlersBundleURLConnection(java.net.URL url) |
URLHandlersBundleURLConnection(java.net.URL url,
Felix framework) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
int |
getContentLength() |
long |
getContentLengthLong() |
java.lang.String |
getContentType() |
java.io.InputStream |
getInputStream() |
long |
getLastModified() |
(package private) java.net.URL |
getLocalURL()
Retrieve the entry as a URL using standard protocols such as file: and jar:
|
java.security.Permission |
getPermission() |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getOutputStream, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toStringprivate Felix m_framework
private BundleRevision m_targetRevision
private int m_classPathIdx
private int m_contentLength
private long m_contentTime
private java.lang.String m_contentType
private java.io.InputStream m_is
public URLHandlersBundleURLConnection(java.net.URL url)
public URLHandlersBundleURLConnection(java.net.URL url,
Felix framework)
throws java.io.IOException
java.io.IOExceptionpublic void connect()
throws java.io.IOException
connect in class java.net.URLConnectionjava.io.IOExceptionpublic java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in class java.net.URLConnectionjava.io.IOExceptionpublic int getContentLength()
getContentLength in class java.net.URLConnectionpublic long getContentLengthLong()
getContentLengthLong in class java.net.URLConnectionpublic long getLastModified()
getLastModified in class java.net.URLConnectionpublic java.lang.String getContentType()
getContentType in class java.net.URLConnectionpublic java.security.Permission getPermission()
getPermission in class java.net.URLConnectionjava.net.URL getLocalURL()