Class FileRestController


@RestController @RequestMapping("/api/v1/llm/file") public class FileRestController extends BaseRestController<FileRequest,FileRestService>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final FileRestService
     
  • 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来查找方法
    org.springframework.http.ResponseEntity<?>
     
    org.springframework.http.ResponseEntity<?>
     
    export(FileRequest request, jakarta.servlet.http.HttpServletResponse response)
    export
    org.springframework.http.ResponseEntity<?>
    通用的queryByOrg实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法
    org.springframework.http.ResponseEntity<?>
    通用的queryByUser实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法
    org.springframework.http.ResponseEntity<?>
     
    org.springframework.http.ResponseEntity<?>
    通用的update实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法

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

    deleteByOrgUid, exportTemplate, getService, queryByUid

    Methods inherited from class java.lang.Object

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