Package fr.gouv.vitam.antivirus.rest

# Class AntivirusResource

java.lang.Object
fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
fr.gouv.vitam.antivirus.rest.AntivirusResource

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

- ## Field Summary

  ### Fields inherited from class fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource

  `STATUS_URL, TENANTS_URL`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AntivirusResource(AntivirusConfiguration antivirusConfiguration)`
  Constructor AntivirusResource

- ## Method Summary

  Modifier and Type
  Method
  Description
  `jakarta.ws.rs.core.Response`
  `scanByPath(String path)`
  Scan file on local filesystem

  ### Methods inherited from class fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource

  `getServerTenants, status`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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