Klasse RestMessage

java.lang.Object
de.dlr.proseo.interfaces.rest.model.RestMessage
Alle implementierten Schnittstellen:
Serializable

public class RestMessage extends Object implements Serializable
Siehe auch:
  • Felddetails

    • serialVersionUID

      static final long serialVersionUID
      Siehe auch:
    • endpoint

      protected String endpoint
      The notification endpoint (HTTP(S) or mail)
    • user

      protected String user
      User to authenticate
    • password

      protected String password
      Password to authenticate
    • subject

      protected String subject
      The subject
    • contentType

      protected String contentType
      The HTML content type
    • messageCode

      protected String messageCode
      The message code
    • raw

      protected Boolean raw
      Flag to identify raw message data
    • message

      protected String message
      The message data
    • sender

      protected String sender
      The sender of the message
  • Konstruktordetails

    • RestMessage

      public RestMessage()
      Creates a new RestMessage.
    • RestMessage

      public RestMessage(String endpoint, String user, String password, String subject, String contentType, String messageCode, Boolean raw, String message, String sender)
      Creates a new RestMessage.
  • Methodendetails

    • getEndpoint

      @NotNull public @NotNull String getEndpoint()
      Returns the endpoint.
      Gibt zurück:
      endpoint
    • setEndpoint

      public void setEndpoint(String endpoint)
      Set the endpoint.
      Parameter:
      endpoint - the new endpoint
    • getUser

      public String getUser()
      Returns the user.
      Gibt zurück:
      user
    • setUser

      public void setUser(String user)
      Set the user.
      Parameter:
      user - the new user
    • getPassword

      public String getPassword()
      Returns the password.
      Gibt zurück:
      password
    • setPassword

      public void setPassword(String password)
      Set the password.
      Parameter:
      password - the new password
    • getSubject

      public String getSubject()
      Returns the subject.
      Gibt zurück:
      subject
    • setSubject

      public void setSubject(String subject)
      Set the subject.
      Parameter:
      subject - the new subject
    • getContentType

      public String getContentType()
      Returns the contentType.
      Gibt zurück:
      contentType
    • setContentType

      public void setContentType(String contentType)
      Set the contentType.
      Parameter:
      contentType - the new contentType
    • getMessageCode

      public String getMessageCode()
      Returns the messageCode.
      Gibt zurück:
      messageCode
    • setMessageCode

      public void setMessageCode(String messageCode)
      Set the messageCode.
      Parameter:
      messageCode - the new messageCode
    • getRaw

      public Boolean getRaw()
      Returns the raw.
      Gibt zurück:
      raw
    • setRaw

      public void setRaw(Boolean raw)
      Set the raw.
      Parameter:
      raw - the new raw
    • getMessage

      @NotNull public @NotNull String getMessage()
      Returns the message.
      Gibt zurück:
      message
    • setMessage

      public void setMessage(String message)
      Set the message.
      Parameter:
      message - the new message
    • getSender

      @NotNull public @NotNull String getSender()
      Returns the sender.
      Gibt zurück:
      sender
    • setSender

      public void setSender(String sender)
      Set the sender.
      Parameter:
      sender - the new sender
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object other)
      Setzt außer Kraft:
      equals in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object