public class DefaultDownloadStrategy extends AbstractDownloadStrategy
authenticationContext, bambooContentTypeResolver, bambooPermissionManager
Constructor and Description |
---|
DefaultDownloadStrategy(AdministrationConfigurationAccessor administrationConfigurationAccessor,
BambooPermissionManager bambooPermissionManager,
BambooAuthenticationContext bambooAuthenticationContext,
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 DefaultDownloadStrategy(AdministrationConfigurationAccessor administrationConfigurationAccessor, BambooPermissionManager bambooPermissionManager, BambooAuthenticationContext bambooAuthenticationContext, 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, FileNotFoundException, UserNotLoggedInException
getFileToServe
in class AbstractDownloadStrategy
org.acegisecurity.AccessDeniedException
FileNotFoundException
UserNotLoggedInException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.