title: Adding Paths (routes) dynamically in resteasy
body: <p>How to add routes dynamically in resteasy (or jax-rs implementation).Right now, I add the routes with @Path annotation.
  <strong>Example</strong></p>
  
  <pre><code>@Controller
  @Path("/api")
  public class Controller {
      @GET
      @Path("/route1")
      public String route1() {
          return "Welcome ";
      }
  }
  </code></pre>
  
  <p>But, I need to add more routes at runtime based on some user input. My aim is create rest apis at runtime based on user inputs. </p>