Class DetectorResource
- java.lang.Object
-
- org.apache.tika.server.core.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, jakarta.ws.rs.core.HttpHeaders httpHeaders, jakarta.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 jakarta.ws.rs.core.HttpHeaders httpHeaders, @Context jakarta.ws.rs.core.UriInfo info)
-
-