public class FabConnection
extends java.net.URLConnection
URLConnection for the "fab" protocol| Constructor and Description |
|---|
FabConnection(java.net.URL url,
FabResolverFactory fabResolverFactory,
ServiceProvider serviceProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
FabConnection |
createChild(java.net.URL url) |
org.osgi.framework.BundleContext |
getBundleContext() |
java.io.InputStream |
getInputStream()
Returns the input stream denoted by the url
|
protected void |
installMissingDependencies(FabBundleInfo info,
java.util.HashSet<java.lang.String> actualImports) |
boolean |
isInstalled(DependencyTree tree) |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toStringpublic FabConnection(java.net.URL url,
FabResolverFactory fabResolverFactory,
ServiceProvider serviceProvider)
throws java.io.IOException
java.io.IOExceptionpublic void connect()
connect in class java.net.URLConnectionpublic org.osgi.framework.BundleContext getBundleContext()
public FabConnection createChild(java.net.URL url) throws java.io.IOException
java.io.IOExceptionpublic java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in class java.net.URLConnectionjava.io.IOExceptionprotected void installMissingDependencies(FabBundleInfo info, java.util.HashSet<java.lang.String> actualImports) throws java.io.IOException, org.osgi.framework.BundleException, org.osgi.framework.InvalidSyntaxException
java.io.IOExceptionorg.osgi.framework.BundleExceptionorg.osgi.framework.InvalidSyntaxExceptionpublic boolean isInstalled(DependencyTree tree)
Copyright © 2016 Red Hat. All Rights Reserved.