title: How to find documentation for annotations in springframework
body: <p>I'm new to springframework (and annotations in general) and need help finding documentation.  There are a few things that I'm struggling with.</p>
  
  <p>The specific question I have is what are the annotations/methods/parameters available to the method below and more specifically, how do I get the full url string that was used to get to this method?</p>
  
  <p>This is what the class looks like:</p>
  
  <pre><code>import org.apache.commons.lang3.StringUtils;
  import org.apache.http.client.utils.URIBuilder;
  import org.springframework.beans.factory.annotation.Value;
  import org.springframework.http.HttpStatus;
  import org.springframework.http.ResponseEntity;
  import org.springframework.web.bind.annotation.CrossOrigin;
  import org.springframework.web.bind.annotation.GetMapping;
  import org.springframework.web.bind.annotation.RequestParam;
  import org.springframework.web.bind.annotation.RestController;
  ...
  
  @CrossOrigin
  @RestController
  @Slf4j
  public class MyController {
  
  
      /**
       * 
       * Method mapped to /mymethod
       * 
       */
      @GetMapping("/mymethod")
      public ResponseEntity&lt;AuthRedirect&gt; mymethod(
              @RequestParam("param1") String param1,
              @RequestParam("param2") String param2,
              @RequestParam("param3") String param3,
              @RequestParam("param4") String param4) {
          System.out.println("I was called by" + ???HOW-DO-I-GET-THIS???);
          ...
  </code></pre>
  
  <p>Is this Spring Boot?  Spring MVC?  Something else?</p>
  
  <p>If I google around I get to sites like this but they don't seem to tell me what are the parameters available in this method and how do I get the raw url that was used to call this method?</p>
  
  <p><a href="https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/bind/annotation/GetMapping.html" rel="nofollow noreferrer">https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/bind/annotation/GetMapping.html</a> </p>
  
  <p><a href="https://www.baeldung.com/spring-requestmapping" rel="nofollow noreferrer">https://www.baeldung.com/spring-requestmapping</a></p>
  
  <p><a href="https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/" rel="nofollow noreferrer">https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/</a></p>
  
  <p><a href="https://docs.spring.io/spring-boot/docs/current/reference/html/" rel="nofollow noreferrer">https://docs.spring.io/spring-boot/docs/current/reference/html/</a></p>