@Deprecated public interface EndpointConfiguration
Endpoint
configuration as a pojo that can be manipulated and validated.
Camel endpoint configuration is strongly related to URIs.Modifier and Type | Interface and Description |
---|---|
static class |
EndpointConfiguration.UriFormat
Deprecated.
DataFormat operations. |
Modifier and Type | Field and Description |
---|---|
static String |
URI_AUTHORITY
Deprecated.
|
static String |
URI_FRAGMENT
Deprecated.
|
static String |
URI_HOST
Deprecated.
|
static String |
URI_PATH
Deprecated.
|
static String |
URI_PORT
Deprecated.
|
static String |
URI_QUERY
Deprecated.
|
static String |
URI_SCHEME
Deprecated.
|
static String |
URI_SCHEME_SPECIFIC_PART
Deprecated.
|
static String |
URI_USER_INFO
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
getParameter(String name)
Deprecated.
Gets the value of a particular parameter.
|
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.
|
String |
toUriString(EndpointConfiguration.UriFormat format)
Deprecated.
Returns the formatted configuration string of an
Endpoint . |
static final String URI_SCHEME
static final String URI_SCHEME_SPECIFIC_PART
static final String URI_AUTHORITY
static final String URI_USER_INFO
static final String URI_HOST
static final String URI_PORT
static final String URI_PATH
static final String URI_QUERY
static final String URI_FRAGMENT
URI getURI()
Endpoint
.<T> T getParameter(String name) throws RuntimeCamelException
name
- the parameter nameRuntimeCamelException
- is thrown if error getting the parameter<T> void setParameter(String name, T value) throws RuntimeCamelException
name
- the parameter namevalue
- the parameter valueRuntimeCamelException
- is thrown if error setting the parameterString toUriString(EndpointConfiguration.UriFormat format)
Endpoint
.format
- the formatApache Camel