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
-
Field Summary
Fields inherited from class fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
STATUS_URL, TENANTS_URL -
Constructor Summary
ConstructorsConstructorDescriptionAntivirusResource(AntivirusConfiguration antivirusConfiguration) Constructor AntivirusResource -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsescanByPath(String path) Scan file on local filesystemMethods inherited from class fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
getServerTenants, status
-
Constructor Details
-
AntivirusResource
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
-