Package org.apache.felix.framework
Class URLHandlersBundleURLConnection
java.lang.Object
java.net.URLConnection
org.apache.felix.framework.URLHandlersBundleURLConnection
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private int
private long
private String
private Felix
private InputStream
private BundleRevision
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLengthLong, 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, toString
-
Field Details
-
m_framework
-
m_targetRevision
-
m_classPathIdx
private int m_classPathIdx -
m_contentLength
private int m_contentLength -
m_contentTime
private long m_contentTime -
m_contentType
-
m_is
-
-
Constructor Details
-
URLHandlersBundleURLConnection
-
URLHandlersBundleURLConnection
- Throws:
IOException
-
-
Method Details
-
connect
- Specified by:
connect
in classURLConnection
- Throws:
IOException
-
getInputStream
- Overrides:
getInputStream
in classURLConnection
- Throws:
IOException
-
getContentLength
public int getContentLength()- Overrides:
getContentLength
in classURLConnection
-
getLastModified
public long getLastModified()- Overrides:
getLastModified
in classURLConnection
-
getContentType
- Overrides:
getContentType
in classURLConnection
-
getPermission
- Overrides:
getPermission
in classURLConnection
-
getLocalURL
URL getLocalURL()Retrieve the entry as a URL using standard protocols such as file: and jar:- Returns:
- the local URL
-