Package org.apache.felix.framework
Class URLHandlersBundleStreamHandler
- java.lang.Object
-
- java.net.URLStreamHandler
-
- org.apache.felix.framework.URLHandlersBundleStreamHandler
-
class URLHandlersBundleStreamHandler extends java.net.URLStreamHandler
-
-
Field Summary
Fields Modifier and Type Field Description private SecureActionm_actionprivate Felixm_framework
-
Constructor Summary
Constructors Constructor Description URLHandlersBundleStreamHandler(Felix framework)URLHandlersBundleStreamHandler(SecureAction action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private booleancheckPermission(java.net.URL u)protected java.net.InetAddressgetHostAddress(java.net.URL u)protected java.net.URLConnectionopenConnection(java.net.URL url)protected voidparseURL(java.net.URL u, java.lang.String spec, int start, int limit)protected java.lang.StringtoExternalForm(java.net.URL u)
-
-
-
Field Detail
-
m_framework
private final Felix m_framework
-
m_action
private final SecureAction m_action
-
-
Constructor Detail
-
URLHandlersBundleStreamHandler
public URLHandlersBundleStreamHandler(Felix framework)
-
URLHandlersBundleStreamHandler
public URLHandlersBundleStreamHandler(SecureAction action)
-
-
Method Detail
-
openConnection
protected java.net.URLConnection openConnection(java.net.URL url) throws java.io.IOException- Specified by:
openConnectionin classjava.net.URLStreamHandler- Throws:
java.io.IOException
-
parseURL
protected void parseURL(java.net.URL u, java.lang.String spec, int start, int limit)- Overrides:
parseURLin classjava.net.URLStreamHandler
-
toExternalForm
protected java.lang.String toExternalForm(java.net.URL u)
- Overrides:
toExternalFormin classjava.net.URLStreamHandler
-
getHostAddress
protected java.net.InetAddress getHostAddress(java.net.URL u)
- Overrides:
getHostAddressin classjava.net.URLStreamHandler
-
checkPermission
private boolean checkPermission(java.net.URL u)
-
-