public class StreetSearchQueryHttpBuilder extends GeolocQueryHttpBuilder
StreetSearchEngine| Constructor and Description |
|---|
StreetSearchQueryHttpBuilder() |
| Modifier and Type | Method and Description |
|---|---|
com.gisgraphy.street.StreetSearchQuery |
buildFromHttpRequest(javax.servlet.http.HttpServletRequest req) |
protected com.gisgraphy.street.StreetSearchQuery |
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 StreetSearchQueryHttpBuilder |
getInstance() |
protected int |
getMaxResults() |
protected boolean |
isPointRequired() |
public static StreetSearchQueryHttpBuilder getInstance()
protected com.gisgraphy.street.StreetSearchQuery constructMinimalQuery(com.vividsolutions.jts.geom.Point point,
double radius)
GeolocQueryHttpBuilderconstructMinimalQuery in class GeolocQueryHttpBuilderpoint - the JTS point to create the queryradius - the radius to search aroundpublic com.gisgraphy.street.StreetSearchQuery buildFromHttpRequest(javax.servlet.http.HttpServletRequest req)
buildFromHttpRequest in class GeolocQueryHttpBuilderreq - an HttpServletRequest to construct a GeolocQueryprotected boolean isPointRequired()
isPointRequired in class GeolocQueryHttpBuilderprotected int getMaxResults()
getMaxResults in class GeolocQueryHttpBuilderCopyright © 2015. All rights reserved.