public static final class UploadPack.ReachableCommitTipRequestValidator extends Object implements UploadPack.RequestValidator
UploadPack.RequestPolicy.REACHABLE_COMMIT_TIP.| Constructor and Description |
|---|
UploadPack.ReachableCommitTipRequestValidator() |
| 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.ReachableCommitTipRequestValidator()
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 © 2014. All rights reserved.