Class GeocoderNominationResource
- java.lang.Object
-
- org.apache.camel.quarkus.component.geocoder.it.GeocoderNominationResource
-
@Path("/nomination") @ApplicationScoped public class GeocoderNominationResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.apache.camel.ProducerTemplateproducerTemplate
-
Constructor Summary
Constructors Constructor Description GeocoderNominationResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeocoderResultgetByCoordinate(String latitude, String longitude)GeocoderResultgetByCurrentLocation(String address)
-
-
-
Method Detail
-
getByCurrentLocation
@Path("address/{address}") @GET @Produces("application/json") public GeocoderResult getByCurrentLocation(@PathParam("address") String address)
-
getByCoordinate
@Path("lat/{lat}/lon/{lon}") @GET @Produces("application/json") public GeocoderResult getByCoordinate(@PathParam("lat") String latitude, @PathParam("lon") String longitude)
-
-