
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
,IHasPayloadMessageKey
,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, myPayloadId, myPayloadVersion, myResourceDecoded, myResourceType
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
ConstructorsConstructorDescriptionResourceOperationMessage
(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, getNewResource, getPartitionId, getPayloadId, getPayloadId, getPayloadMessageKey, getPayloadString, getPayloadVersion, getResource, getResourceType, hashCode, hasResourceType, payloadContainsNoPlaceholderReferences, setId, setNewPayload, setPartitionId, setPayloadId
Methods inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
copyAdditionalPropertiesFrom, getAttribute, getAttributes, getMediaType, getOperationType, getTransactionId, setAttribute, setMediaType, setOperationType, setPayloadMessageKey, setTransactionId
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ca.uhn.fhir.rest.server.messaging.IResourceMessage
setPayloadMessageKey
-
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
-