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