Package org.apache.tika.server.resource
Class DetectorResource
- java.lang.Object
-
- org.apache.tika.server.resource.DetectorResource
-
@Path("/detect") public class DetectorResource extends Object
-
-
Constructor Summary
Constructors Constructor Description DetectorResource(ServerStatus serverStatus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
detect(InputStream is, javax.ws.rs.core.HttpHeaders httpHeaders, javax.ws.rs.core.UriInfo info)
-
-
-
Constructor Detail
-
DetectorResource
public DetectorResource(ServerStatus serverStatus)
-
-
Method Detail
-
detect
@PUT @Path("stream") @Consumes("*/*") @Produces("text/plain") public String detect(InputStream is, @Context javax.ws.rs.core.HttpHeaders httpHeaders, @Context javax.ws.rs.core.UriInfo info)
-
-