- java.lang.Object
-
- org.eclipse.jgit.transport.UploadPack.TipRequestValidator
-
- All Implemented Interfaces:
UploadPack.RequestValidator
- Enclosing class:
- UploadPack
public static final class UploadPack.TipRequestValidator extends Object implements UploadPack.RequestValidator
Validator corresponding toUploadPack.RequestPolicy.TIP.- Since:
- 3.1
-
-
Constructor Summary
Constructors Constructor Description TipRequestValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckWants(UploadPack up, List<ObjectId> wants)Check a list of client wants against the request policy.
-
-
-
Method Detail
-
checkWants
public void checkWants(UploadPack up, List<ObjectId> wants) throws PackProtocolException, IOException
Description copied from interface:UploadPack.RequestValidatorCheck a list of client wants against the request policy.- Specified by:
checkWantsin interfaceUploadPack.RequestValidator- Parameters:
up-UploadPackinstance.wants- objects the client requested that were not advertised.- Throws:
PackProtocolException- if one or more wants is not valid.IOException- if a low-level exception occurred.
-
-