Class DetectorResource


  • @Path("/detect")
    public class DetectorResource
    extends Object
    • 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)