|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fatwire.gst.foundation.facade.uri.BlobUriBuilder
public class BlobUriBuilder
Builder support for blob urls.
new BlobUriBuilder(blob).mimeType("image/jpeg").parent("12345").toURI(ics);
Constructor Summary | |
---|---|
BlobUriBuilder(com.fatwire.assetapi.data.AssetData data,
String attributeName)
Constructor that accepts AssetData and an attribute name. |
|
BlobUriBuilder(com.fatwire.assetapi.data.BlobObject.BlobAddress address)
Constructor accepting a BlobAddress. |
|
BlobUriBuilder(com.fatwire.assetapi.data.BlobObject blob)
Constructor accepting a BlobObject. |
Method Summary | |
---|---|
BlobUriBuilder |
assembler(String s)
|
BlobUriBuilder |
blobNoCache(String s)
|
BlobUriBuilder |
fragment(String s)
|
BlobUriBuilder |
header(String name,
String value)
|
BlobUriBuilder |
maxAge(int value)
Sets the Cache-Control: max-age http response header for this blob. |
BlobUriBuilder |
mimeType(String s)
|
BlobUriBuilder |
parent(com.fatwire.assetapi.data.AssetId assetId)
|
BlobUriBuilder |
parent(String s)
|
String |
toURI(COM.FutureTense.Interfaces.ICS ics)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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
- public BlobUriBuilder(com.fatwire.assetapi.data.BlobObject.BlobAddress address)
address
- Method Detail |
---|
public String toURI(COM.FutureTense.Interfaces.ICS ics)
ics
-
public BlobUriBuilder assembler(String s)
s
-
GetBlobUrl.setAssembler(java.lang.String)
public BlobUriBuilder fragment(String s)
s
-
GetBlobUrl.setFragment(java.lang.String)
public BlobUriBuilder mimeType(String s)
s
-
GetBlobUrl.setBobHeader(java.lang.String)
public BlobUriBuilder blobNoCache(String s)
s
-
GetBlobUrl.setBlobNoCache(java.lang.String)
public BlobUriBuilder header(String name, String value)
name
- value
-
GetBlobUrl.setBlobHeaderName(int,
java.lang.String)
public BlobUriBuilder maxAge(int value)
value
- the max-age value as per http specification.
GetBlobUrl.setBlobHeaderName(int,
java.lang.String)
public BlobUriBuilder parent(String s)
s
-
GetBlobUrl.setParentId(java.lang.String)
public BlobUriBuilder parent(com.fatwire.assetapi.data.AssetId assetId)
assetId
-
GetBlobUrl.setParentId(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |