|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mortbay.util.Resource org.xiruss.xirussrepository.server.jetty.viewer.XirussResourceBase org.xiruss.xirussrepository.server.jetty.apiserver.HttpApiResourceBase org.xiruss.xirussrepository.server.jetty.apiserver.StorageObjectContentResource
public class StorageObjectContentResource
Field Summary |
---|
Fields inherited from class org.xiruss.xirussrepository.server.jetty.apiserver.HttpApiResourceBase |
---|
dataBuffer |
Fields inherited from class org.xiruss.xirussrepository.server.jetty.viewer.XirussResourceBase |
---|
_associate, _context, logger, mimeType, pathTokens, pathToMe, rep, repositoryObject, request, resourceType, url |
Constructor Summary | |
---|---|
StorageObjectContentResource(XirussRepository rep,
org.mortbay.http.HttpRequest request,
StorageObject storageObject)
|
Method Summary | |
---|---|
java.lang.String |
getCharacterEncoding()
|
java.io.InputStream |
getInputStream()
|
void |
handlePut()
Puts data from the http put request to the storage object's data. |
long |
length()
|
Methods inherited from class org.xiruss.xirussrepository.server.jetty.apiserver.HttpApiResourceBase |
---|
getMimeType, getResult, isDirectory |
Methods inherited from class org.xiruss.xirussrepository.server.jetty.viewer.XirussResourceBase |
---|
addPath, delete, exists, getAssociate, getFile, getHttpContext, getName, getOutputStream, getPathToMe, getRepositoryObject, getResourceType, getURL, lastModified, list, release, renameTo, setAssociate, writeTo |
Methods inherited from class org.mortbay.util.Resource |
---|
cache, encode, finalize, getAlias, getListHTML, newResource, newResource, newSystemResource |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StorageObjectContentResource(XirussRepository rep, org.mortbay.http.HttpRequest request, StorageObject storageObject) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public long length()
length
in class HttpApiResourceBase
public java.lang.String getCharacterEncoding()
getCharacterEncoding
in class HttpApiResourceBase
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class HttpApiResourceBase
java.io.IOException
public void handlePut() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |