Class UserAgent


  • public class UserAgent
    extends Object
    Since:
    5.0.0
    Version:
    $Revision: 10825 $ $Date: 2009-08-04 12:36:40 -0300 (Tue, 04 Aug 2009) $
    • Constructor Detail

      • UserAgent

        public UserAgent()
    • Method Detail

      • getPermissions

        public List<UserAgentPermission> getPermissions()
        Returns the permissions.
        Returns:
        the permissions
        Since:
        5.0.0
      • setPermissions

        public void setPermissions​(List<UserAgentPermission> permissions)
        Sets the permissions.
        Parameters:
        permissions - the permissions value to set.
        Since:
        5.0.0
      • getId

        public String getId()
        Returns the id.
        Returns:
        the id
        Since:
        5.0.0
      • setId

        public void setId​(String id)
        Sets the id.
        Parameters:
        id - the id value to set.
        Since:
        5.0.0
      • getCrawlDelay

        public Integer getCrawlDelay()
        Returns the crawlDelay.
        Returns:
        the crawlDelay
        Since:
        5.0.0
      • setCrawlDelay

        public void setCrawlDelay​(Integer crawlDelay)
        Sets the crawlDelay.
        Parameters:
        crawlDelay - the crawlDelay value to set.
        Since:
        5.0.0
      • getRequestRate

        public String getRequestRate()
        Returns the requestRate.
        Returns:
        the requestRate
        Since:
        5.0.0
      • setRequestRate

        public void setRequestRate​(String requestRate)
        Sets the requestRate.
        Parameters:
        requestRate - the requestRate value to set.
        Since:
        5.0.0
      • getUserAgent

        public String getUserAgent()
        Returns the userAgent.
        Returns:
        the userAgent
        Since:
        5.0.0
      • setUserAgent

        public void setUserAgent​(String userAgent)
        Sets the userAgent.
        Parameters:
        userAgent - the userAgent value to set.
        Since:
        5.0.0
      • getVisitTime

        public String getVisitTime()
        Returns the visitTime.
        Returns:
        the visitTime
        Since:
        5.0.0
      • setVisitTime

        public void setVisitTime​(String visitTime)
        Sets the visitTime.
        Parameters:
        visitTime - the visitTime value to set.
        Since:
        5.0.0