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