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.CamelContextcamelContext
-
Constructor Summary
Constructors Constructor Description EndpointUriFactorySupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringbuildPathParameter(String syntax, String uri, String name, Object defaultValue, boolean required, Map<String,Object> parameters)protected StringbuildQueryParameters(String uri, Map<String,Object> parameters, boolean encode)org.apache.camel.CamelContextgetCamelContext()voidsetCamelContext(org.apache.camel.CamelContext camelContext)
-
-
-
Method Detail
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext()
- Specified by:
getCamelContextin interfaceorg.apache.camel.CamelContextAware
-
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext camelContext)
- Specified by:
setCamelContextin 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
-
-