@ProviderType public class BlobDownloadOptions extends Object
BlobAccessProvider.getDownloadURI(Blob, BlobDownloadOptions).
This object is an internal corollary to org.apache.jackrabbit.api.binary.BinaryDownloadOptions.
| Modifier and Type | Field and Description |
|---|---|
static BlobDownloadOptions |
DEFAULT |
| Constructor and Description |
|---|
BlobDownloadOptions(@Nullable String mediaType,
@Nullable String characterEncoding,
@Nullable String fileName,
@NotNull String dispositionType)
Creates new download options.
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable String |
getCharacterEncoding()
Returns the character encoding that should be assumed for the blob that
is to be downloaded.
|
@NotNull String |
getDispositionType()
Returns the disposition type that should be assumed for the binary that
is to be downloaded.
|
@Nullable String |
getFileName()
Returns the filename that should be assumed for the blob that is to be
downloaded.
|
@Nullable String |
getMediaType()
Returns the internet media type that should be assumed for the blob
that is to be downloaded.
|
public static final BlobDownloadOptions DEFAULT
public BlobDownloadOptions(@Nullable
@Nullable String mediaType,
@Nullable
@Nullable String characterEncoding,
@Nullable
@Nullable String fileName,
@NotNull
@NotNull String dispositionType)
mediaType - the internet media type for the blob.characterEncoding - the character encoding for the blob.fileName - the file name for the blob.dispositionType - the disposition type.@Nullable public @Nullable String getMediaType()
jcr:mimeType.null if no type has been
specified.@Nullable public @Nullable String getCharacterEncoding()
jcr:encoding.null if no encoding has been
specified.@Nullable public @Nullable String getFileName()
null if no file name has been
specified.@NotNull public @NotNull String getDispositionType()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.