Can I find out if it is possible to annotate one method using 2 messages and receive?
@RequestMapping(value = "/testonly", method = RequestMethod.GET, RequestMethod.POST) public String getSomething(){ }
A field methodis an array, so I expect this to work:
method
@RequestMapping(value = "/testonly", method = { RequestMethod.GET, RequestMethod.POST })
You should not pass the type of the method to either GET or POST. This will throw an unexpected exception if we pass both GET and POST.
Regards, Raja Sehar.
Source: https://habr.com/ru/post/1793357/More articles:gcc 4.5.1 vs. partial specialization of the VC2010 template: what is C ++ 0x? - c ++Find the longest prefix of string s, which is a substring of string reversal s - javaВставлять текстовый файл с iPhone в сетевой компьютер программно - copy-pasteCron Work Planning - cronThe address family is not supported by protocol exception - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1793358/switching-from-fixtures-to-factory-girl&usg=ALkJrhhwu7FvENQndHUJN_7DhYtL5DxAPQPagination on MySQL leads to PHP - phpVarmatic maximum image - c #why can't xml nodeValue get in javascript? - javascriptHow to send an object from one activity to another using Intent.putExtra and Parcel? - androidAll Articles