Class LayerAttachedUploadsController
java.lang.Object
org.tailormap.api.controller.LayerAttachedUploadsController
-
Constructor Summary
ConstructorsConstructorDescriptionLayerAttachedUploadsController(UploadsService uploadsService, UploadRepository uploadRepository, UploadsController uploadsController) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<byte[]> getLayerAttachedUpload(AppTreeLayerNode appTreeLayerNode, GeoService service, GeoServiceLayer layer, Application application, jakarta.servlet.http.HttpServletRequest request, UploadCategory category, UUID id, String filename)
-
Constructor Details
-
LayerAttachedUploadsController
public LayerAttachedUploadsController(UploadsService uploadsService, UploadRepository uploadRepository, UploadsController uploadsController)
-
-
Method Details
-
getLayerAttachedUpload
@GetMapping(path={"${tailormap-api.base-path}/{viewerKind}/{viewerName}/layer/{appLayerId}/uploads/{category}/{id}","${tailormap-api.base-path}/{viewerKind}/{viewerName}/layer/{appLayerId}/uploads/{category}/{id}/{filename}"}) public org.springframework.http.ResponseEntity<byte[]> getLayerAttachedUpload(@ModelAttribute AppTreeLayerNode appTreeLayerNode, @ModelAttribute GeoService service, @ModelAttribute GeoServiceLayer layer, @ModelAttribute Application application, jakarta.servlet.http.HttpServletRequest request, @PathVariable UploadCategory category, @PathVariable(name="id") UUID id, @PathVariable(name="filename",required=false) String filename)
-