public class URLParser_0_10 extends Object
qpid_url = "qpid:" [client_props "@"] port_addr_list ["/" future-parameters]
port_addr_list = [port_addr ","]* port_addr
port_addr = tcp_port_addr | tls_prot_addr | future_prot_addr
tcp_port_addr = tcp_id tcp_addr
tcp_id = "tcp:" | ""
tcp_addr = host [":" port]
host = <as per http://www.apps.ietf.org/>
port = number
tls_prot_addr = tls_id tls_addr
tls_id = "tls:" | ""
tls_addr = host [":" port]
future_prot_addr = future_prot_id future_prot_addr
future_prot_id = <placeholder, must end in ":". Example "sctp:">
future_prot_addr = <placeholder, protocl-specific address>
future_parameters = <placeholder, not used in failover addresses>
client_props = [client_prop ";"]* client_prop
client_prop = prop "=" val
prop = chars as per <as per http://www.apps.ietf.org/>
val = valid as per <as per http://www.apps.ietf.org/>
Ex:
qpid:virtualhost=tcp:host-foo,test,client_id=foo@tcp:myhost.com:5672,virtualhost=prod; keystore=/opt/keystore@client_id2@tls:mysecurehost.com:5672
Constructor and Description |
---|
URLParser_0_10(String url) |
Modifier and Type | Method and Description |
---|---|
List<BrokerDetails> |
getAllBrokerDetails() |
String |
getURL() |
static void |
main(String[] args) |
public URLParser_0_10(String url) throws MalformedURLException
MalformedURLException
public List<BrokerDetails> getAllBrokerDetails()
public String getURL()
public static void main(String[] args)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.