@RestController
@RequestMapping(value="/upload",
method=POST)
public class UploadController
extends top.ibase4j.core.base.AbstractController
Constructor and Description |
---|
UploadController() |
Modifier and Type | Method and Description |
---|---|
String |
getService() |
Object |
uploadFile(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap modelMap) |
Object |
uploadFile2Ftp(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap modelMap) |
Object |
uploadImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap modelMap) |
Object |
uploadImage2Ftp(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap modelMap) |
Object |
uploadImageData(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap modelMap) |
Object |
uploadImageData2Ftp(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap modelMap) |
public String getService()
@RequestMapping(value="/temp/file") public Object uploadFile(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap modelMap)
@RequestMapping(value="/temp/image") public Object uploadImage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap modelMap)
@RequestMapping(value="/temp/imageData") public Object uploadImageData(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap modelMap)
@RequestMapping(value="/file") public Object uploadFile2Ftp(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap modelMap)
@RequestMapping(value="/image") public Object uploadImage2Ftp(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap modelMap)
@RequestMapping(value="/imageData") public Object uploadImageData2Ftp(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap modelMap)
Copyright © 2018. All rights reserved.