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
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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 ID
    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
     
     

    Methods inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceMessage

    copyAdditionalPropertiesFrom, getAttribute, getMediaType, getOperationType, getTransactionId, setAttribute, setMediaType, setOperationType, setTransactionId

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getPayload

      public org.hl7.fhir.instance.model.api.IBaseResource getPayload(ca.uhn.fhir.context.FhirContext theCtx)
    • getPayloadString

    • getPayloadId

      public org.hl7.fhir.instance.model.api.IIdType getPayloadId(ca.uhn.fhir.context.FhirContext theCtx)
    • getSubscription

    • setSubscription

      public void setSubscription(CanonicalSubscription theSubscription)
    • 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)
    • getPayloadId

      public String getPayloadId()
      Specified by:
      getPayloadId in interface ca.uhn.fhir.rest.server.messaging.IResourceMessage
    • setPayloadId

      public void setPayloadId(org.hl7.fhir.instance.model.api.IIdType thePayloadId)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getSubscriptionId

      public String getSubscriptionId(ca.uhn.fhir.context.FhirContext theFhirContext)
      Helper method to fetch the subscription ID