I've seen that if we insert some metadata in our document as:
<meta http-equiv="File-NodeType" content="my_ns:my_resource" />
and we upload it through webdav or ftp never happens.
I expect an extraction of theese metadas inside the http headers list. To
implement this feature you could add a read during the creation of the
org.exoplatform.services.rest.impl.ContainerRequest instance.
Here an example:
public ContainerRequest(String method,
URI requestUri,
URI baseUri,
InputStream entityStream,
MultivaluedMap<String, String>
httpHeaders)
{
this.method = method;
this.requestUri = requestUri;
this.baseUri = baseUri;
this.entityStream = entityStream;
this.httpHeaders = httpHeaders;
String[] headersFromContent =
this.reader.read(entityStream, httpHeaders);
}
this reader could extract the 'http-equiv' inside the content and tail in
the httpHeaders