Class BaseJsonMessage<T>
java.lang.Object
ca.uhn.fhir.rest.server.messaging.json.BaseJsonMessage<T>
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IModelJson
,org.springframework.messaging.Message<T>
- Direct Known Subclasses:
ResourceOperationJsonMessage
public abstract class BaseJsonMessage<T>
extends Object
implements org.springframework.messaging.Message<T>, ca.uhn.fhir.model.api.IModelJson
-
Field Summary
Fields inherited from interface ca.uhn.fhir.model.api.IModelJson
SENSITIVE_DATA_FILTER_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.messaging.MessageHeaders
protected String
Provides a fallback value when the value returned bygetMessageKey()
is null.Deprecated.protected void
void
setHeaders
(HapiMessageHeaders theHeaders) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.messaging.Message
getPayload
-
Constructor Details
-
BaseJsonMessage
public BaseJsonMessage()Constructor
-
-
Method Details
-
setDefaultRetryHeaders
-
getHeaders
- Specified by:
getHeaders
in interfaceorg.springframework.messaging.Message<T>
-
getHapiHeaders
-
setHeaders
-
getMessageKeyOrNull
Deprecated. -
getMessageKey
-
getMessageKeyOrDefault
- Returns:
- the message key value or default
-
getMessageKeyDefaultValue
Provides a fallback value when the value returned bygetMessageKey()
is null.- Returns:
- null by default
-