Class GeocoderNominationResource


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

      • producerTemplate

        @Inject
        org.apache.camel.ProducerTemplate producerTemplate
    • Constructor Detail

      • GeocoderNominationResource

        public GeocoderNominationResource()
    • 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)