public class BlobStoreRest extends Object
Constructor and Description |
---|
BlobStoreRest() |
Modifier and Type | Method and Description |
---|---|
String |
doCreateBlobStore(String strBlobStore,
InputStream blob,
com.sun.jersey.core.header.FormDataContentDisposition blobDetail)
Create a blob
|
String |
doDeleteBlobStore(String strBlobKey,
String strBlobStore)
Delete a blob
|
String |
getFileUrl(String strBlobStore,
String strBlobKey)
Get the file url
|
String |
getWADL(javax.servlet.http.HttpServletRequest request)
Get the wadl.xml content
|
public String getWADL(@Context javax.servlet.http.HttpServletRequest request)
request
- HttpServletRequest
public String getFileUrl(String strBlobStore, String strBlobKey)
strBlobStore
- the blobstorestrBlobKey
- the blob keypublic String doDeleteBlobStore(String strBlobKey, String strBlobStore)
strBlobKey
- the blob keystrBlobStore
- the blobstorepublic String doCreateBlobStore(String strBlobStore, InputStream blob, com.sun.jersey.core.header.FormDataContentDisposition blobDetail)
strBlobStore
- the the blobstore serviceblob
- the blob to createblobDetail
- the blob detailCopyright © 2018 City of Paris. All rights reserved.