Class HttpPostInfo


  • public class HttpPostInfo
    extends Object
    Class containing the information for the HTTP POST operations - this gets constructed when each time a subscribe event is received and is basically immutable (except for error count).
    Author:
    Sowmya Nataraj
    • Method Detail

      • incrementErrors

        public void incrementErrors()
        Increment errors
      • clearErrors

        public void clearErrors()
        Clear error count if there were errors earlier
      • getURL

        public URL getURL()
        Return the URL
        Returns:
        the URL
      • getURLString

        public String getURLString()
        Return the URL as a string
        Returns:
        the URL as a string
      • getCategory

        public String getCategory()
        Return the category label
        Returns:
        the category label
      • getUser

        public String getUser()
        Return the user
        Returns:
        the user
      • getPassword

        public String getPassword()
        Return the passwd
        Returns:
        the passwd
      • getErrors

        public int getErrors()
        Return the number of errors
        Returns:
        the number of errors
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object