Class ServiceInstanceResource


  • @Path("/{restShortName}")
    public class ServiceInstanceResource
    extends java.lang.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$ $Date$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IService customPathResource​(java.lang.String restShortName, javax.ws.rs.core.UriInfo ui)
      Forwards requests to the sub-resources.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServiceInstanceResource

        public ServiceInstanceResource()
    • Method Detail

      • customPathResource

        @Path("/")
        public IService customPathResource​(@PathParam("restShortName")
                                           java.lang.String restShortName,
                                           @Context
                                           javax.ws.rs.core.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