Hi Luca,
Could you please, create the related JIRA in the eXo JCR project (
https://jira.jboss.org/jira/browse/EXOJCR). We will see what we can do.
Thank you in advance,
Nicolas
On Fri, Apr 9, 2010 at 4:00 PM, Luca Stancapiano <
l.stancapiano(a)sourcesense.com> wrote:
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
_______________________________________________
gatein-dev mailing list
gatein-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/gatein-dev
--
Nicolas Filotto
JCR Product Manager
Project Manager
eXo Platform SAS
nicolas.filotto(a)exoplatform.com
+33 (0)6 31 32 92 19