public class HttpPutClientInvocation extends BaseHttpClientInvocation
| Constructor and Description |
|---|
HttpPutClientInvocation(FhirContext theContext,
IBaseResource theResource,
String theUrlExtension) |
HttpPutClientInvocation(FhirContext theContext,
String theContents,
boolean theIsBundle,
String theUrlExtension) |
| Modifier and Type | Method and Description |
|---|---|
IHttpRequest |
asHttpRequest(String theUrlBase,
Map<String,List<String>> theExtraParams,
EncodingEnum theEncoding,
Boolean thePrettyPrint)
Create an HTTP request out of this client request
|
protected RequestTypeEnum |
getRequestType()
Get the HTTP request type.
|
void |
setForceResourceId(IIdType theId) |
void |
setIfNoneExistParams(Map<String,List<String>> theIfNoneExist) |
void |
setIfNoneExistString(String theIfNoneExistString) |
void |
setOmitResourceId(boolean theOmitResourceId) |
addHeader, appendExtraParamsWithQuestionMark, createHttpRequest, getContext, getHeaders, getRestfulClientFactorypublic HttpPutClientInvocation(FhirContext theContext, IBaseResource theResource, String theUrlExtension)
public HttpPutClientInvocation(FhirContext theContext, String theContents, boolean theIsBundle, String theUrlExtension)
protected RequestTypeEnum getRequestType()
public IHttpRequest asHttpRequest(String theUrlBase, Map<String,List<String>> theExtraParams, EncodingEnum theEncoding, Boolean thePrettyPrint) throws 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
serverDataFormatExceptionpublic void setForceResourceId(IIdType theId)
public void setIfNoneExistParams(Map<String,List<String>> theIfNoneExist)
public void setIfNoneExistString(String theIfNoneExistString)
public void setOmitResourceId(boolean theOmitResourceId)
Copyright © 2014–2018 University Health Network. All rights reserved.