Class PipesResource
- java.lang.Object
- 
- org.apache.tika.server.core.resource.PipesResource
 
- 
 @Path("/pipes") public class PipesResource extends Object
- 
- 
Constructor SummaryConstructors Constructor Description PipesResource(Path tikaConfig)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Map<String,String>postRmeta(InputStream is, javax.ws.rs.core.HttpHeaders httpHeaders, javax.ws.rs.core.UriInfo info)The client posts a json request.
 
- 
- 
- 
Constructor Detail- 
PipesResourcepublic PipesResource(Path tikaConfig) throws TikaConfigException, IOException - Throws:
- TikaConfigException
- IOException
 
 
- 
 - 
Method Detail- 
postRmeta@POST @Produces("application/json") public Map<String,String> postRmeta(InputStream is, @Context javax.ws.rs.core.HttpHeaders httpHeaders, @Context javax.ws.rs.core.UriInfo info) throws ExceptionThe client posts a json request. At a minimum, this must be a json object that contains an emitter and a fetcherString key with the key to fetch the inputStream. Optionally, it may contain a metadata object that will be used to populate the metadata key for pass through of metadata from the client. It may also include a handler config.The extracted text content is stored with the key TikaCoreProperties.TIKA_CONTENTMust specify a fetcherString and an emitter in the posted json. 
 - 
closepublic void close() throws IOException- Throws:
- IOException
 
 
- 
 
-