Class VelocityEndpointBuilderFactory.VelocityHeaderNameBuilder

  • Enclosing interface:
    VelocityEndpointBuilderFactory

    public static class VelocityEndpointBuilderFactory.VelocityHeaderNameBuilder
    extends Object
    The builder of headers' name for the Velocity component.
    • Constructor Detail

      • VelocityHeaderNameBuilder

        public VelocityHeaderNameBuilder()
    • Method Detail

      • velocityResourceUri

        public String velocityResourceUri()
        The name of the velocity template. The option is a: String type. Group: producer
        Returns:
        the name of the header VelocityResourceUri.
      • velocityTemplate

        public String velocityTemplate()
        The content of the velocity template. The option is a: String type. Group: producer
        Returns:
        the name of the header VelocityTemplate.
      • velocityContext

        public String velocityContext()
        The velocity context to use. The option is a: org.apache.velocity.context.Context type. Group: producer
        Returns:
        the name of the header VelocityContext.
      • velocitySupplementalContext

        public String velocitySupplementalContext()
        To add additional information to the used VelocityContext. The value of this header should be a Map with key/values that will added (override any existing key with the same name). This can be used to pre setup some common key/values you want to reuse in your velocity endpoints. The option is a: Map<String, Object> type. Group: producer
        Returns:
        the name of the header VelocitySupplementalContext.