Class RpmRemove

java.lang.Object
com.artipie.rpm.http.RpmRemove
All Implemented Interfaces:
Slice

public final class RpmRemove extends Object implements Slice
Rpm endpoint to remove packages accepts file checksum of the package to remove in the X-Checksum-ALG header, where ALG is checksum algorithm. Header may be skipped with the help of `force=true` request parameter. The slice validates request data, saves file name to temp location and, if update mode is RepoConfig.UpdateMode.UPLOAD and `skip_update` parameter is false (or absent), initiates removing files process. If request is not valid (see validate(Key, Pair)), `BAD_REQUEST` status is returned.
Since:
1.9