title: Android: Retrofit: 3 methods to one without change client's code?
body: <pre><code>com.squareup.retrofit2:retrofit:2.3.0
  </code></pre>
  
  <p>The Android client can send to server then next http requests:</p>
  
  <pre><code>GET /api/profiles.json
  GET /api/profiles.json?page=1
  GET /api/profiles.json?page=1&amp;count=10
  </code></pre>
  
  <p>Fields: "<strong>page</strong>", "<strong>count</strong>" are not required.</p>
  
  <p>I write 3 methods on interface:</p>
  
  <pre><code>public interface RestClient {
  
      @GET("/api/profile.json")
      Call&lt;List&lt;Profile&gt;&gt; getProfilesList();
  
      @GET("/api/profile.json")
      Call&lt;List&lt;Profile&gt;&gt; getProfilesList(@Query("page") int page);
  
      @GET("/api/profile.json")
      Call&lt;List&lt;Profile&gt;&gt; getProfilesList(@Query("page") int page, @Query("count") int count);
  }
  </code></pre>
  
  <p>On client code (3 activites) call every of this method:</p>
  
  <pre><code>public class MyActivity1 extends AppCompatActivity {
  ...
  ProfileService.getProfilesList(2, 3, new Callback&lt;List&lt;Profile&gt;&gt;() {...})
  ...
  }
  </code></pre>
  
  <p>second activity:</p>
  
  <pre><code>public class MyActivity2 extends AppCompatActivity {
  ProfileService.getProfilesList(2, new Callback&lt;List&lt;Profile&gt;&gt;() {...})
   ...
  }
  </code></pre>
  
  <p>and third activity:</p>
  
  <pre><code>public class MyActivity3 extends AppCompatActivity {
  ...
  ProfileService.getProfilesList(new Callback&lt;List&lt;Profile&gt;&gt;() {...})
  ...
  }
  </code></pre>
  
  <p>OK. All client's code work fine.</p>
  
  <p>But I want to create only one method <code>getProfilesList()</code> in interface RestClient.
  And this does not affect to client's code. Not change anything ia client's code (<strong>MyActivity1, MyActivity3, MyActivity3</strong>)</p>
  
  <p>Is it possible in Retrofit?</p>