public class ZkUrlStreamHandler extends URLStreamHandler
| Constructor and Description |
|---|
ZkUrlStreamHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getDefaultPort()
Obtain the default ZooKeeper port
|
protected URLConnection |
openConnection(URL zkUrl)
Opens a connection to the ZooKeeper node
|
equals, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalFormprotected int getDefaultPort()
getDefaultPort in class URLStreamHandlerprotected URLConnection openConnection(URL zkUrl)
openConnection in class URLStreamHandlerzkUrl - the ZooKeeper URL.Copyright © 2017. All rights reserved.