public interface EndpointUriFactory extends CamelContextAware
Modifier and Type | Method and Description |
---|---|
default String |
buildUri(String scheme,
Map<String,Object> properties)
Assembles an endpoint uri for the given component name with the given parameters.
|
String |
buildUri(String scheme,
Map<String,Object> properties,
boolean encode)
Assembles an endpoint uri for the given component name with the given parameters.
|
boolean |
isEnabled(String scheme)
Checks whether this factory supports the given component name
|
boolean |
isLenientProperties()
Whether the endpoint is lenient or not.
|
Set<String> |
propertyNames()
Returns all the names this endpoint supports.
|
Set<String> |
secretPropertyNames()
Returns the names of the secret properties this endpoin supports.
|
getCamelContext, setCamelContext, trySetCamelContext
boolean isEnabled(String scheme)
default String buildUri(String scheme, Map<String,Object> properties) throws URISyntaxException
scheme
- the component nameproperties
- endpoint optionsURISyntaxException
String buildUri(String scheme, Map<String,Object> properties, boolean encode) throws URISyntaxException
scheme
- the component nameproperties
- endpoint optionsencode
- whether to URL encode the returned uri or notURISyntaxException
Set<String> secretPropertyNames()
boolean isLenientProperties()
Endpoint.isLenientProperties()
Apache Camel