Class ServiceInstanceResource


  • @Path("/{restShortName}")
    public class ServiceInstanceResource
    extends Object
    Resource that treats all rest request for Service Instances (Content, Doui and non-doui). This resource forwards the request to sub-resources in the class that represents the service implementation. All methods, that will be sub-resource, must have the method annotation e.g. @GET, @POST, @PUT or
    Since:
    6.1.0
    Version:
    $Revision: 19108 $ $Date: 2016-06-01 00:01:58 -0300 (Wed, 01 Jun 2016) $
    • Constructor Detail

      • ServiceInstanceResource

        public ServiceInstanceResource()
    • Method Detail

      • customPathResource

        @Path("/")
        public IService customPathResource​(@PathParam("restShortName")
                                           String restShortName,
                                           @Context
                                           UriInfo ui)
        Forwards requests to the sub-resources.
        Parameters:
        restShortName - rest short name of the service instance target.
        ui - the context of the request. This parameter contains all informations about the request.
        Since:
        6.1.0