Package org.vrspace.server.api
Class SharedContent
java.lang.Object
org.vrspace.server.api.ApiBase
org.vrspace.server.api.ClientControllerBase
org.vrspace.server.api.SharedContent
@RestController
@RequestMapping("/vrspace/api/files")
public class SharedContent
extends ClientControllerBase
Manage content created by users. Only upload for the time being.
- Author:
- joe
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
upload
(jakarta.servlet.http.HttpSession session, jakarta.servlet.http.HttpServletRequest request, String fileName, String contentType, Double x, Double y, Double z, Double rotX, Double rotY, Double rotZ, org.springframework.web.multipart.MultipartFile fileData) Methods inherited from class org.vrspace.server.api.ClientControllerBase
findClient, findClient, getAuthorisedClient, getAuthorisedClient, isAuthenticated
Methods inherited from class org.vrspace.server.api.ApiBase
currentUserName, isAuthenticated
-
Field Details
-
PATH
- See Also:
-
-
Constructor Details
-
SharedContent
public SharedContent()
-
-
Method Details
-
upload
@PutMapping("/upload") public void upload(jakarta.servlet.http.HttpSession session, jakarta.servlet.http.HttpServletRequest request, String fileName, String contentType, Double x, Double y, Double z, Double rotX, Double rotY, Double rotZ, @RequestPart org.springframework.web.multipart.MultipartFile fileData) throws IOException - Throws:
IOException
-