Package lumis.portal.geolocation
Class GeolocationResource
- java.lang.Object
-
- lumis.portal.geolocation.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 Summary
Constructors Constructor Description GeolocationResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
userCurrentPosition(HttpServletRequest request)
Returns the user current geolocation
-
-
-
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
-
-