
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, myResourceTypeFields inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
myOperationTypeFields 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 TypeMethodDescriptionvoidsetPayload(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, setPayloadIdMethods inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
copyAdditionalPropertiesFrom, getAttribute, getAttributes, getMediaType, getOperationType, getTransactionId, setAttribute, setMediaType, setOperationType, setPayloadMessageKey, setTransactionIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
toStringin classBaseResourceModifiedMessage
-