public class PutCommand extends Object
| Constructor and Description |
|---|
PutCommand(NullResourceLocksHolder nullResourceLocks,
javax.ws.rs.core.UriBuilder uriBuilder,
MimeTypeRecognizer mimeTypeRecognizer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
put(javax.jcr.Session session,
String path,
InputStream inputStream,
String fileNodeType,
String contentNodeType,
List<String> mixins,
List<String> tokens,
javax.ws.rs.core.MultivaluedMap<String,String> allowedAutoVersionPath)
Webdav Put method implementation.
|
javax.ws.rs.core.Response |
put(javax.jcr.Session session,
String path,
InputStream inputStream,
String fileNodeType,
String contentNodeType,
List<String> mixins,
String updatePolicyType,
String autoVersion,
List<String> tokens)
Webdav Put method implementation.
|
public PutCommand(NullResourceLocksHolder nullResourceLocks, javax.ws.rs.core.UriBuilder uriBuilder, MimeTypeRecognizer mimeTypeRecognizer)
nullResourceLocks - resource locks.uriBuilder - - provides data used in 'location' headermimeTypeRecognizer - - provides mime-type recognizerpublic javax.ws.rs.core.Response put(javax.jcr.Session session,
String path,
InputStream inputStream,
String fileNodeType,
String contentNodeType,
List<String> mixins,
String updatePolicyType,
String autoVersion,
List<String> tokens)
session - current sessionpath - resource pathinputStream - stream that contains resource contentfileNodeType - the node type of file nodecontentNodeType - the node type of contentmixins - the list of mixinsupdatePolicyType - update policytokens - tokenspublic javax.ws.rs.core.Response put(javax.jcr.Session session,
String path,
InputStream inputStream,
String fileNodeType,
String contentNodeType,
List<String> mixins,
List<String> tokens,
javax.ws.rs.core.MultivaluedMap<String,String> allowedAutoVersionPath)
session - current sessionpath - resource pathinputStream - stream that contains resource contentfileNodeType - the node type of file nodecontentNodeType - the node type of contentmixins - the list of mixinstokens - tokensallowedAutoVersionPath - Copyright © 2016 eXo Platform SAS. All Rights Reserved.