public static final class UploadPack.ReachableCommitRequestValidator extends Object implements UploadPack.RequestValidator
UploadPack.RequestPolicy.REACHABLE_COMMIT
.Constructor and Description |
---|
UploadPack.ReachableCommitRequestValidator() |
Modifier and Type | Method and Description |
---|---|
void |
checkWants(UploadPack up,
List<ObjectId> wants)
Check a list of client wants against the request policy.
|
public UploadPack.ReachableCommitRequestValidator()
public void checkWants(UploadPack up, List<ObjectId> wants) throws PackProtocolException, IOException
UploadPack.RequestValidator
checkWants
in interface UploadPack.RequestValidator
up
- UploadPack
instance.wants
- objects the client requested that were not advertised.PackProtocolException
- if one or more wants is not valid.IOException
- if a low-level exception occurred.Copyright © 2015 Eclipse JGit Project. All rights reserved.