|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codelabor.system.file.web.spring.controller.FileController
@Controller @RequestMapping(value="/example/file/spring/mvc") public class FileController
Field Summary | |
---|---|
protected FileManager |
fileManager
파일 매니저 |
protected org.anyframe.idgen.IdGenService |
mapIdGenService
Map Id 제네레이션 서비스 |
protected java.lang.String |
repositoryPath
파일 저장 경로 |
protected RepositoryType |
repositoryType
파일 저장 방식 |
protected org.anyframe.idgen.IdGenService |
uniqueFilenameGenerationService
고유 파일명 제네레이션 서비스 |
Constructor Summary | |
---|---|
FileController()
|
Method Summary | |
---|---|
java.lang.String |
delete(org.codelabor.system.dto.StringIdArrayDTO springIDArrayDTO)
|
void |
download(java.lang.String userAgent,
java.lang.String fileId,
javax.servlet.http.HttpServletResponse response)
|
java.lang.String |
list(java.lang.String mapId,
java.lang.String repositoryType,
org.springframework.ui.Model model)
|
java.lang.String |
upload(FileList fileList)
|
void |
view(java.lang.String fileId,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Inject @Named(value="fileManager") protected FileManager fileManager
@Inject @Named(value="mapIdGenService") protected org.anyframe.idgen.IdGenService mapIdGenService
@Inject @Named(value="uniqueFilenameGenerationService") protected org.anyframe.idgen.IdGenService uniqueFilenameGenerationService
protected java.lang.String repositoryPath
protected RepositoryType repositoryType
Constructor Detail |
---|
public FileController()
Method Detail |
---|
@RequestMapping(value="upload") public java.lang.String upload(FileList fileList) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/download") public void download(@RequestHeader(value="User-Agent") java.lang.String userAgent, @RequestParam(value="fileId") java.lang.String fileId, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/view") public void view(@RequestParam(value="fileId") java.lang.String fileId, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/list") public java.lang.String list(@RequestParam(value="mapId",required=false) java.lang.String mapId, @RequestParam(value="repositoryType",required=false) java.lang.String repositoryType, org.springframework.ui.Model model)
@RequestMapping(value="/delete") public java.lang.String delete(org.codelabor.system.dto.StringIdArrayDTO springIDArrayDTO) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |