org.apache.qpid.client.url
Class URLParser_0_10

java.lang.Object
  extended by org.apache.qpid.client.url.URLParser_0_10

public class URLParser_0_10
extends Object

The format Qpid URL is based on the AMQP one. The grammar is as follows:

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 =

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 =

future_prot_addr =

future_parameters =

client_props = [client_prop ";"]* client_prop

client_prop = prop "=" val

prop = chars as per

val = valid as per

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


Nested Class Summary
(package private) static class URLParser_0_10.URLParserState
           
 
Constructor Summary
URLParser_0_10(String url)
           
 
Method Summary
 List<BrokerDetails> getAllBrokerDetails()
           
 String getURL()
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLParser_0_10

public URLParser_0_10(String url)
               throws MalformedURLException
Throws:
MalformedURLException
Method Detail

getAllBrokerDetails

public List<BrokerDetails> getAllBrokerDetails()

getURL

public String getURL()

main

public static void main(String[] args)


Licensed to the Apache Software Foundation