public class GeolocQueryHttpBuilder extends Object
Pagination
,
Output
Constructor and Description |
---|
GeolocQueryHttpBuilder() |
Modifier and Type | Method and Description |
---|---|
com.gisgraphy.geoloc.GeolocQuery |
buildFromHttpRequest(javax.servlet.http.HttpServletRequest req) |
protected com.gisgraphy.geoloc.GeolocQuery |
constructMinimalQuery(com.vividsolutions.jts.geom.Point point,
double radius)
Create a basic GeolocQuery. this method must be overide
if we need to create inheritance object
|
static GeolocQueryHttpBuilder |
getInstance() |
protected int |
getMaxResults() |
protected boolean |
isPointRequired() |
public static GeolocQueryHttpBuilder getInstance()
public com.gisgraphy.geoloc.GeolocQuery buildFromHttpRequest(javax.servlet.http.HttpServletRequest req)
req
- an HttpServletRequest to construct a GeolocQuery
protected int getMaxResults()
protected com.gisgraphy.geoloc.GeolocQuery constructMinimalQuery(com.vividsolutions.jts.geom.Point point, double radius)
point
- the JTS point to create the queryradius
- the radius to search aroundprotected boolean isPointRequired()
Copyright © 2015. All rights reserved.