Class RestNotificationEndpoint

java.lang.Object
de.dlr.proseo.interfaces.rest.model.RestNotificationEndpoint
All Implemented Interfaces:
Serializable

public class RestNotificationEndpoint extends Object implements Serializable
See Also:
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      See Also:
    • uri

      protected String uri
      The URI used to notify the ProcessingOrder originator of the order completion
    • username

      protected String username
      The username to authenticate with (using Basic Authentication)
    • password

      protected String password
      The password to authenticate with, mandatory if username is given; may be set to replacement value (e. g. asterisks) on data retrieval requests
  • Constructor Details

    • RestNotificationEndpoint

      public RestNotificationEndpoint()
      Creates a new RestNotificationEndpoint.
    • RestNotificationEndpoint

      public RestNotificationEndpoint(String uri, String username, String password)
      Creates a new RestNotificationEndpoint.
  • Method Details

    • getUri

      @NotNull public String getUri()
      Returns the uri.
      Returns:
      uri
    • setUri

      public void setUri(String uri)
      Set the uri.
      Parameters:
      uri - the new uri
    • getUsername

      public String getUsername()
      Returns the username.
      Returns:
      username
    • setUsername

      public void setUsername(String username)
      Set the username.
      Parameters:
      username - the new username
    • getPassword

      public String getPassword()
      Returns the password.
      Returns:
      password
    • setPassword

      public void setPassword(String password)
      Set the password.
      Parameters:
      password - the new password
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object