Package ca.uhn.fhir.rest.client.apache
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
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
ConstructorDescriptionResourceEntity
(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
-
Constructor Details
-
ResourceEntity
public ResourceEntity(ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.instance.model.api.IBaseResource theResource) throws UnsupportedCharsetException - Throws:
UnsupportedCharsetException
-