public class EnvironmentArtifactDownloadStrategy extends AbstractArtifactDownloadStrategy
Modifier and Type | Field and Description |
---|---|
static String |
SERVLET_PATH_DOWNLOAD |
authenticationContext
Constructor and Description |
---|
EnvironmentArtifactDownloadStrategy(AdministrationConfigurationAccessor administrationConfigurationAccessor,
BambooContentTypeResolver bambooContentTypeResolver,
BambooPermissionManager bambooPermissionManager,
BambooAuthenticationContext authenticationContext,
EnvironmentService environmentService) |
Modifier and Type | Method and Description |
---|---|
protected com.atlassian.fugue.Pair<File,com.atlassian.fugue.Option<String>> |
getFileToServe(javax.servlet.http.HttpServletRequest httpServletRequest) |
boolean |
matches(String requestUri) |
isCompressionEnabled, serveFile
public static final String SERVLET_PATH_DOWNLOAD
public EnvironmentArtifactDownloadStrategy(AdministrationConfigurationAccessor administrationConfigurationAccessor, BambooContentTypeResolver bambooContentTypeResolver, BambooPermissionManager bambooPermissionManager, BambooAuthenticationContext authenticationContext, EnvironmentService environmentService)
public boolean matches(String requestUri)
@NotNull protected com.atlassian.fugue.Pair<File,com.atlassian.fugue.Option<String>> getFileToServe(javax.servlet.http.HttpServletRequest httpServletRequest) throws org.acegisecurity.AccessDeniedException, UserNotLoggedInException, FileNotFoundException
getFileToServe
in class AbstractArtifactDownloadStrategy
org.acegisecurity.AccessDeniedException
FileNotFoundException
UserNotLoggedInException
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.