|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PznGeolocationInterface
Defines methods for resolving a user's geographical location.
Nested Class Summary | |
---|---|
static class |
PznGeolocationInterface.GeoAddress
This class stores elements of a geographical address. |
static class |
PznGeolocationInterface.GeoCoords
This class stores geographical coordinates. |
static class |
PznGeolocationInterface.GeoLocation
This class stores a geographical location, including both coordinates and address. |
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Method Summary | |
---|---|
PznGeolocationInterface.GeoAddress |
getAddressFromCoords(javax.servlet.http.HttpServletRequest httpRequest,
PznGeolocationInterface.GeoCoords coordinates)
Resolves a user's address from geographical coordinates. |
PznGeolocationInterface.GeoLocation |
getLocation(javax.servlet.http.HttpServletRequest httpRequest)
Returns a user's current geographical location. |
Field Detail |
---|
static final java.lang.String COPYRIGHT
Method Detail |
---|
PznGeolocationInterface.GeoLocation getLocation(javax.servlet.http.HttpServletRequest httpRequest)
httpRequest
- - HTTP request received from remote client
PznGeolocationInterface.GeoAddress getAddressFromCoords(javax.servlet.http.HttpServletRequest httpRequest, PznGeolocationInterface.GeoCoords coordinates)
httpRequest
- - HTTP request received from remote clientcoordinates
- - latitude and longitude
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |