public class URIBuilder extends Object implements AnnotatedObject
EndpointURIBuilder
Modifier and Type | Field and Description |
---|---|
static String |
ADDRESS |
static String[] |
ALL_ATTRIBUTES |
static String[] |
ALL_TRANSPORT_ATTRIBUTES |
static String |
HOST |
static String[] |
HOST_ATTRIBUTES |
static String |
META |
static String |
PASSWORD |
static String |
PATH |
static String[] |
PATH_ATTRIBUTES |
static String |
PORT |
static String |
PROTOCOL |
static String[] |
SOCKET_ATTRIBUTES |
static String |
USER |
static String[] |
USERHOST_ATTRIBUTES |
PROPERTY_NAME
Constructor and Description |
---|
URIBuilder() |
URIBuilder(EndpointURI endpointURI) |
URIBuilder(MuleContext muleContext) |
URIBuilder(String address,
MuleContext muleContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
assertAddressConsistent() |
protected void |
assertNotUsed() |
protected void |
assertProtocolConsistent() |
protected static boolean |
equal(Object a,
Object b) |
boolean |
equals(Object other) |
String |
getAddress() |
Object |
getAnnotation(QName name)
Gets the value of specified annotation.
|
Map<QName,Object> |
getAnnotations()
Gets all annotations.
|
protected String |
getConstructor() |
protected String |
getEncodedConstructor() |
EndpointURI |
getEndpoint() |
String |
getHost() |
String |
getMeta() |
MuleContext |
getMuleContext() |
String |
getPassword() |
String |
getPath() |
String |
getPort() |
String |
getProtocol() |
Map |
getQueryMap() |
String |
getUser() |
int |
hashCode() |
void |
setAddress(String address) |
void |
setAnnotations(Map<QName,Object> newAnnotations)
Sets annotations to the object.
|
void |
setHost(String host) |
void |
setMeta(String meta) |
void |
setMuleContext(MuleContext muleContext) |
void |
setPassword(String password) |
void |
setPath(String path) |
void |
setPort(int port)
For backwards compatibility
|
void |
setPort(String port)
Allows ports to be Mule expressions
|
void |
setProtocol(String protocol) |
void |
setQueryMap(Map queryMap) |
void |
setUser(String user) |
String |
toString() |
public static final String META
public static final String PROTOCOL
public static final String USER
public static final String PASSWORD
public static final String HOST
public static final String ADDRESS
public static final String PORT
public static final String PATH
public static final String[] ALL_ATTRIBUTES
public static final String[] PATH_ATTRIBUTES
public static final String[] HOST_ATTRIBUTES
public static final String[] SOCKET_ATTRIBUTES
public static final String[] USERHOST_ATTRIBUTES
public static final String[] ALL_TRANSPORT_ATTRIBUTES
public URIBuilder()
public URIBuilder(MuleContext muleContext)
public URIBuilder(EndpointURI endpointURI)
public URIBuilder(String address, MuleContext muleContext)
public MuleContext getMuleContext()
public void setMuleContext(MuleContext muleContext)
public void setUser(String user)
public void setPassword(String password)
public void setHost(String host)
public void setAddress(String address)
public void setPort(int port)
public void setPort(String port)
public void setProtocol(String protocol)
public void setMeta(String meta)
public void setPath(String path)
public void setQueryMap(Map queryMap)
public EndpointURI getEndpoint()
protected String getConstructor()
protected String getEncodedConstructor()
protected void assertNotUsed()
protected void assertAddressConsistent()
protected void assertProtocolConsistent()
public final Object getAnnotation(QName name)
AnnotatedObject
getAnnotation
in interface AnnotatedObject
public final Map<QName,Object> getAnnotations()
AnnotatedObject
getAnnotations
in interface AnnotatedObject
public final void setAnnotations(Map<QName,Object> newAnnotations)
AnnotatedObject
setAnnotations
in interface AnnotatedObject
public String getProtocol()
public String getMeta()
public String getUser()
public String getPassword()
public String getHost()
public String getPort()
public String getPath()
public String getAddress()
public Map getQueryMap()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.