@Path(value="/tika") public class TikaResource extends Object
Constructor and Description |
---|
TikaResource(TikaConfig tikaConfig) |
Modifier and Type | Method and Description |
---|---|
static AutoDetectParser |
createParser(TikaConfig tikaConfig) |
static String |
detectFilename(javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders) |
static void |
fillMetadata(AutoDetectParser parser,
Metadata metadata,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders) |
javax.ws.rs.core.StreamingOutput |
getHTML(InputStream is,
javax.ws.rs.core.HttpHeaders httpHeaders,
javax.ws.rs.core.UriInfo info) |
javax.ws.rs.core.StreamingOutput |
getHTMLFromMultipart(org.apache.cxf.jaxrs.ext.multipart.Attachment att,
javax.ws.rs.core.UriInfo info) |
String |
getMessage() |
javax.ws.rs.core.StreamingOutput |
getText(InputStream is,
javax.ws.rs.core.HttpHeaders httpHeaders,
javax.ws.rs.core.UriInfo info) |
javax.ws.rs.core.StreamingOutput |
getTextFromMultipart(org.apache.cxf.jaxrs.ext.multipart.Attachment att,
javax.ws.rs.core.UriInfo info) |
javax.ws.rs.core.StreamingOutput |
getXML(InputStream is,
javax.ws.rs.core.HttpHeaders httpHeaders,
javax.ws.rs.core.UriInfo info) |
javax.ws.rs.core.StreamingOutput |
getXMLFromMultipart(org.apache.cxf.jaxrs.ext.multipart.Attachment att,
javax.ws.rs.core.UriInfo info) |
static void |
logRequest(org.apache.commons.logging.Log logger,
javax.ws.rs.core.UriInfo info,
Metadata metadata) |
javax.ws.rs.core.StreamingOutput |
produceText(InputStream is,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
javax.ws.rs.core.UriInfo info) |
public static final String GREETING
public TikaResource(TikaConfig tikaConfig)
public String getMessage()
public static AutoDetectParser createParser(TikaConfig tikaConfig)
public static String detectFilename(javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders)
public static void fillMetadata(AutoDetectParser parser, Metadata metadata, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders)
@Path(value="form") public javax.ws.rs.core.StreamingOutput getTextFromMultipart(org.apache.cxf.jaxrs.ext.multipart.Attachment att, @Context javax.ws.rs.core.UriInfo info)
public javax.ws.rs.core.StreamingOutput getText(InputStream is, @Context javax.ws.rs.core.HttpHeaders httpHeaders, @Context javax.ws.rs.core.UriInfo info)
public javax.ws.rs.core.StreamingOutput produceText(InputStream is, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, javax.ws.rs.core.UriInfo info)
@Path(value="form") public javax.ws.rs.core.StreamingOutput getHTMLFromMultipart(org.apache.cxf.jaxrs.ext.multipart.Attachment att, @Context javax.ws.rs.core.UriInfo info)
public javax.ws.rs.core.StreamingOutput getHTML(InputStream is, @Context javax.ws.rs.core.HttpHeaders httpHeaders, @Context javax.ws.rs.core.UriInfo info)
@Path(value="form") public javax.ws.rs.core.StreamingOutput getXMLFromMultipart(org.apache.cxf.jaxrs.ext.multipart.Attachment att, @Context javax.ws.rs.core.UriInfo info)
public javax.ws.rs.core.StreamingOutput getXML(InputStream is, @Context javax.ws.rs.core.HttpHeaders httpHeaders, @Context javax.ws.rs.core.UriInfo info)
public static void logRequest(org.apache.commons.logging.Log logger, javax.ws.rs.core.UriInfo info, Metadata metadata)
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.