Class ResourceOperationMessage
java.lang.Object
ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
ca.uhn.fhir.rest.server.messaging.BaseResourceModifiedMessage
ca.uhn.fhir.rest.server.messaging.ResourceOperationMessage
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IModelJson
,IResourceMessage
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
BaseResourceMessage.OperationTypeEnum
-
Field Summary
Fields inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceModifiedMessage
myPartitionId, myPayload, myPayloadDecoded, myPayloadId, myPayloadType, myPayloadVersion
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
ConstructorDescriptionResourceOperationMessage
(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theResource, BaseResourceMessage.OperationTypeEnum theOperationType) ResourceOperationMessage
(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theNewResource, BaseResourceMessage.OperationTypeEnum theOperationType, RequestDetails theRequest) ResourceOperationMessage
(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theNewResource, BaseResourceMessage.OperationTypeEnum theOperationType, RequestDetails theRequest, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setPayload
(String thePayload) If you are using a non-fhir-resource payload, you may set the payload directly here instead of using the constructor.toString()
Methods inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceModifiedMessage
equals, getId, getId, getMessageKeyOrDefault, getNewPayload, getPartitionId, getPayload, getPayloadId, getPayloadId, getPayloadString, getPayloadType, getPayloadVersion, hashCode, hasPayloadType, payloadContainsNoPlaceholderReferences, setId, setNewPayload, setPartitionId, setPayloadId
Methods inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
copyAdditionalPropertiesFrom, getAttribute, getAttributes, getMediaType, getMessageKey, getMessageKeyDefaultValue, getMessageKeyOrNull, getOperationType, getTransactionId, setAttribute, setMediaType, setMessageKey, setOperationType, setTransactionId
-
Constructor Details
-
ResourceOperationMessage
public ResourceOperationMessage() -
ResourceOperationMessage
public ResourceOperationMessage(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theResource, BaseResourceMessage.OperationTypeEnum theOperationType) -
ResourceOperationMessage
public ResourceOperationMessage(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theNewResource, BaseResourceMessage.OperationTypeEnum theOperationType, RequestDetails theRequest) -
ResourceOperationMessage
public ResourceOperationMessage(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theNewResource, BaseResourceMessage.OperationTypeEnum theOperationType, RequestDetails theRequest, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
-
-
Method Details
-
setPayload
If you are using a non-fhir-resource payload, you may set the payload directly here instead of using the constructor.- Parameters:
thePayload
- the payload of the message.
-
toString
- Overrides:
toString
in classBaseResourceModifiedMessage
-