|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PutableResource
| Method Summary | |
|---|---|
Resource |
createNew(java.lang.String newName,
java.io.InputStream inputStream,
java.lang.Long length,
java.lang.String contentType)
Create a new resource, or overwrite an existing one |
| Methods inherited from interface com.bradmcevoy.http.CollectionResource |
|---|
child, getChildren |
| Methods inherited from interface com.bradmcevoy.http.Resource |
|---|
authenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueId |
| Method Detail |
|---|
Resource createNew(java.lang.String newName,
java.io.InputStream inputStream,
java.lang.Long length,
java.lang.String contentType)
throws java.io.IOException,
ConflictException,
NotAuthorizedException,
BadRequestException
newName - - the name to create within the collection. E.g. myFile.txtinputStream - - the data to populate the resource withlength - - the length of the datacontentType - - the content type to create
java.io.IOException
ConflictException
NotAuthorizedException
BadRequestException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||