Klasse RestMessage
java.lang.Object
de.dlr.proseo.notification.rest.model.RestMessage
- Alle implementierten Schnittstellen:
Serializable
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected StringThe HTML content typeprotected StringThe notification endpoint (HTTP(S) or mail)protected StringThe message dataprotected StringThe message codeprotected StringPassword to authenticateprotected BooleanFlag to identify raw message dataprotected StringThe sender of the message(Package privat) static final longprotected StringThe subjectprotected StringUser to authenticate -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanReturns the contentType.@NotNull StringReturns the endpoint.@NotNull StringReturns the message.Returns the messageCode.Returns the password.getRaw()Returns the raw.@NotNull StringReturns the sender.Returns the subject.getUser()Returns the user.inthashCode()voidsetContentType(String contentType) Set the contentType.voidsetEndpoint(String endpoint) Set the endpoint.voidsetMessage(String message) Set the message.voidsetMessageCode(String messageCode) Set the messageCode.voidsetPassword(String password) Set the password.voidSet the raw.voidSet the sender.voidsetSubject(String subject) Set the subject.voidSet the user.toString()
-
Felddetails
-
serialVersionUID
static final long serialVersionUID- Siehe auch:
-
endpoint
The notification endpoint (HTTP(S) or mail) -
user
User to authenticate -
password
Password to authenticate -
subject
The subject -
contentType
The HTML content type -
messageCode
The message code -
raw
Flag to identify raw message data -
message
The message data -
sender
The sender of the message
-
-
Konstruktordetails
-
Methodendetails
-
getEndpoint
Returns the endpoint.- Gibt zurück:
- endpoint
-
setEndpoint
Set the endpoint.- Parameter:
endpoint- the new endpoint
-
getUser
Returns the user.- Gibt zurück:
- user
-
setUser
Set the user.- Parameter:
user- the new user
-
getPassword
Returns the password.- Gibt zurück:
- password
-
setPassword
Set the password.- Parameter:
password- the new password
-
getSubject
Returns the subject.- Gibt zurück:
- subject
-
setSubject
Set the subject.- Parameter:
subject- the new subject
-
getContentType
Returns the contentType.- Gibt zurück:
- contentType
-
setContentType
Set the contentType.- Parameter:
contentType- the new contentType
-
getMessageCode
Returns the messageCode.- Gibt zurück:
- messageCode
-
setMessageCode
Set the messageCode.- Parameter:
messageCode- the new messageCode
-
getRaw
Returns the raw.- Gibt zurück:
- raw
-
setRaw
Set the raw.- Parameter:
raw- the new raw
-
getMessage
Returns the message.- Gibt zurück:
- message
-
setMessage
Set the message.- Parameter:
message- the new message
-
getSender
Returns the sender.- Gibt zurück:
- sender
-
setSender
Set the sender.- Parameter:
sender- the new sender
-
hashCode
public int hashCode() -
equals
-
toString
-