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 via
EndpointUriFactory.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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.CamelContextvoidsetCamelContext(org.apache.camel.CamelContext camelContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.spi.EndpointUriFactory
buildUri, buildUri, isEnabled, isLenientProperties, multiValuePrefixes, propertyNames, secretPropertyNames
-
Field Details
-
camelContext
protected org.apache.camel.CamelContext camelContext
-
-
Constructor Details
-
EndpointUriFactorySupport
public EndpointUriFactorySupport()
-
-
Method Details
-
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
-
buildQueryParameters
protected String buildQueryParameters(String uri, Map<String, Object> parameters, boolean encode) throws URISyntaxException- Throws:
URISyntaxException
-