Polish Javadoc for @GetMapping

Issue: SPR-13992
master
Sam Brannen 9 years ago
parent cbcc9998f1
commit 4bead6e542
  1. 7
      spring-web/src/main/java/org/springframework/web/bind/annotation/GetMapping.java

@ -32,9 +32,10 @@ import static org.springframework.web.bind.annotation.RequestMethod.GET;
*
* <p>Specifically, {@code @GetMapping} is a <em>composed annotation</em> that
* acts as a shortcut for {@code @RequestMapping(method = RequestMethod.GET)}.
* Furthermore, this annotation does not support the
* {@link RequestMapping#method method} and {@link RequestMapping#consumes consumes}
* attributes of {@code @RequestMapping}.
*
* <h5>Difference between {@code @GetMapping} &amp; {@code @RequestMapping}</h5>
* <p>{@code @GetMapping} does not support the {@link RequestMapping#consumes consumes}
* attribute of {@code @RequestMapping}.
*
* @author Sam Brannen
* @since 4.3

Loading…
Cancel
Save