public abstract class DefaultEndpointConfiguration extends Object implements EndpointConfiguration
EndpointConfiguration
.EndpointConfiguration.UriFormat
URI_AUTHORITY, URI_FRAGMENT, URI_HOST, URI_PATH, URI_PORT, URI_QUERY, URI_SCHEME, URI_SCHEME_SPECIFIC_PART, URI_USER_INFO
Constructor and Description |
---|
DefaultEndpointConfiguration(CamelContext camelContext) |
DefaultEndpointConfiguration(CamelContext camelContext,
String uri) |
Modifier and Type | Method and Description |
---|---|
protected CamelContext |
getCamelContext() |
<T> T |
getParameter(String name)
Gets the value of a particular parameter.
|
URI |
getURI()
Returns the URI configuration of an
Endpoint . |
protected void |
parseURI() |
<T> void |
setParameter(String name,
T value)
Sets the value of a particular parameter.
|
void |
setURI(String uri) |
void |
setURI(URI uri) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toUriString
public DefaultEndpointConfiguration(CamelContext camelContext)
public DefaultEndpointConfiguration(CamelContext camelContext, String uri)
public URI getURI()
EndpointConfiguration
Endpoint
.getURI
in interface EndpointConfiguration
public void setURI(URI uri)
public void setURI(String uri)
public <T> T getParameter(String name)
EndpointConfiguration
getParameter
in interface EndpointConfiguration
name
- the parameter namepublic <T> void setParameter(String name, T value)
EndpointConfiguration
setParameter
in interface EndpointConfiguration
name
- the parameter namevalue
- the parameter valueprotected CamelContext getCamelContext()
protected void parseURI()
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.