public static final class UploadPack.TipRequestValidator extends Object implements UploadPack.RequestValidator
UploadPack.RequestPolicy.TIP
.Constructor and Description |
---|
TipRequestValidator() |
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.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 © 2017 Eclipse JGit Project. All rights reserved.