0 Replies Latest reply on Jul 22, 2018 2:33 PM by ecabrerar

    How to inject a WebTarget at some point using resteasy-jaxrs and wildfly 11

    ecabrerar

      Hi,

      I'm using resteasy-jaxrs 3.6.0.Final and wildfly 11 and  I want to inject a WebTarget pointing at a resource identified by the resolved URI.

      jersey-server (org.glassfish.jersey.server) has the annotation @Uri and we can use it like this:

       

      @Uri("location")

          private WebTarget locationTarget;

       

      Has resteasy an alternative for the @Uri annotation ?

       

      Thanks in advance !

      RESTEasy RESTEasy Development