public class FabConnection extends URLConnection
URLConnection for the "fab" protocolallowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches| Constructor and Description |
|---|
FabConnection(URL url,
FabResolverFactory fabResolverFactory,
ServiceProvider serviceProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
FabConnection |
createChild(URL url) |
org.osgi.framework.BundleContext |
getBundleContext() |
InputStream |
getInputStream()
Returns the input stream denoted by the url
|
protected void |
installMissingDependencies(FabBundleInfo info,
HashSet<String> actualImports) |
boolean |
isInstalled(io.fabric8.fab.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(URL url, FabResolverFactory fabResolverFactory, ServiceProvider serviceProvider) throws IOException
IOExceptionpublic void connect()
connect in class URLConnectionpublic org.osgi.framework.BundleContext getBundleContext()
public FabConnection createChild(URL url) throws IOException
IOExceptionpublic InputStream getInputStream() throws IOException
getInputStream in class URLConnectionIOExceptionprotected void installMissingDependencies(FabBundleInfo info, HashSet<String> actualImports) throws IOException, org.osgi.framework.BundleException, org.osgi.framework.InvalidSyntaxException
IOExceptionorg.osgi.framework.BundleExceptionorg.osgi.framework.InvalidSyntaxExceptionpublic boolean isInstalled(io.fabric8.fab.DependencyTree tree)
Copyright © 2011–2014 Red Hat. All rights reserved.