public class ArtifactDownloadStrategy extends AbstractArtifactDownloadStrategy
Modifier and Type | Field and Description |
---|---|
static String |
SERVLET_PATH_ARTIFACT |
static String |
SERVLET_PATH_DOWNLOAD |
authenticationContext
Constructor and Description |
---|
ArtifactDownloadStrategy(AdministrationConfigurationAccessor administrationConfigurationAccessor,
BambooPermissionManager bambooPermissionManager,
BambooAuthenticationContext bambooAuthenticationContext,
BambooContentTypeResolver bambooContentTypeResolver) |
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_ARTIFACT
public static final String SERVLET_PATH_DOWNLOAD
public ArtifactDownloadStrategy(AdministrationConfigurationAccessor administrationConfigurationAccessor, BambooPermissionManager bambooPermissionManager, BambooAuthenticationContext bambooAuthenticationContext, BambooContentTypeResolver bambooContentTypeResolver)
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, FileNotFoundException, UserNotLoggedInException
getFileToServe
in class AbstractArtifactDownloadStrategy
org.acegisecurity.AccessDeniedException
FileNotFoundException
UserNotLoggedInException
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.