Class UserAgent


  • public class UserAgent
    extends java.lang.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 java.util.List<UserAgentPermission> getPermissions()
        Returns the permissions.
        Returns:
        the permissions
        Since:
        5.0.0
      • setPermissions

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

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

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

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

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

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

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

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

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

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

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