Class URLHandlersBundleURLConnection
java.lang.Object
java.net.URLConnection
org.apache.felix.framework.URLHandlersBundleURLConnection
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate longprivate Stringprivate Felixprivate InputStreamprivate BundleRevisionFields inherited from class URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class 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:
connectin classURLConnection- Throws:
IOException
-
getInputStream
- Overrides:
getInputStreamin classURLConnection- Throws:
IOException
-
getContentLength
public int getContentLength()- Overrides:
getContentLengthin classURLConnection
-
getLastModified
public long getLastModified()- Overrides:
getLastModifiedin classURLConnection
-
getContentType
- Overrides:
getContentTypein classURLConnection
-
getPermission
- Overrides:
getPermissionin classURLConnection
-
getLocalURL
URL getLocalURL()Retrieve the entry as a URL using standard protocols such as file: and jar:- Returns:
- the local URL
-