org.mule.impl.endpoint
Class MuleEndpointURI
java.lang.Object
org.mule.impl.endpoint.MuleEndpointURI
- All Implemented Interfaces:
- Serializable, UMOEndpointURI
- public class MuleEndpointURI
- extends Object
- implements UMOEndpointURI
MuleEndpointURI is used to determine how a message is sent of
received. The url defines the protocol, the endpointUri destination of the message
and optionally the endpoint to use when dispatching the event. Mule urls take the
form of - protocol://[host]:[port]/[provider]/endpointUri or
protocol://[host]:[port]/endpointUri i.e. vm:///my.object or The protocol can be
any of any connector registered with Mule. The endpoint name if specified must be
the name of a register global endpoint The endpointUri can be any endpointUri
recognised by the endpoint type.
- See Also:
- Serialized Form
|
Field Summary |
protected static Log |
logger
logger used by this class |
logger
protected static final Log logger
- logger used by this class
MuleEndpointURI
public MuleEndpointURI(String address,
String endpointName,
String connectorName,
String transformers,
String responseTransformers,
int createConnector,
Properties properties,
URI uri)
MuleEndpointURI
public MuleEndpointURI(UMOEndpointURI endpointUri)
MuleEndpointURI
public MuleEndpointURI(UMOEndpointURI endpointUri,
String filterAddress)
MuleEndpointURI
public MuleEndpointURI(String uri)
throws MalformedEndpointException
isMuleUri
public static boolean isMuleUri(String url)
validateUrl
protected boolean validateUrl(String url)
getAddress
public String getAddress()
- Specified by:
getAddress in interface UMOEndpointURI
getEndpointName
public String getEndpointName()
- Specified by:
getEndpointName in interface UMOEndpointURI
getParams
public Properties getParams()
- Specified by:
getParams in interface UMOEndpointURI
getUserParams
public Properties getUserParams()
- Specified by:
getUserParams in interface UMOEndpointURI
parseServerAuthority
public URI parseServerAuthority()
throws URISyntaxException
- Throws:
URISyntaxException
normalize
public URI normalize()
resolve
public URI resolve(URI uri)
resolve
public URI resolve(String str)
relativize
public URI relativize(URI uri)
getScheme
public String getScheme()
- Specified by:
getScheme in interface UMOEndpointURI
getFullScheme
public String getFullScheme()
- Specified by:
getFullScheme in interface UMOEndpointURI
isAbsolute
public boolean isAbsolute()
isOpaque
public boolean isOpaque()
getRawSchemeSpecificPart
public String getRawSchemeSpecificPart()
getSchemeSpecificPart
public String getSchemeSpecificPart()
getRawAuthority
public String getRawAuthority()
getAuthority
public String getAuthority()
- Specified by:
getAuthority in interface UMOEndpointURI
getRawUserInfo
public String getRawUserInfo()
getUserInfo
public String getUserInfo()
- Specified by:
getUserInfo in interface UMOEndpointURI
getHost
public String getHost()
- Specified by:
getHost in interface UMOEndpointURI
getPort
public int getPort()
- Specified by:
getPort in interface UMOEndpointURI
getRawPath
public String getRawPath()
getPath
public String getPath()
- Specified by:
getPath in interface UMOEndpointURI
getRawQuery
public String getRawQuery()
getQuery
public String getQuery()
- Specified by:
getQuery in interface UMOEndpointURI
getRawFragment
public String getRawFragment()
getFragment
public String getFragment()
toString
public String toString()
getTransformers
public String getTransformers()
- Specified by:
getTransformers in interface UMOEndpointURI
getCreateConnector
public int getCreateConnector()
- Specified by:
getCreateConnector in interface UMOEndpointURI
getUri
public URI getUri()
- Specified by:
getUri in interface UMOEndpointURI
getConnectorName
public String getConnectorName()
- Specified by:
getConnectorName in interface UMOEndpointURI
getSchemeMetaInfo
public String getSchemeMetaInfo()
- Specified by:
getSchemeMetaInfo in interface UMOEndpointURI
getResourceInfo
public String getResourceInfo()
- Specified by:
getResourceInfo in interface UMOEndpointURI
getFilterAddress
public String getFilterAddress()
- Specified by:
getFilterAddress in interface UMOEndpointURI
setEndpointName
public void setEndpointName(String name)
- Specified by:
setEndpointName in interface UMOEndpointURI
getUsername
public String getUsername()
- Specified by:
getUsername in interface UMOEndpointURI
getResponseTransformers
public String getResponseTransformers()
- Specified by:
getResponseTransformers in interface UMOEndpointURI
getPassword
public String getPassword()
- Specified by:
getPassword in interface UMOEndpointURI
equals
public boolean equals(Object o)
hashCode
public int hashCode()
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.