public class GlobalArtifactDownloadStrategy extends AbstractDownloadStrategy
Modifier and Type | Field and Description |
---|---|
static String |
SERVLET_PATH |
authenticationContext, bambooContentTypeResolver, bambooPermissionManager, log
Constructor and Description |
---|
GlobalArtifactDownloadStrategy(AdministrationConfigurationAccessor administrationConfigurationAccessor,
BambooPermissionManager bambooPermissionManager,
BambooAuthenticationContext authenticationContext,
ArtifactPermissionService artifactPermissionService,
BambooContentTypeResolver bambooContentTypeResolver) |
Modifier and Type | Method and Description |
---|---|
protected @NotNull 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
public GlobalArtifactDownloadStrategy(AdministrationConfigurationAccessor administrationConfigurationAccessor, BambooPermissionManager bambooPermissionManager, BambooAuthenticationContext authenticationContext, ArtifactPermissionService artifactPermissionService, BambooContentTypeResolver bambooContentTypeResolver)
protected String getServletPath()
AbstractDownloadStrategy
getServletPath
in class AbstractDownloadStrategy
@NotNull protected @NotNull TitledFile getFileToServe(RequestPath requestPath, javax.servlet.http.HttpServletRequest request) throws org.acegisecurity.AccessDeniedException, UserNotLoggedInException
getFileToServe
in class AbstractDownloadStrategy
org.acegisecurity.AccessDeniedException
UserNotLoggedInException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.