public static final class UploadPack.ReachableCommitRequestValidator extends Object implements UploadPack.RequestValidator
UploadPack.RequestPolicy.REACHABLE_COMMIT.| Constructor and Description | 
|---|
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 void checkWants(UploadPack up, List<ObjectId> wants) throws PackProtocolException, IOException
UploadPack.RequestValidatorcheckWants in interface UploadPack.RequestValidatorup - 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 © 2021 Eclipse JGit Project. All rights reserved.