Class GeoCoderEndpointBuilderFactory.GeoCoderHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.GeoCoderEndpointBuilderFactory.GeoCoderHeaderNameBuilder
-
- Enclosing interface:
- GeoCoderEndpointBuilderFactory
public static class GeoCoderEndpointBuilderFactory.GeoCoderHeaderNameBuilder extends Object
The builder of headers' name for the Geocoder component.
-
-
Constructor Summary
Constructors Constructor Description GeoCoderHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgeoCoderAddress()The formatted address.StringgeoCoderCity()The city long name.StringgeoCoderCountryLong()The country long name.StringgeoCoderCountryShort()The country short name.StringgeoCoderLat()The latitude of the location.StringgeoCoderLatlng()The latitude and longitude of the location.StringgeoCoderLng()The longitude of the location.StringgeoCoderPostalCode()The postal code.StringgeoCoderRegionCode()The region code.StringgeoCoderRegionName()The region name.StringgeoCoderStatus()Status code from the geocoder library.
-
-
-
Method Detail
-
geoCoderAddress
public String geoCoderAddress()
The formatted address. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
GeoCoderAddress.
-
geoCoderLatlng
public String geoCoderLatlng()
The latitude and longitude of the location. Separated by comma. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
GeoCoderLatlng.
-
geoCoderLat
public String geoCoderLat()
The latitude of the location. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
GeoCoderLat.
-
geoCoderLng
public String geoCoderLng()
The longitude of the location. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
GeoCoderLng.
-
geoCoderStatus
public String geoCoderStatus()
Status code from the geocoder library. If status is GeocoderStatus.OK then additional headers is enriched. The option is a:org.apache.camel.component.geocoder.GeocoderStatustype. Required: true Group: producer- Returns:
- the name of the header
GeoCoderStatus.
-
geoCoderRegionCode
public String geoCoderRegionCode()
The region code. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
GeoCoderRegionCode.
-
geoCoderRegionName
public String geoCoderRegionName()
The region name. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
GeoCoderRegionName.
-
geoCoderCity
public String geoCoderCity()
The city long name. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
GeoCoderCity.
-
geoCoderCountryLong
public String geoCoderCountryLong()
The country long name. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
GeoCoderCountryLong.
-
geoCoderCountryShort
public String geoCoderCountryShort()
The country short name. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
GeoCoderCountryShort.
-
geoCoderPostalCode
public String geoCoderPostalCode()
The postal code. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
GeoCoderPostalCode.
-
-