Class HapiMessageHeaders
java.lang.Object
ca.uhn.fhir.rest.server.messaging.json.HapiMessageHeaders
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IModelJson
This class is for holding headers for BaseJsonMessages. Any serializable data can be thrown into
the header map. There are also three special headers, defined by the constants in this class, which are for use
in message handling retrying. There are also matching helper functions for fetching those special variables; however
they can also be accessed in standard map fashion with a `get` on the map.
-
Field Summary
Fields inherited from interface ca.uhn.fhir.model.api.IModelJson
SENSITIVE_DATA_FILTER_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setFirstFailureTimestamp
(Long theFirstFailureTimestamp) void
setLastFailureTimestamp
(Long theLastFailureTimestamp) void
setRetryCount
(Integer theRetryCount) org.springframework.messaging.MessageHeaders
-
Field Details
-
RETRY_COUNT_KEY
- See Also:
-
FIRST_FAILURE_KEY
- See Also:
-
LAST_FAILURE_KEY
- See Also:
-
-
Constructor Details
-
HapiMessageHeaders
-
HapiMessageHeaders
public HapiMessageHeaders()
-
-
Method Details
-
getRetryCount
-
getFirstFailureTimestamp
-
getLastFailureTimestamp
-
setRetryCount
-
setLastFailureTimestamp
-
setFirstFailureTimestamp
-
getCustomHeaders
-
toMessageHeaders
-