@Deprecated public class UriEndpointConfiguration extends Object implements EndpointConfiguration
EndpointConfiguration for Endpoint implementations
which are annotated with UriEndpoint to use the UriParam and UriParams annotations
to denote its parameters which can be specified via URI query parameters.EndpointConfiguration.UriFormatURI_AUTHORITY, URI_FRAGMENT, URI_HOST, URI_PATH, URI_PORT, URI_QUERY, URI_SCHEME, URI_SCHEME_SPECIFIC_PART, URI_USER_INFO| Constructor and Description |
|---|
UriEndpointConfiguration(CamelContext camelContext,
Endpoint endpoint,
String uriText)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
CamelContext |
getCamelContext()
Deprecated.
|
Class<? extends Endpoint> |
getEndpointClass()
Deprecated.
|
<T> T |
getParameter(String name)
Deprecated.
Gets the value of a particular parameter.
|
ParameterConfiguration |
getPropertyConfiguration(String name)
Deprecated.
Returns the property configuration for the given property name or null if it does not exist
|
SortedMap<String,ParameterConfiguration> |
getPropertyConfigurationMap()
Deprecated.
Returns the sorted map of all the property names to their
ParameterConfiguration objects |
URI |
getURI()
Deprecated.
Returns the URI configuration of an
Endpoint. |
<T> void |
setParameter(String name,
T value)
Deprecated.
Sets the value of a particular parameter.
|
void |
setURI(URI uri)
Deprecated.
|
String |
toUriString(EndpointConfiguration.UriFormat format)
Deprecated.
Returns the formatted configuration string of an
Endpoint. |
protected void |
warnMissingUriParamOnProperty(String name)
Deprecated.
|
public UriEndpointConfiguration(CamelContext camelContext, Endpoint endpoint, String uriText)
public URI getURI()
EndpointConfigurationEndpoint.getURI in interface EndpointConfigurationpublic <T> T getParameter(String name) throws RuntimeCamelException
EndpointConfigurationgetParameter in interface EndpointConfigurationname - the parameter nameRuntimeCamelException - is thrown if error getting the parameterprotected void warnMissingUriParamOnProperty(String name)
public <T> void setParameter(String name, T value) throws RuntimeCamelException
EndpointConfigurationsetParameter in interface EndpointConfigurationname - the parameter namevalue - the parameter valueRuntimeCamelException - is thrown if error setting the parameterpublic String toUriString(EndpointConfiguration.UriFormat format)
EndpointConfigurationEndpoint.toUriString in interface EndpointConfigurationformat - the formatpublic CamelContext getCamelContext()
public Class<? extends Endpoint> getEndpointClass()
public ParameterConfiguration getPropertyConfiguration(String name)
public SortedMap<String,ParameterConfiguration> getPropertyConfigurationMap()
ParameterConfiguration objectsApache Camel