@Path(value="ServiceEndpoint") public class ServiceEndpointResource extends Object
| Constructor and Description |
|---|
ServiceEndpointResource() |
| Modifier and Type | Method and Description |
|---|---|
static String |
decryptString(String toDecrypt) |
List<org.gcube.common.resources.gcore.ServiceEndpoint> |
retrieve(String resourceCategory) |
List<org.gcube.common.resources.gcore.ServiceEndpoint> |
retrieve(String resourceName,
String resourceCategory,
boolean isDecrypt) |
String |
retrieveCustom(String resourceName,
String resourceCategory,
String resultXPath) |
@GET
@Path(value="/{category}")
@Produces(value="application/xml")
public List<org.gcube.common.resources.gcore.ServiceEndpoint> retrieve(@NotNull @PathParam(value="category")
String resourceCategory)
@GET
@Path(value="/{category}/{name}")
@Produces(value="application/xml")
public List<org.gcube.common.resources.gcore.ServiceEndpoint> retrieve(@NotNull @PathParam(value="name")
String resourceName,
@NotNull @PathParam(value="category")
String resourceCategory,
@QueryParam(value="decrypt")
boolean isDecrypt)
@GET
@Path(value="/{category}/{name}/Result/{result:([^$\\?]+)}")
@Produces(value="text/xml")
public String retrieveCustom(@NotNull @PathParam(value="name")
String resourceName,
@NotNull @PathParam(value="category")
String resourceCategory,
@NotNull @PathParam(value="result")
String resultXPath)
Copyright © 2023. All Rights Reserved.