Class ResourceDeliveryMessage
java.lang.Object
ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
ca.uhn.fhir.jpa.subscription.model.ResourceDeliveryMessage
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IModelJson
,ca.uhn.fhir.rest.server.messaging.IResourceMessage
public class ResourceDeliveryMessage
extends ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
implements ca.uhn.fhir.rest.server.messaging.IResourceMessage
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
ca.uhn.fhir.rest.server.messaging.BaseResourceMessage.OperationTypeEnum
-
Field Summary
Fields inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
myOperationType
Fields inherited from interface ca.uhn.fhir.model.api.IModelJson
SENSITIVE_DATA_FILTER_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.instance.model.api.IBaseResource
getPayload
(ca.uhn.fhir.context.FhirContext theCtx) org.hl7.fhir.instance.model.api.IIdType
getPayloadId
(ca.uhn.fhir.context.FhirContext theCtx) getSubscriptionId
(ca.uhn.fhir.context.FhirContext theFhirContext) Helper method to fetch the subscription IDvoid
setPartitionId
(RequestPartitionId thePartitionId) void
setPayload
(ca.uhn.fhir.context.FhirContext theCtx, org.hl7.fhir.instance.model.api.IBaseResource thePayload, ca.uhn.fhir.rest.api.EncodingEnum theEncoding) void
setPayloadId
(org.hl7.fhir.instance.model.api.IIdType thePayloadId) void
void
setSubscription
(CanonicalSubscription theSubscription) toString()
Methods inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
copyAdditionalPropertiesFrom, equals, getAttribute, getAttributes, getMediaType, getMessageKey, getMessageKeyDefaultValue, getMessageKeyOrNull, getOperationType, getTransactionId, hashCode, setAttribute, setMediaType, setMessageKey, setOperationType, setTransactionId
-
Constructor Details
-
ResourceDeliveryMessage
public ResourceDeliveryMessage()Constructor
-
-
Method Details
-
getPayload
public org.hl7.fhir.instance.model.api.IBaseResource getPayload(ca.uhn.fhir.context.FhirContext theCtx) -
getPayloadString
-
getPayloadId
-
getSubscription
-
setSubscription
-
setPayload
public void setPayload(ca.uhn.fhir.context.FhirContext theCtx, org.hl7.fhir.instance.model.api.IBaseResource thePayload, ca.uhn.fhir.rest.api.EncodingEnum theEncoding) -
setPayloadToNull
-
getPayloadId
- Specified by:
getPayloadId
in interfaceca.uhn.fhir.rest.server.messaging.IResourceMessage
-
setPayloadId
-
getRequestPartitionId
-
setPartitionId
-
toString
-
getSubscriptionId
Helper method to fetch the subscription ID -
getMessageKeyOrDefault
- Overrides:
getMessageKeyOrDefault
in classca.uhn.fhir.rest.server.messaging.BaseResourceMessage
-