public class DownloadHeaderHelper extends Object
| Constructor and Description |
|---|
DownloadHeaderHelper(ContentDispositionHeaderGuesser contentDispositionHeaderGuesser,
String fileName,
String contentType,
String userAgent) |
DownloadHeaderHelper(String contentDisposition,
String fileName,
String contentType) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentDisposition() |
String |
getContentType() |
HashMap<String,String> |
getDownloadHeaders() |
public DownloadHeaderHelper(ContentDispositionHeaderGuesser contentDispositionHeaderGuesser, String fileName, String contentType, String userAgent)
contentDispositionHeaderGuesser - an appropriately configured ContentDispositionHeaderGuesser with which
to determine the download content disposition type.fileName - the name of the filecontentType - the download content-typeuserAgent - the browser user agent.Copyright © 2018 Atlassian. All rights reserved.