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, throwPermissionExceptionpublic static final String SERVLET_PATH
public GlobalArtifactDownloadStrategy(AdministrationConfigurationAccessor administrationConfigurationAccessor, BambooPermissionManager bambooPermissionManager, BambooAuthenticationContext authenticationContext, ArtifactPermissionService artifactPermissionService, BambooContentTypeResolver bambooContentTypeResolver)
protected String getServletPath()
AbstractDownloadStrategygetServletPath in class AbstractDownloadStrategy@NotNull protected @NotNull TitledFile getFileToServe(RequestPath requestPath, javax.servlet.http.HttpServletRequest request) throws org.acegisecurity.AccessDeniedException, UserNotLoggedInException
getFileToServe in class AbstractDownloadStrategyorg.acegisecurity.AccessDeniedExceptionUserNotLoggedInExceptionCopyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.