Class WeatherEndpointBuilderFactory.WeatherHeaderNameBuilder

  • Enclosing interface:
    WeatherEndpointBuilderFactory

    public static class WeatherEndpointBuilderFactory.WeatherHeaderNameBuilder
    extends Object
    The builder of headers' name for the Weather component.
    • Constructor Detail

      • WeatherHeaderNameBuilder

        public WeatherHeaderNameBuilder()
    • Method Detail

      • weatherLocation

        public String weatherLocation()
        Used by the producer to override the endpoint location and use the location from this header instead. The option is a: String type. Group: producer
        Returns:
        the name of the header WeatherLocation.
      • weatherQuery

        public String weatherQuery()
        The original query URL sent to the Open Weather Map site. The option is a: String type. Group: common
        Returns:
        the name of the header WeatherQuery.