public class HttpPostClientInvocation extends BaseHttpClientInvocation
| Constructor and Description |
|---|
HttpPostClientInvocation(FhirContext theContext,
IBaseResource theResource) |
HttpPostClientInvocation(FhirContext theContext,
IBaseResource theResource,
String theUrlExtension) |
HttpPostClientInvocation(FhirContext theContext,
List<? extends IBaseResource> theResources,
BundleTypeEnum theBundleType) |
HttpPostClientInvocation(FhirContext theContext,
Map<String,List<String>> theParams,
String... theUrlExtension) |
HttpPostClientInvocation(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 HttpPostClientInvocation(FhirContext theContext, IBaseResource theResource, String theUrlExtension)
public HttpPostClientInvocation(FhirContext theContext, IBaseResource theResource)
public HttpPostClientInvocation(FhirContext theContext, List<? extends IBaseResource> theResources, BundleTypeEnum theBundleType)
public HttpPostClientInvocation(FhirContext theContext, String theContents, boolean theIsBundle, String theUrlExtension)
public HttpPostClientInvocation(FhirContext theContext, Map<String,List<String>> theParams, 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.