Class GeoNameApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<GeoName>searchForCities(String term, String accept) Find geo-name by term Finds a list of geo-name entities for a term that `sounds like`.searchForCitiesWithHttpInfo(String term, String accept) reactor.core.publisher.Flux<GeoName>searchForCity(String searchTerm, String accept) Search for city Searches for city matching search term.searchForCityWithHttpInfo(String searchTerm, String accept) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Flux<KeyValuePair>showContinents(String accept) Show all continents List all continents.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showContinentsWithHttpInfo(String accept) reactor.core.publisher.Flux<GeoNameCountry>showCountries1(String accept) Show all countries List all countries.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<GeoNameCountry>>>showCountries1WithHttpInfo(String accept) reactor.core.publisher.Mono<GeoName>showGeoNameById(String geoNameId, String accept) Find geo-name by identifier Finds geo-name by given identifier.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GeoName>>showGeoNameByIdWithHttpInfo(String geoNameId, String accept) reactor.core.publisher.Flux<String>showTimezones(String accept) Show all time zones List all time zones.showTimezonesWithHttpInfo(String accept)
-
Constructor Details
-
GeoNameApi
public GeoNameApi() -
GeoNameApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
searchForCities
public reactor.core.publisher.Flux<GeoName> searchForCities(String term, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Find geo-name by term Finds a list of geo-name entities for a term that `sounds like`.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
term- Geo-name term to be searchedaccept- The accept parameter- Returns:
- List<GeoName>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
searchForCitiesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<GeoName>>> searchForCitiesWithHttpInfo(String term, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
searchForCity
public reactor.core.publisher.Flux<GeoName> searchForCity(String searchTerm, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Search for city Searches for city matching search term.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
searchTerm- Search for city by search termaccept- The accept parameter- Returns:
- List<GeoName>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
searchForCityWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<GeoName>>> searchForCityWithHttpInfo(String searchTerm, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showContinents
public reactor.core.publisher.Flux<KeyValuePair> showContinents(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show all continents List all continents.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
accept- The accept parameter- Returns:
- List<KeyValuePair>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showContinentsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showContinentsWithHttpInfo(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showCountries1
public reactor.core.publisher.Flux<GeoNameCountry> showCountries1(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show all countries List all countries.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
accept- The accept parameter- Returns:
- List<GeoNameCountry>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showCountries1WithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<GeoNameCountry>>> showCountries1WithHttpInfo(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showGeoNameById
public reactor.core.publisher.Mono<GeoName> showGeoNameById(String geoNameId, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Find geo-name by identifier Finds geo-name by given identifier.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
geoNameId- Geo-name identifieraccept- The accept parameter- Returns:
- GeoName
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showGeoNameByIdWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GeoName>> showGeoNameByIdWithHttpInfo(String geoNameId, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showTimezones
public reactor.core.publisher.Flux<String> showTimezones(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show all time zones List all time zones.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
accept- The accept parameter- Returns:
- List<String>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showTimezonesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<String>>> showTimezonesWithHttpInfo(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-