我有下一个方法:
@RequestMapping(value="/busqueda/basica", method = {RequestMethod.POST,RequestMethod.GET})
public String busquedaBasica(HttpServletRequest request,
HttpServletResponse response,
ModelMap modelMap,
@RequestParam("nombreBasica") String nombre){
...
}
有没有办法获得方法的请求,POST或GET?