Class ServiceEndpointResource
- java.lang.Object
-
- org.gcube.informationsystem.icproxy.resources.ServiceEndpointResource
-
@Path("ServiceEndpoint") public class ServiceEndpointResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringENABLED_ROLE
-
Constructor Summary
Constructors Constructor Description ServiceEndpointResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gcube.common.resources.gcore.ServiceEndpointcreate(org.gcube.common.resources.gcore.ServiceEndpoint resourceProfile)org.gcube.common.resources.gcore.ServiceEndpointcreate(ServiceEndpointProfile resourceProfile)List<org.gcube.common.resources.gcore.ServiceEndpoint>retrieve(String resourceCategory)List<org.gcube.common.resources.gcore.ServiceEndpoint>retrieve(String resourceName, String resourceCategory, boolean isDecrypt)StringretrieveCustom(String resourceName, String resourceCategory, String resultXPath)
-
-
-
Field Detail
-
ENABLED_ROLE
public static final String ENABLED_ROLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
retrieve
@GET @Path("/{category}") @Produces("application/xml") public List<org.gcube.common.resources.gcore.ServiceEndpoint> retrieve(@NotNull @PathParam("category") String resourceCategory)
-
retrieve
@GET @Path("/{category}/{name}") @Produces("application/xml") public List<org.gcube.common.resources.gcore.ServiceEndpoint> retrieve(@NotNull @PathParam("name") String resourceName, @NotNull @PathParam("category") String resourceCategory, @QueryParam("decrypt") boolean isDecrypt)
-
retrieveCustom
@GET @Path("/{category}/{name}/Result/{result:([^$\\?]+)}") @Produces("text/xml") public String retrieveCustom(@NotNull @PathParam("name") String resourceName, @NotNull @PathParam("category") String resourceCategory, @NotNull @PathParam("result") String resultXPath)
-
create
@POST @Produces("application/xml") @Consumes("application/xml") public org.gcube.common.resources.gcore.ServiceEndpoint create(org.gcube.common.resources.gcore.ServiceEndpoint resourceProfile)
-
create
@POST @Produces("application/xml") @Consumes("application/json") public org.gcube.common.resources.gcore.ServiceEndpoint create(ServiceEndpointProfile resourceProfile)
-
-