Class GeocoderNominationResource
java.lang.Object
org.apache.camel.quarkus.component.geocoder.it.GeocoderNominationResource
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) org.apache.camel.ProducerTemplate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetByCoordinate(String latitude, String longitude) getByCurrentLocation(String address)
-
Field Details
-
httpTestPort
-
httpPort
-
producerTemplate
@Inject org.apache.camel.ProducerTemplate producerTemplate
-
-
Constructor Details
-
GeocoderNominationResource
public GeocoderNominationResource()
-
-
Method Details
-
getByCurrentLocation
@Path("address/{address}") @GET @Produces("application/json") public GeocoderResult getByCurrentLocation(@PathParam("address") String address) throws Exception - Throws:
Exception
-
getByCoordinate
@Path("lat/{lat}/lon/{lon}") @GET @Produces("application/json") public GeocoderResult getByCoordinate(@PathParam("lat") String latitude, @PathParam("lon") String longitude) throws Exception - Throws:
Exception
-