title: Using @RequestLine with Feign
body: <p>I have a working Feign interface defined as:</p>
  
  <pre><code>@FeignClient("content-link-service")
  public interface ContentLinkServiceClient {
  
      @RequestMapping(method = RequestMethod.GET, value = "/{trackid}/links")
      List&lt;Link&gt; getLinksForTrack(@PathVariable("trackid") Long trackId);
  
  }
  </code></pre>
  
  <p>If I change this to use @RequestLine</p>
  
  <pre><code>@FeignClient("content-link-service")
  public interface ContentLinkServiceClient {
  
      @RequestLine("GET /{trackid}/links")
      List&lt;Link&gt; getLinksForTrack(@Param("trackid") Long trackId);
  
  }
  </code></pre>
  
  <p>I get the exception</p>
  
  <blockquote>
    <p>Caused by: java.lang.IllegalStateException: Method getLinksForTrack not annotated with HTTP method type (ex. GET, POST)</p>
  </blockquote>
  
  <p>Any ideas why?</p>