类 FSController

java.lang.Object
cn.nkpro.elcube.platform.controller.FSController

@Controller @RequestMapping("/fs") public class FSController extends Object
  • 构造器详细资料

    • FSController

      public FSController()
  • 方法详细资料

    • init

      @ResponseBody @RequestMapping("/init") public org.springframework.http.ResponseEntity init(@RequestBody FSConfig file)
    • upload

      @ResponseBody @RequestMapping(value="/upload", method=POST) public FileUploadStatus upload(@RequestParam("file") org.springframework.web.multipart.MultipartFile file)
    • download

      @ResponseBody @RequestMapping(value="/download", method=GET) public org.springframework.http.ResponseEntity download(String url)
    • downloadFile

      @ResponseBody @RequestMapping(value="/d/{base}/**", method=GET) public org.springframework.http.ResponseEntity downloadFile(@PathVariable String base, javax.servlet.http.HttpServletRequest request) throws OperationNotSupportedException
      抛出:
      OperationNotSupportedException