public class HdfsUrlHandler
extends org.osgi.service.url.AbstractURLStreamHandlerService
implements org.osgi.service.cm.ManagedService
Modifier and Type | Class and Description |
---|---|
class |
HdfsUrlHandler.Connection |
Constructor and Description |
---|
HdfsUrlHandler() |
Modifier and Type | Method and Description |
---|---|
java.net.URLConnection |
openConnection(java.net.URL url)
Open the connection for the given URL.
|
void |
updated(java.util.Dictionary properties) |
public void updated(java.util.Dictionary properties) throws org.osgi.service.cm.ConfigurationException
updated
in interface org.osgi.service.cm.ManagedService
org.osgi.service.cm.ConfigurationException
public java.net.URLConnection openConnection(java.net.URL url) throws java.io.IOException
openConnection
in interface org.osgi.service.url.URLStreamHandlerService
openConnection
in class org.osgi.service.url.AbstractURLStreamHandlerService
url
- the url from which to open a connection.java.io.IOException
- if an error occurs or if the URL is malformed.Copyright © 2014 Red Hat. All Rights Reserved.