public class DeploymentDownloadStrategy extends AbstractDownloadStrategy
authenticationContext, bambooContentTypeResolver, bambooPermissionManager
Constructor and Description |
---|
DeploymentDownloadStrategy(AdministrationConfigurationAccessor administrationConfigurationAccessor,
BambooContentTypeResolver bambooContentTypeResolver,
BambooPermissionManager bambooPermissionManager,
BambooAuthenticationContext authenticationContext,
EnvironmentService environmentService) |
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 DeploymentDownloadStrategy(AdministrationConfigurationAccessor administrationConfigurationAccessor, BambooContentTypeResolver bambooContentTypeResolver, BambooPermissionManager bambooPermissionManager, BambooAuthenticationContext authenticationContext, EnvironmentService environmentService)
protected String getServletPath()
AbstractDownloadStrategy
getServletPath
in class AbstractDownloadStrategy
@NotNull protected TitledFile getFileToServe(RequestPath requestPath, javax.servlet.http.HttpServletRequest request) throws org.acegisecurity.AccessDeniedException, UserNotLoggedInException, FileNotFoundException
getFileToServe
in class AbstractDownloadStrategy
org.acegisecurity.AccessDeniedException
UserNotLoggedInException
FileNotFoundException
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.