Class EndpointUriFactorySupport
- java.lang.Object
-
- org.apache.camel.support.component.EndpointUriFactorySupport
-
- All Implemented Interfaces:
org.apache.camel.CamelContextAware
,org.apache.camel.spi.EndpointUriFactory
public abstract class EndpointUriFactorySupport extends Object implements org.apache.camel.CamelContextAware, org.apache.camel.spi.EndpointUriFactory
Base class used by Camel Package Maven Plugin when it generates source code for fast endpoint uri factory viaEndpointUriFactory
.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.camel.CamelContext
camelContext
-
Constructor Summary
Constructors Constructor Description EndpointUriFactorySupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
buildPathParameter(String syntax, String uri, String name, Object defaultValue, boolean required, Map<String,Object> parameters)
protected String
buildQueryParameters(String uri, Map<String,Object> parameters, boolean encode)
org.apache.camel.CamelContext
getCamelContext()
void
setCamelContext(org.apache.camel.CamelContext camelContext)
-
-
-
Method Detail
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext()
- Specified by:
getCamelContext
in interfaceorg.apache.camel.CamelContextAware
-
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext camelContext)
- Specified by:
setCamelContext
in interfaceorg.apache.camel.CamelContextAware
-
buildPathParameter
protected String buildPathParameter(String syntax, String uri, String name, Object defaultValue, boolean required, Map<String,Object> parameters)
-
buildQueryParameters
protected String buildQueryParameters(String uri, Map<String,Object> parameters, boolean encode) throws URISyntaxException
- Throws:
URISyntaxException
-
-