Package cn.vertxup.lbs.api
Interface QueryApi
-
@EndPoint @Path("/api") public interface QueryApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFloors(String sigma)StringgetTents(String sigma)StringinitRegion(String id)StringqueryCities(String stateId)StringqueryCountries()StringqueryRegions(String cityId)StringqueryStates(String countryId)
-
-
-
Method Detail
-
queryCountries
@Path("/countries") @GET @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0394\u03b9\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7/L-COUNTRIES") String queryCountries()
-
queryStates
@Path("/states/query/{countryId}") @GET @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0394\u03b9\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7/L-STATE/BY-COUNTRY") String queryStates(@PathParam("countryId") String countryId)
-
queryCities
@Path("/cities/query/{stateId}") @GET @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0394\u03b9\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7/L-CITY/BY-STATE") String queryCities(@PathParam("stateId") String stateId)
-
queryRegions
@Path("/regions/query/{cityId}") @GET @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0394\u03b9\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7/L-REGION/BY-CITY") String queryRegions(@PathParam("cityId") String cityId)
-
initRegion
@Path("/regions/meta/{id}") @GET @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0394\u03b9\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7/L-REGION/META") String initRegion(@PathParam("id") String id)
-
getTents
@Path("/tents") @GET @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0394\u03b9\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7/L-TENT/BY-SIGMA") String getTents(@HeaderParam("X-Sigma") String sigma)
-
getFloors
@Path("/floors") @GET @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0394\u03b9\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7/L-FLOOR/BY-SIGMA") String getFloors(@HeaderParam("X-Sigma") String sigma)
-
-