Class GeolocationResource


  • @Path("/lumis/geolocation")
    public class GeolocationResource
    extends java.lang.Object
    REST API for gelocalization
    Since:
    16.0.0
    Version:
    $Revision: 25808 $ $Date: 2023-07-04 15:20:55 -0300 (Tue, 04 Jul 2023) $
    • Constructor Detail

      • GeolocationResource

        public GeolocationResource()
    • Method Detail

      • userCurrentPosition

        @Path("/currentPosition")
        @GET
        @Produces("application/json")
        public Response userCurrentPosition​(@Context
                                            HttpServletRequest request)
        Returns the user current geolocation
        Returns:
        Throws:
        lumis.portal.geolocation.GeoLocationServiceDisabledException
        com.maxmind.geoip2.exception.AddressNotFoundException
        java.net.UnknownHostException
        Since:
        16.0.0