Class LinkState


  • public class LinkState
    extends Object
    Represents a Link State, ie the HTTP response code when the link was checked, the time when the link was last checked and context data.
    Since:
    3.3M1
    Version:
    $Id: 74532a1e08cd47b3944308c508a7f4f0a42591fc $
    • Method Detail

      • getLastCheckedTime

        public long getLastCheckedTime()
        Returns:
        the time when the link was last checked
      • getResponseCode

        public int getResponseCode()
        Returns:
        the HTTP response code when the link was checked
      • getContextData

        public Map<String,​Object> getContextData()
        Returns:
        the context data associated with the content reference. What gets put in the Context Data Map depends purely on implementations of LinkContextDataProvider
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object