public class HttpPostClientInvocation extends BaseHttpClientInvocation
| Constructor and Description |
|---|
HttpPostClientInvocation(FhirContext theContext,
Bundle theBundle) |
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) |
HttpPostClientInvocation(FhirContext theContext,
TagList theTagList,
String... theUrlExtension) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.client.methods.HttpRequestBase |
asHttpRequest(String theUrlBase,
Map<String,List<String>> theExtraParams,
EncodingEnum theEncoding,
Boolean thePrettyPrint)
Create an HTTP request out of this client request
|
protected org.apache.http.client.methods.HttpPost |
createRequest(StringBuilder theUrlBase,
org.apache.http.entity.AbstractHttpEntity theEntity) |
void |
setIfNoneExistParams(Map<String,List<String>> theIfNoneExist) |
void |
setIfNoneExistString(String theIfNoneExistString) |
void |
setOmitResourceId(boolean theOmitResourceId) |
addHeader, addHeadersToRequest, appendExtraParamsWithQuestionMarkpublic HttpPostClientInvocation(FhirContext theContext, IBaseResource theResource, String theUrlExtension)
public HttpPostClientInvocation(FhirContext theContext, IBaseResource theResource)
public HttpPostClientInvocation(FhirContext theContext, TagList theTagList, String... theUrlExtension)
public HttpPostClientInvocation(FhirContext theContext, List<? extends IBaseResource> theResources, BundleTypeEnum theBundleType)
public HttpPostClientInvocation(FhirContext theContext, Bundle theBundle)
public HttpPostClientInvocation(FhirContext theContext, String theContents, boolean theIsBundle, String theUrlExtension)
public HttpPostClientInvocation(FhirContext theContext, Map<String,List<String>> theParams, String... theUrlExtension)
protected org.apache.http.client.methods.HttpPost createRequest(StringBuilder theUrlBase, org.apache.http.entity.AbstractHttpEntity theEntity)
public org.apache.http.client.methods.HttpRequestBase 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 setIfNoneExistParams(Map<String,List<String>> theIfNoneExist)
public void setIfNoneExistString(String theIfNoneExistString)
public void setOmitResourceId(boolean theOmitResourceId)
Copyright © 2014–2016 University Health Network. All rights reserved.