|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EndpointConfiguration
Holds an Endpoint configuration as a pojo that can be manipulated and validated.
Camel endpoint configuration is strongly related to URIs.
| Nested Class Summary | |
|---|---|
static class |
EndpointConfiguration.UriFormat
DataFormat operations. |
| Field Summary | |
|---|---|
static String |
URI_AUTHORITY
|
static String |
URI_FRAGMENT
|
static String |
URI_HOST
|
static String |
URI_PATH
|
static String |
URI_PORT
|
static String |
URI_QUERY
|
static String |
URI_SCHEME
|
static String |
URI_SCHEME_SPECIFIC_PART
|
static String |
URI_USER_INFO
|
| Method Summary | ||
|---|---|---|
|
getParameter(String name)
Gets the value of a particular parameter. |
|
URI |
getURI()
Returns the URI configuration of an Endpoint. |
|
|
setParameter(String name,
T value)
Sets the value of a particular parameter. |
|
String |
toUriString(EndpointConfiguration.UriFormat format)
Returns the formatted configuration string of an Endpoint. |
|
| Field Detail |
|---|
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
| Method Detail |
|---|
URI getURI()
Endpoint.
<T> T getParameter(String name)
throws RuntimeCamelException
name - the parameter name
RuntimeCamelException - is thrown if error getting the parameter
<T> void setParameter(String name,
T value)
throws RuntimeCamelException
name - the parameter namevalue - the parameter value
RuntimeCamelException - is thrown if error setting the parameterString toUriString(EndpointConfiguration.UriFormat format)
Endpoint.
format - the format
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||