spring-framework / org.springframework.web.bind.annotation / CrossOrigin / methods

methods

val methods: Array<RequestMethod>

List of supported HTTP request methods, e.g. "{RequestMethod.GET, RequestMethod.POST}".

Methods specified here override those specified via RequestMapping.

If undefined, methods defined by RequestMapping annotation are used.