@Controller
public class LogDownloadController
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected LogControl |
logControl |
protected UserSessionService |
userSessionService |
Constructor and Description |
---|
LogDownloadController() |
Modifier and Type | Method and Description |
---|---|
void |
getLogFile(javax.servlet.http.HttpServletResponse response,
java.lang.String sessionId,
java.lang.Boolean downloadFull,
java.lang.String logFileName) |
protected UserSession |
getSession(java.lang.String sessionId,
javax.servlet.http.HttpServletResponse response) |
@Inject protected LogControl logControl
@Inject protected UserSessionService userSessionService
@RequestMapping(value="/log/{file:[a-zA-Z0-9\\.\\-_]+}", method=GET) public void getLogFile(javax.servlet.http.HttpServletResponse response, @RequestParam(value="s") java.lang.String sessionId, @RequestParam(value="full",required=false) java.lang.Boolean downloadFull, @PathVariable(value="file") java.lang.String logFileName) throws java.io.IOException
java.io.IOException
protected UserSession getSession(java.lang.String sessionId, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
java.io.IOException