public class ZkUrlHandler
extends org.osgi.service.url.AbstractURLStreamHandlerService
| Modifier and Type | Class and Description |
|---|---|
class |
ZkUrlHandler.Connection |
| Constructor and Description |
|---|
ZkUrlHandler() |
ZkUrlHandler(IZKClient zooKeeper) |
| Modifier and Type | Method and Description |
|---|---|
IZKClient |
getZooKeeper() |
java.net.URLConnection |
openConnection(java.net.URL url)
Open the connection for the given URL.
|
void |
setZooKeeper(IZKClient zooKeeper) |
public ZkUrlHandler()
public ZkUrlHandler(IZKClient zooKeeper)
public IZKClient getZooKeeper()
public void setZooKeeper(IZKClient zooKeeper)
public java.net.URLConnection openConnection(java.net.URL url)
throws java.io.IOException
openConnection in interface org.osgi.service.url.URLStreamHandlerServiceopenConnection in class org.osgi.service.url.AbstractURLStreamHandlerServiceurl - 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.