public class AmqpRedirect extends Object
| Constructor and Description |
|---|
AmqpRedirect(Map<org.apache.qpid.proton.amqp.Symbol,Object> redirect,
AmqpProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHostname() |
String |
getNetworkHost() |
String |
getPath() |
int |
getPort() |
Map<org.apache.qpid.proton.amqp.Symbol,Object> |
getRedirectMap() |
String |
getScheme() |
String |
toString() |
URI |
toURI()
Construct a URI from the redirection information available.
|
AmqpRedirect |
validate() |
public AmqpRedirect(Map<org.apache.qpid.proton.amqp.Symbol,Object> redirect, AmqpProvider provider)
public AmqpRedirect validate() throws Exception
Exceptionpublic Map<org.apache.qpid.proton.amqp.Symbol,Object> getRedirectMap()
public String getHostname()
public String getNetworkHost()
public int getPort()
public String getScheme()
public String getPath()
public URI toURI() throws Exception
Exception - if an error occurs construct a URI from the redirection information.Copyright © 2013–2019 The Apache Software Foundation. All rights reserved.