@Path(value="/rmeta") public class RecursiveMetadataResource extends Object
Constructor and Description |
---|
RecursiveMetadataResource(TikaConfig tikaConfig) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getMetadata(InputStream is,
javax.ws.rs.core.HttpHeaders httpHeaders,
javax.ws.rs.core.UriInfo info) |
javax.ws.rs.core.Response |
getMetadataFromMultipart(org.apache.cxf.jaxrs.ext.multipart.Attachment att,
javax.ws.rs.core.UriInfo info) |
public RecursiveMetadataResource(TikaConfig tikaConfig)
@PUT @Consumes(value="multipart/form-data") @Produces(value={"text/csv","application/json"}) @Path(value="form") public javax.ws.rs.core.Response getMetadataFromMultipart(org.apache.cxf.jaxrs.ext.multipart.Attachment att, @Context javax.ws.rs.core.UriInfo info) throws Exception
Exception
@PUT @Produces(value="application/json") public javax.ws.rs.core.Response getMetadata(InputStream is, @Context javax.ws.rs.core.HttpHeaders httpHeaders, @Context javax.ws.rs.core.UriInfo info) throws Exception
Exception
Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.