JAX_RS does not "merge" annotations between interfaces and classes.
Either the jaxrs annotations are on the interface, or they are on the class.
On 1/29/2014 3:19 PM, Kristoffer Sjögren wrote:
> Hi
>
> Im trying to create a jaxrs client proxy from an interface that looks
> roughly like this.
>
>
Hi
Im trying to create a jaxrs client proxy from an interface that looks
roughly like this.
public interface SimpleService {
@GET
@Path("basic")
@Produces("text/plain")
String getBasic();
}
There is a service side implementation which is registered using the
Application.getSingletons