public class ArtifactDownloadStrategy extends AbstractDownloadStrategy
Modifier and Type | Field and Description |
---|---|
static String |
SERVLET_PATH |
authenticationContext, bambooPermissionManager
Constructor and Description |
---|
ArtifactDownloadStrategy(AdministrationConfigurationAccessor administrationConfigurationAccessor,
BambooPermissionManager bambooPermissionManager,
BambooAuthenticationContext bambooAuthenticationContext,
BambooContentTypeResolver bambooContentTypeResolver,
CachedPlanManager planManager,
ResultsSummaryManager resultsSummaryManager) |
Modifier and Type | Method and Description |
---|---|
protected TitledFile |
getFileToServe(RequestPath requestPath) |
protected String |
getServletPath()
Returns the servlet path handled by this download strategy.
|
void |
postConstruct() |
isCompressionEnabled, matches, serveFile, throwPermissionException
public static final String SERVLET_PATH
public ArtifactDownloadStrategy(AdministrationConfigurationAccessor administrationConfigurationAccessor, BambooPermissionManager bambooPermissionManager, BambooAuthenticationContext bambooAuthenticationContext, BambooContentTypeResolver bambooContentTypeResolver, CachedPlanManager planManager, ResultsSummaryManager resultsSummaryManager)
@PostConstruct public void postConstruct()
protected String getServletPath()
AbstractDownloadStrategy
getServletPath
in class AbstractDownloadStrategy
@NotNull protected TitledFile getFileToServe(RequestPath requestPath) throws org.acegisecurity.AccessDeniedException, FileNotFoundException, UserNotLoggedInException
getFileToServe
in class AbstractDownloadStrategy
org.acegisecurity.AccessDeniedException
FileNotFoundException
UserNotLoggedInException
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.