Package org.vrspace.server.web
Class ContentManager
java.lang.Object
org.vrspace.server.web.ContentManager
@RestController
@ConditionalOnProperty("org.vrspace.adminUI.enabled")
public class ContentManager
extends Object
Simple content manager, allows for browsing and uploading of files under
 org.vrspace.adminUI.contentRoot. Optionally activated when
 org.vrspace.adminUI.enabled=true. NOT MAINTAINED, TO BE REMOVED
- Author:
 - joe
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<byte[]>get(jakarta.servlet.http.HttpServletRequest request) list(org.springframework.web.multipart.MultipartFile[] uploadFiles, jakarta.servlet.http.HttpServletRequest request) voidupload(jakarta.servlet.http.HttpServletRequest request, String fileName, int fileSize, org.springframework.web.multipart.MultipartFile fileData)  
- 
Constructor Details
- 
ContentManager
public ContentManager() 
 - 
 - 
Method Details
- 
list
@PostMapping("/pub/**") public FileList list(@RequestParam(value="uploadFiles",required=false) org.springframework.web.multipart.MultipartFile[] uploadFiles, jakarta.servlet.http.HttpServletRequest request) throws IOException - Throws:
 IOException
 - 
get
@GetMapping("/pub/**") public org.springframework.http.ResponseEntity<byte[]> get(jakarta.servlet.http.HttpServletRequest request) throws IOException - Throws:
 IOException
 - 
upload
@PutMapping("/pub/**") public void upload(jakarta.servlet.http.HttpServletRequest request, String fileName, int fileSize, org.springframework.web.multipart.MultipartFile fileData) throws IOException - Throws:
 IOException
 
 -