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$ $Date$
-
-
Constructor Summary
Constructors Constructor Description GeolocationResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
userCurrentPosition(javax.servlet.http.HttpServletRequest request)
Returns the user current geolocation
-
-
-
Method Detail
-
userCurrentPosition
@Path("/currentPosition") @GET @Produces("application/json") public javax.ws.rs.core.Response userCurrentPosition(@Context javax.servlet.http.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
-
-