public abstract class BaseHttpClientInvocation extends Object
| Constructor and Description |
|---|
BaseHttpClientInvocation() |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(String theName,
String theValue) |
void |
addHeadersToRequest(org.apache.http.client.methods.HttpRequestBase theHttpRequest,
EncodingEnum theEncoding) |
protected static void |
appendExtraParamsWithQuestionMark(Map<String,List<String>> theExtraParams,
StringBuilder theUrlBuilder,
boolean theWithQuestionMark) |
abstract 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
|
public BaseHttpClientInvocation()
public abstract org.apache.http.client.methods.HttpRequestBase asHttpRequest(String theUrlBase, Map<String,List<String>> theExtraParams, EncodingEnum theEncoding, Boolean thePrettyPrint)
theUrlBase - 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
serverprotected static void appendExtraParamsWithQuestionMark(Map<String,List<String>> theExtraParams, StringBuilder theUrlBuilder, boolean theWithQuestionMark)
public void addHeadersToRequest(org.apache.http.client.methods.HttpRequestBase theHttpRequest, EncodingEnum theEncoding)
Copyright © 2014–2016 University Health Network. All rights reserved.