public class BlobUriBuilder extends Object
new BlobUriBuilder(blob).mimeType("image/jpeg").parent("12345").toURI(ics);
Constructor and Description |
---|
BlobUriBuilder(com.fatwire.assetapi.data.AssetData data,
String attributeName)
Deprecated.
Constructor that accepts AssetData and an attribute name.
|
BlobUriBuilder(com.fatwire.assetapi.data.BlobObject.BlobAddress address)
Deprecated.
Constructor accepting a BlobAddress.
|
BlobUriBuilder(com.fatwire.assetapi.data.BlobObject blob)
Deprecated.
Constructor accepting a BlobObject.
|
Modifier and Type | Method and Description |
---|---|
BlobUriBuilder |
assembler(String s)
Deprecated.
|
BlobUriBuilder |
blobNoCache(String s)
Deprecated.
|
BlobUriBuilder |
fragment(String s)
Deprecated.
|
BlobUriBuilder |
header(String name,
String value)
Deprecated.
|
BlobUriBuilder |
maxAge(int value)
Deprecated.
Sets the Cache-Control: max-age http response header for this blob.
|
BlobUriBuilder |
mimeType(String s)
Deprecated.
|
BlobUriBuilder |
parent(com.fatwire.assetapi.data.AssetId assetId)
Deprecated.
|
BlobUriBuilder |
parent(String s)
Deprecated.
|
String |
toURI(COM.FutureTense.Interfaces.ICS ics)
Deprecated.
|
public BlobUriBuilder(com.fatwire.assetapi.data.AssetData data, String attributeName)
data
- the asset.attributeName
- the name of the attribute containing the blob.public BlobUriBuilder(com.fatwire.assetapi.data.BlobObject blob)
blob
- blobpublic BlobUriBuilder(com.fatwire.assetapi.data.BlobObject.BlobAddress address)
address
- blob addresspublic String toURI(COM.FutureTense.Interfaces.ICS ics)
ics
- Content Server context objectpublic BlobUriBuilder assembler(String s)
s
- string value for assemblerpublic BlobUriBuilder fragment(String s)
s
- string value for fragmentpublic BlobUriBuilder mimeType(String s)
s
- string value for bob headerpublic BlobUriBuilder blobNoCache(String s)
s
- string value for blob no cachepublic BlobUriBuilder header(String name, String value)
name
- blob header namevalue
- blob header valuepublic BlobUriBuilder maxAge(int value)
value
- the max-age value as per http specification.public BlobUriBuilder parent(String s)
s
- string value for parent idpublic BlobUriBuilder parent(com.fatwire.assetapi.data.AssetId assetId)
assetId
- asset id objectCopyright © 2010–2017. All rights reserved.