The [source code for Spring OAuth2's AuthorizationEndpoint](https://github.com/spring-projects/spring-security-oauth/blob/master/spring-security-oauth2/src/main/java/org/springframework/security/oauth2/provider/endpoint/AuthorizationEndpoint.java) contains two redundant `@RequestMapping` annotations for the same `/oauth/authorize` endpoint. One of them specifies the `POST` method, while the other does not specify a method. 

How are the two `@RequestMapping` annotations interpreted? Does the one that specifies `POST` exclusively handle all `POST /oauth/authorize` requests, and does the one that does not specify a method exclusively handle any `non-POST` requests to `/oauth/authorize`? Or do both methods overlap, with both methods being called for certain requests?

This is probably a Spring MVC question, though the source code on GitHub uses Spring MVC to define what is Spring OAuth2. 

Though the complete source code is available on GitHub at the link that the top of this OP, the headers for the two relevant methods are summarized here as follows: 

```
@RequestMapping(value = "/oauth/authorize")
public ModelAndView authorize(Map<String, Object> model, @RequestParam Map<String, String> parameters,
        SessionStatus sessionStatus, Principal principal) {

  //other stuff
}

@RequestMapping(value = "/oauth/authorize", method = RequestMethod.POST, params = OAuth2Utils.USER_OAUTH_APPROVAL)
public View approveOrDeny(@RequestParam Map<String, String> approvalParameters, Map<String, ?> model,
        SessionStatus sessionStatus, Principal principal) {

  //other stuff
}  

```