Public Member Functions | |
| GeoLocationPipelineBuilder (ILoggerFactory loggerFactory) | |
| Constructor. | |
| GeoLocationPipelineBuilder (ILoggerFactory loggerFactory, HttpClient httpClient) | |
| Constructor. | |
| GeoLocationCloudPipelineBuilder | useCloud (String resourceKey, Enums.GeoLocationProvider provider) |
| Use the 51Degrees cloud service to perform Geo Location. | |
| GeoLocationCloudPipelineBuilder | useCloud (String resourceKey, String endpoint, Enums.GeoLocationProvider provider) |
| Use the 51Degrees cloud service to perform Geo Location. | |
Constructor & Destructor Documentation
◆ GeoLocationPipelineBuilder() [1/2]
| fiftyone.geolocation.GeoLocationPipelineBuilder.GeoLocationPipelineBuilder | ( | ILoggerFactory | loggerFactory | ) |
Constructor.
- Parameters
-
loggerFactory the factory to use for creating loggers within the pipeline
◆ GeoLocationPipelineBuilder() [2/2]
| fiftyone.geolocation.GeoLocationPipelineBuilder.GeoLocationPipelineBuilder | ( | ILoggerFactory | loggerFactory, |
| HttpClient | httpClient ) |
Constructor.
- Parameters
-
loggerFactory the factory to use for creating loggers within the pipeline httpClient the HTTP client to use within the pipeline
Member Function Documentation
◆ useCloud() [1/2]
| GeoLocationCloudPipelineBuilder fiftyone.geolocation.GeoLocationPipelineBuilder.useCloud | ( | String | resourceKey, |
| Enums.GeoLocationProvider | provider ) |
Use the 51Degrees cloud service to perform Geo Location.
- Parameters
-
resourceKey the resource key to use when querying the service. Obtain one from https://configure.51degrees.com?utm_source=code&utm_medium=comment&utm_campaign=location-java&utm_content=geo-location-src-main-java-fiftyone-geolocation-geolocationpipelinebuilder.java&utm_term=usecloud provider the Geo Location provider to use
- Returns
- builder that can be used to configure and build a pipeline that will use the cloud Geo Location engine
◆ useCloud() [2/2]
| GeoLocationCloudPipelineBuilder fiftyone.geolocation.GeoLocationPipelineBuilder.useCloud | ( | String | resourceKey, |
| String | endpoint, | ||
| Enums.GeoLocationProvider | provider ) |
Use the 51Degrees cloud service to perform Geo Location.
- Parameters
-
resourceKey the resource to use when querying the cloud service. Obtain one from https://configure.51degrees.com?utm_source=code&utm_medium=comment&utm_campaign=location-java&utm_content=geo-location-src-main-java-fiftyone-geolocation-geolocationpipelinebuilder.java&utm_term=usecloud-2 endpoint the 51Degrees cloud URL provider the Geo Location provider to use
- Returns
- a builder that can be used to configure and build a pipeline that will use the cloud Geo Location engine
