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
                             javax.ws.rs.core.HttpHeaders httpHeaders,
                             @Context
                             javax.ws.rs.core.UriInfo info)