Class DefaultQuotaBackend

    • Method Detail

      • currentUser

        public com.google.gerrit.server.quota.DefaultQuotaBackend.WithUser currentUser()
        Description copied from interface: QuotaBackend
        Constructs a request for the current user.
        Specified by:
        currentUser in interface QuotaBackend
      • user

        public com.google.gerrit.server.quota.DefaultQuotaBackend.WithUser user​(CurrentUser user)
        Description copied from interface: QuotaBackend
        See QuotaBackend.currentUser(). Use this method only if you can't guarantee that the request is for the current user (e.g. impersonation).
        Specified by:
        user in interface QuotaBackend