Class GenericResourceResource


  • @Path("GenericResource")
    public class GenericResourceResource
    extends Object
    • Constructor Detail

      • GenericResourceResource

        public GenericResourceResource()
    • Method Detail

      • retrieveByTypeAndName

        @GET
        @Path("/{secondaryType}/{name}")
        @Produces("application/xml")
        public List<org.gcube.common.resources.gcore.GenericResource> retrieveByTypeAndName​(@NotNull @PathParam("secondaryType")
                                                                                            String secondaryType,
                                                                                            @NotNull @PathParam("name")
                                                                                            String resourceName)
      • retrieveByType

        @GET
        @Path("/{secondaryType}")
        @Produces("application/xml")
        public List<org.gcube.common.resources.gcore.GenericResource> retrieveByType​(@NotNull @PathParam("secondaryType")
                                                                                     String secondaryType,
                                                                                     @NotNull @PathParam("name")
                                                                                     String resourceName)