public static interface UploadPack.RequestValidator
Modifier and Type | Method and Description |
---|---|
void |
checkWants(UploadPack up,
java.util.List<ObjectId> wants)
Check a list of client wants against the request policy.
|
void checkWants(UploadPack up, java.util.List<ObjectId> wants) throws PackProtocolException, java.io.IOException
up
- UploadPack
instance.wants
- objects the client requested that were not advertised.PackProtocolException
- if one or more wants is not valid.java.io.IOException
- if a low-level exception occurred.