Class DetectorResource

java.lang.Object
org.apache.tika.server.core.resource.DetectorResource

@Path("/detect") public class DetectorResource extends Object
  • Constructor Details

    • DetectorResource

      public DetectorResource(ServerStatus serverStatus)
  • Method Details

    • 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)