Coding Dairy
Wednesday, October 19, 2011
Spring REST Controller example
@Controller
@RequestMapping("/urlpattern")
public class ClassName {
@RequestMapping(method=RequestMethod.GET, headers={"Accept=application/json"})
public @ResponseBody responseClass method(Model model){
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment