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