Package de.narimo.georepo.server.api
Class DocumentController
- java.lang.Object
-
- de.narimo.georepo.server.api.DocumentController
-
@Provider @Path("/workspaces/{workspace}/layers/{layername}/features/{gfid}/documents") public class DocumentController extends Object
-
-
Constructor Summary
Constructors Constructor Description DocumentController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsegetFeatureDocument(javax.ws.rs.core.SecurityContext sec, javax.servlet.ServletContext ctx, String workspace, String layerName, int gfid, String fileName)javax.ws.rs.core.ResponsegetFeatureDocuments(javax.ws.rs.core.SecurityContext sec, javax.servlet.ServletContext ctx, String workspace, String layerName, int gfid)
-
-
-
Method Detail
-
getFeatureDocuments
@GET @Path("/") @Produces("application/json") public javax.ws.rs.core.Response getFeatureDocuments(@Context javax.ws.rs.core.SecurityContext sec, @Context javax.servlet.ServletContext ctx, @PathParam("workspace") String workspace, @PathParam("layername") String layerName, @PathParam("gfid") int gfid)
-
getFeatureDocument
@GET @Path("/{filename}") @Produces("application/pdf") public javax.ws.rs.core.Response getFeatureDocument(@Context javax.ws.rs.core.SecurityContext sec, @Context javax.servlet.ServletContext ctx, @PathParam("workspace") String workspace, @PathParam("layername") String layerName, @PathParam("gfid") int gfid, @PathParam("filename") String fileName)
-
-