|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthu.midori.kosmos.server.store.WebdavStaticContentStore
public class WebdavStaticContentStore
WebDAV-based store implementation. Writes the cached data to WebDAV resources and uses their public URLs to access them.
Constructor Summary | |
---|---|
WebdavStaticContentStore()
|
Method Summary | |
---|---|
void |
begin()
This method is left empty as there is no optimization opportunity. |
void |
end()
This method is left empty as there is no optimization opportunity. |
void |
setClientUrl(java.lang.String clientUrl)
|
void |
setWebdavPassword(java.lang.String webdavPassword)
|
void |
setWebdavUrl(java.lang.String webdavUrl)
|
void |
setWebdavUser(java.lang.String webdavUser)
|
java.lang.String |
storeFile(java.lang.String fileName,
java.io.InputStream in)
Saves the passed stream to a WebDAV repository-based cache and returns the absolute URL pointing to the resulted file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebdavStaticContentStore()
Method Detail |
---|
public void setWebdavUrl(java.lang.String webdavUrl)
public void setWebdavUser(java.lang.String webdavUser)
public void setWebdavPassword(java.lang.String webdavPassword)
public void setClientUrl(java.lang.String clientUrl)
public void begin()
begin
in interface StaticContentStore
StaticContentStore.end()
public void end()
end
in interface StaticContentStore
StaticContentStore.begin()
public java.lang.String storeFile(java.lang.String fileName, java.io.InputStream in) throws org.apache.commons.httpclient.URIException, java.io.IOException
storeFile
in interface StaticContentStore
org.apache.commons.httpclient.URIException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |