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)
GeolocQueryHttpBuilder
constructMinimalQuery
in class GeolocQueryHttpBuilder
point
- 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 GeolocQueryHttpBuilder
req
- an HttpServletRequest to construct a GeolocQuery
protected boolean isPointRequired()
isPointRequired
in class GeolocQueryHttpBuilder
protected int getMaxResults()
getMaxResults
in class GeolocQueryHttpBuilder
Copyright © 2015. All rights reserved.