Class ResourceEntity

java.lang.Object
org.apache.http.entity.AbstractHttpEntity
org.apache.http.entity.StringEntity
ca.uhn.fhir.rest.client.apache.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

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait