Class GisResolver
- java.lang.Object
-
- org.gcube.datatransfer.resolver.services.GisResolver
-
@Path("gis") public class GisResolver extends ObjectThe GisResolver is able to resolve GIS Links (as a redirect to Gis Viewer Application) in order to display and navigate on web-map the gis layers stored in D4Science's Geonetwork See more at https://gcube.wiki.gcube-system.org/gcube/URI_Resolver#GIS_Resolver- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Dec 14, 2018
-
-
Constructor Summary
Constructors Constructor Description GisResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GisLayerItemgetGisLayerForLayerUUID(javax.servlet.http.HttpServletRequest req, String scope, String gisUUID)Gets the gis layer for layer uuid.javax.ws.rs.core.ResponsesubmitGet(javax.servlet.http.HttpServletRequest req, String scope, String gisUUID, String geoExplorerUUID)Submit get.
-
-
-
Field Detail
-
help
public static String help
-
UTF_8
public static final String UTF_8
- See Also:
- Constant Field Values
-
GIS_UUID
public static final String GIS_UUID
- See Also:
- Constant Field Values
-
SCOPE
public static final String SCOPE
- See Also:
- Constant Field Values
-
GEO_EXPLORER_LAYER_UUID
public static final String GEO_EXPLORER_LAYER_UUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
submitGet
@GET @Path("") public javax.ws.rs.core.Response submitGet(@Context javax.servlet.http.HttpServletRequest req, @QueryParam("scope") String scope, @QueryParam("gis-UUID") String gisUUID, @QueryParam("geo-exp") String geoExplorerUUID) throws javax.ws.rs.WebApplicationExceptionSubmit get.- Parameters:
req- the reqscope- the scopegisUUID- the gis uuidgeoExplorerUUID- the geo explorer uuid- Returns:
- the response
- Throws:
javax.ws.rs.WebApplicationException- the web application exception
-
getGisLayerForLayerUUID
public GisLayerItem getGisLayerForLayerUUID(javax.servlet.http.HttpServletRequest req, String scope, String gisUUID) throws Exception
Gets the gis layer for layer uuid.- Parameters:
req- the reqscope- the scopegisUUID- the gis uuid- Returns:
- the gis layer for layer uuid
- Throws:
Exception- the exception
-
-