title: Binding/Passing request parameters from controller to client in Micronaut
body: <p>I am trying to build a gateway app using Micronaut.
  On the client side it connects to a REST API while on the controller side another app is sending requests&gt; I am able to stream the requests but not the path variables/parameters.
  As an example, how would I pass the path parameter received in the controller, to the client.</p>
  <pre class="lang-java prettyprint-override"><code>@Controller(&quot;/bintray&quot;) 
  public class BintrayController {
  
      private final BintrayLowLevelClient bintrayLowLevelClient;
  
      private final BintrayClient bintrayClient;
  
      public BintrayController(BintrayLowLevelClient bintrayLowLevelClient, 
                               BintrayClient bintrayClient
                                ) {
          this.bintrayLowLevelClient = bintrayLowLevelClient;
          this.bintrayClient = bintrayClient;
      }
  
  
      @Get(uri = &quot;/packages/{paramFromRequest}&quot;, produces = MediaType.APPLICATION_JSON_STREAM) 
      Flowable&lt;BintrayPackage&gt; packages() { 
          return bintrayClient.fetchPackages();
      }
  
  }
  </code></pre>
  <pre class="lang-java prettyprint-override"><code>@Client(BintrayConfiguration.BINTRAY_API_URL) 
  public interface BintrayClient {
  
      @Get(&quot;/api/${bintray.apiversion}/packages/{paramFromRequest}&quot;) 
      Flowable&lt;BintrayPackage&gt; fetchPackages(); 
  
  }
  </code></pre>
  <p>Thank you very much for helping.</p>