Package nl.b3p.tailormap.api.controller
Class LayerExportController
- java.lang.Object
-
- nl.b3p.tailormap.api.controller.LayerExportController
-
@RequestMapping(path="${tailormap-api.base-path}/{viewerKind}/{viewerName}/layer/{appLayerId}/export/") public class LayerExportController extends Object
-
-
Constructor Summary
Constructors Constructor Description LayerExportController(FeatureSourceRepository featureSourceRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<Serializable>capabilities(GeoService service, GeoServiceLayer layer)org.springframework.http.ResponseEntity<?>download(GeoService service, GeoServiceLayer layer, Application application, AppTreeLayerNode appTreeLayerNode, String outputFormat, List<String> attributes, String filter, String sortBy, String sortOrder, String crs, javax.servlet.http.HttpServletRequest request)
-
-
-
Constructor Detail
-
LayerExportController
public LayerExportController(FeatureSourceRepository featureSourceRepository)
-
-
Method Detail
-
capabilities
@Transactional @GetMapping(path="capabilities") public org.springframework.http.ResponseEntity<Serializable> capabilities(@ModelAttribute GeoService service, @ModelAttribute GeoServiceLayer layer) throws Exception
- Throws:
Exception
-
download
@Transactional @RequestMapping(path="download", method={GET,POST}) public org.springframework.http.ResponseEntity<?> download(@ModelAttribute GeoService service, @ModelAttribute GeoServiceLayer layer, @ModelAttribute Application application, @ModelAttribute AppTreeLayerNode appTreeLayerNode, @RequestParam String outputFormat, @RequestParam(required=false) List<String> attributes, @RequestParam(required=false) String filter, @RequestParam(required=false) String sortBy, @RequestParam(required=false) String sortOrder, @RequestParam(required=false) String crs, javax.servlet.http.HttpServletRequest request) throws Exception- Throws:
Exception
-
-