@Path(value="/address/") @Produces(value="application/json") public class AddressesResource extends hbm.service.rs.AbstractRestfulResource<Integer,Address>
AddressesResource()
List<Address>
find(String geohash)
Address
get(String id)
create, delete, getBusinessMapperService, read, setBusinessMapperService, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public AddressesResource()
@GET @Path(value="/geohash/{geohash}/") @Produces(value="application/json") @Consumes(value="application/json") public List<Address> find(@PathParam(value="geohash") String geohash)
@GET @Path(value="/get/{id}") @Produces(value={"application/xml","application/json"}) @Consumes(value={"application/xml","application/json","application/x-www-form-urlencoded"}) public Address get(String id)
Copyright © 2015. All rights reserved.