0 Replies Latest reply on Jul 22, 2018 2:33 PM by Eudris Cabrera Rodriguez

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

    Eudris Cabrera Rodriguez Newbie


      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:



          private WebTarget locationTarget;


      Has resteasy an alternative for the @Uri annotation ?


      Thanks in advance !

      RESTEasy RESTEasy Development