Class LfsProtocolServlet.LfsRequest

  • Enclosing class:
    LfsProtocolServlet

    protected static class LfsProtocolServlet.LfsRequest
    extends java.lang.Object
    LFS request.
    Since:
    4.5
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<LfsObject> objects  
      private java.lang.String operation  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected LfsRequest()  
    • Field Detail

      • operation

        private java.lang.String operation
      • objects

        private java.util.List<LfsObject> objects
    • Constructor Detail

      • LfsRequest

        protected LfsRequest()
    • Method Detail

      • getOperation

        public java.lang.String getOperation()
        Get the LFS operation.
        Returns:
        the operation
      • getObjects

        public java.util.List<LfsObject> getObjects()
        Get the LFS objects.
        Returns:
        the objects
      • isUpload

        public boolean isUpload()
        Returns:
        true if the operation is upload.
        Since:
        4.7
      • isDownload

        public boolean isDownload()
        Returns:
        true if the operation is download.
        Since:
        4.7
      • isVerify

        public boolean isVerify()
        Returns:
        true if the operation is verify.
        Since:
        4.7