public class SpecLogsDownloadStrategy extends AbstractDownloadStrategy
Modifier and Type | Field and Description |
---|---|
static String |
SERVLET_PATH |
authenticationContext, bambooPermissionManager, log
Constructor and Description |
---|
SpecLogsDownloadStrategy(AdministrationConfigurationAccessor administrationConfigurationAccessor,
BambooContentTypeResolver bambooContentTypeResolver,
BambooPermissionManager bambooPermissionManager,
BambooAuthenticationContext authenticationContext,
com.atlassian.event.api.EventPublisher eventPublisher,
RepositoryStoredSpecsLogService repositoryStoredSpecLogService,
RepositoryDefinitionManager repositoryDefinitionManager) |
Modifier and Type | Method and Description |
---|---|
protected TitledFile |
getFileToServe(RequestPath requestPath,
javax.servlet.http.HttpServletRequest request) |
protected String |
getServletPath()
Returns the servlet path handled by this download strategy.
|
isCompressionEnabled, matches, serveFile, throwPermissionException
public static final String SERVLET_PATH
@Inject public SpecLogsDownloadStrategy(AdministrationConfigurationAccessor administrationConfigurationAccessor, BambooContentTypeResolver bambooContentTypeResolver, BambooPermissionManager bambooPermissionManager, BambooAuthenticationContext authenticationContext, com.atlassian.event.api.EventPublisher eventPublisher, RepositoryStoredSpecsLogService repositoryStoredSpecLogService, RepositoryDefinitionManager repositoryDefinitionManager)
protected String getServletPath()
AbstractDownloadStrategy
getServletPath
in class AbstractDownloadStrategy
@NotNull protected TitledFile getFileToServe(@NotNull RequestPath requestPath, javax.servlet.http.HttpServletRequest request) throws org.acegisecurity.AccessDeniedException, UserNotLoggedInException, FileNotFoundException, WebValidationException
getFileToServe
in class AbstractDownloadStrategy
org.acegisecurity.AccessDeniedException
UserNotLoggedInException
FileNotFoundException
WebValidationException
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.