Class ResourceEntity

  • All Implemented Interfaces:
    Cloneable, org.apache.http.HttpEntity

    public class ResourceEntity
    extends org.apache.http.entity.StringEntity
    Apache HttpClient request content entity where the body is a FHIR resource, that will be encoded as JSON by default
    • Field Summary

      • Fields inherited from class org.apache.http.entity.StringEntity

        content
      • Fields inherited from class org.apache.http.entity.AbstractHttpEntity

        chunked, contentEncoding, contentType, OUTPUT_BUFFER_SIZE
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceEntity​(ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.instance.model.api.IBaseResource theResource)  
    • Method Summary

      • Methods inherited from class org.apache.http.entity.StringEntity

        clone, getContent, getContentLength, isRepeatable, isStreaming, writeTo
      • Methods inherited from class org.apache.http.entity.AbstractHttpEntity

        consumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType, toString