Interface UploadPack.RequestValidator

    • Method Detail

      • checkWants

        void checkWants​(UploadPack up,
                        java.util.List<ObjectId> wants)
                 throws PackProtocolException,
                        java.io.IOException
        Check a list of client wants against the request policy.
        Parameters:
        up - UploadPack instance.
        wants - objects the client requested that were not advertised.
        Throws:
        PackProtocolException - if one or more wants is not valid.
        java.io.IOException - if a low-level exception occurred.
        Since:
        3.1