Class GeocoderNominationResource

java.lang.Object
org.apache.camel.quarkus.component.geocoder.it.GeocoderNominationResource

@Path("/nomination") @ApplicationScoped public class GeocoderNominationResource extends Object
  • Field Details

    • httpTestPort

      Optional<Integer> httpTestPort
    • httpPort

      Optional<Integer> 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