Class AdditionalResource


  • @Path("/additional")
    public class AdditionalResource
    extends Object
    Test resource for osgi-helloworld-webapp example; It is aimed to ensure, that the package scanning works in OSGi for multiple packages defined in web.xml There is also an alternate version of the resource with the same class name within the same package which should not be visible to Jersey via OSGi.
    Author:
    Adam Lindenthal
    • Constructor Detail

      • AdditionalResource

        public AdditionalResource()
    • Method Detail

      • getAdditionalResourceMessage

        @GET
        @Produces("text/plain")
        public String getAdditionalResourceMessage()