public class HttpPutClientInvocation extends BaseHttpClientInvocation
| Constructor and Description |
|---|
HttpPutClientInvocation(ca.uhn.fhir.context.FhirContext theContext,
org.hl7.fhir.instance.model.api.IBaseResource theResource,
String theUrlExtension) |
HttpPutClientInvocation(ca.uhn.fhir.context.FhirContext theContext,
String theContents,
boolean theIsBundle,
String theUrlExtension) |
| Modifier and Type | Method and Description |
|---|---|
ca.uhn.fhir.rest.client.api.IHttpRequest |
asHttpRequest(String theUrlBase,
Map<String,List<String>> theExtraParams,
ca.uhn.fhir.rest.api.EncodingEnum theEncoding,
Boolean thePrettyPrint)
Create an HTTP request out of this client request
|
protected ca.uhn.fhir.rest.api.RequestTypeEnum |
getRequestType()
Get the HTTP request type.
|
void |
setForceResourceId(org.hl7.fhir.instance.model.api.IIdType theId) |
void |
setIfNoneExistParams(Map<String,List<String>> theIfNoneExist) |
void |
setIfNoneExistString(String theIfNoneExistString) |
void |
setOmitResourceId(boolean theOmitResourceId) |
addHeader, appendExtraParamsWithQuestionMark, createHttpRequest, getContext, getHeaders, getRestfulClientFactorypublic HttpPutClientInvocation(ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.instance.model.api.IBaseResource theResource, String theUrlExtension)
public HttpPutClientInvocation(ca.uhn.fhir.context.FhirContext theContext, String theContents, boolean theIsBundle, String theUrlExtension)
protected ca.uhn.fhir.rest.api.RequestTypeEnum getRequestType()
public ca.uhn.fhir.rest.client.api.IHttpRequest asHttpRequest(String theUrlBase, Map<String,List<String>> theExtraParams, ca.uhn.fhir.rest.api.EncodingEnum theEncoding, Boolean thePrettyPrint) throws ca.uhn.fhir.parser.DataFormatException
BaseHttpClientInvocationasHttpRequest in class BaseHttpClientInvocationtheUrlBase - The FHIR server base url (with a trailing "/")theExtraParams - Any extra request parameters the server wishes to addtheEncoding - The encoding to use for any serialized content sent to the
serverca.uhn.fhir.parser.DataFormatExceptionpublic void setForceResourceId(org.hl7.fhir.instance.model.api.IIdType theId)
public void setIfNoneExistParams(Map<String,List<String>> theIfNoneExist)
public void setIfNoneExistString(String theIfNoneExistString)
public void setOmitResourceId(boolean theOmitResourceId)
Copyright © 2014–2019 University Health Network. All rights reserved.