Guest User

Untitled

a guest
Nov 14th, 2013
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.50 KB | None | 0 0
  1. REST interface:
  2.  
  3. @GET
  4. @Path("{uuid}")
  5. public List<RoutingModifier> getModifiers(@PathParam("uuid") String routing, @QueryParam("offset") Integer offset,
  6.             @QueryParam("limit") Integer limit, @QueryParam("text") String searchKey, @QueryParam("enabled") Boolean enabled);
  7.  
  8. @GET
  9. @Path("{uuid}/{address}")
  10. public RoutingModifier findModifier(@PathParam("uuid") String routing, @PathParam("address") String address);
  11.  
  12. Service interface:
  13.  
  14. public List<RoutingModifier> getModifiers(SearchCriteria criteria);
Advertisement
Add Comment
Please, Sign In to add comment