public class JaxRsHttpClient extends Object implements IHttpClient
Client| Constructor and Description |
|---|
JaxRsHttpClient(javax.ws.rs.client.Client theClient,
StringBuilder theUrl,
Map<String,List<String>> theIfNoneExistParams,
String theIfNoneExistString,
RequestTypeEnum theRequestType,
List<Header> theHeaders) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeadersToRequest(JaxRsHttpRequest theHttpRequest,
EncodingEnum theEncoding,
FhirContext theContext) |
IHttpRequest |
createBinaryRequest(FhirContext theContext,
IBaseBinary theBinary) |
IHttpRequest |
createByteRequest(FhirContext theContext,
String theContents,
String theContentType,
EncodingEnum theEncoding) |
IHttpRequest |
createGetRequest(FhirContext theContext,
EncodingEnum theEncoding) |
IHttpRequest |
createParamRequest(FhirContext theContext,
Map<String,List<String>> theParams,
EncodingEnum theEncoding) |
public JaxRsHttpClient(javax.ws.rs.client.Client theClient, StringBuilder theUrl, Map<String,List<String>> theIfNoneExistParams, String theIfNoneExistString, RequestTypeEnum theRequestType, List<Header> theHeaders)
public IHttpRequest createByteRequest(FhirContext theContext, String theContents, String theContentType, EncodingEnum theEncoding)
createByteRequest in interface IHttpClientpublic IHttpRequest createParamRequest(FhirContext theContext, Map<String,List<String>> theParams, EncodingEnum theEncoding)
createParamRequest in interface IHttpClientpublic IHttpRequest createBinaryRequest(FhirContext theContext, IBaseBinary theBinary)
createBinaryRequest in interface IHttpClientpublic IHttpRequest createGetRequest(FhirContext theContext, EncodingEnum theEncoding)
createGetRequest in interface IHttpClientpublic void addHeadersToRequest(JaxRsHttpRequest theHttpRequest, EncodingEnum theEncoding, FhirContext theContext)
Copyright © 2014–2016 University Health Network. All rights reserved.