Class UploadRestController


@RestController @RequestMapping("/api/v1/upload") @Description("File Upload Controller - File upload and management APIs for handling file operations") public class UploadRestController extends BaseRestController<UploadRequest,UploadRestService>
file upload - 文件上传, https://spring.io/guides/gs/uploading-files
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final UploadRestService
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<?>
    通用的create实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法
    org.springframework.http.ResponseEntity<?>
    通用的delete实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法
    export(UploadRequest request, jakarta.servlet.http.HttpServletResponse response)
    export
    org.springframework.http.ResponseEntity<?>
    通用的queryByOrg实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法
    org.springframework.http.ResponseEntity<?>
    通用的queryByUid实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法
    org.springframework.http.ResponseEntity<?>
    通用的queryByUser实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法
    org.springframework.http.ResponseEntity<?>
    通用的update实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法
    org.springframework.http.ResponseEntity<?>
    uploadFile(org.springframework.web.multipart.MultipartFile file, UploadRequest request)
     

    Methods inherited from class com.bytedesk.core.base.BaseRestController

    deleteByOrgUid, exportTemplate, getService

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait