Class AntivirusResource


@Path("/antivirus/v1") public class AntivirusResource extends ApplicationStatusResource
  • Constructor Details

    • AntivirusResource

      public AntivirusResource(AntivirusConfiguration antivirusConfiguration)
      Constructor AntivirusResource
      Parameters:
      antivirusConfiguration - the configuration of server resource
  • Method Details

    • scanByPath

      @Path("scanByPath") @GET public jakarta.ws.rs.core.Response scanByPath(@QueryParam("path") String path)
      Scan file on local filesystem
      Parameters:
      path - the path of the file that we want to scan, relative to the base path