Package ca.uhn.fhir.rest.client.method
Class HttpSimpleClientInvocation
java.lang.Object
ca.uhn.fhir.rest.client.impl.BaseHttpClientInvocation
ca.uhn.fhir.rest.client.method.HttpSimpleClientInvocation
-
Constructor Summary
ConstructorDescriptionHttpSimpleClientInvocation
(ca.uhn.fhir.context.FhirContext theContext, String theUrlPath, ca.uhn.fhir.rest.api.PagingHttpMethodEnum thePagingHttpMethod) -
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.rest.client.api.IHttpRequest
asHttpRequest
(String theUrlBase, Map<String, List<String>> theExtraParams, ca.uhn.fhir.rest.api.EncodingEnum theEncoding, Boolean thePrettyPrint) Create an HTTP request out of this client requestvoid
setUrlSource
(ca.uhn.fhir.rest.client.api.UrlSourceEnum theUrlSource) Methods inherited from class ca.uhn.fhir.rest.client.impl.BaseHttpClientInvocation
addHeader, appendExtraParamsWithQuestionMark, createHttpRequest, getContext, getHeaders, getRestfulClientFactory
-
Constructor Details
-
HttpSimpleClientInvocation
public HttpSimpleClientInvocation(ca.uhn.fhir.context.FhirContext theContext, String theUrlPath, ca.uhn.fhir.rest.api.PagingHttpMethodEnum thePagingHttpMethod)
-
-
Method Details
-
asHttpRequest
public ca.uhn.fhir.rest.client.api.IHttpRequest asHttpRequest(String theUrlBase, Map<String, List<String>> theExtraParams, ca.uhn.fhir.rest.api.EncodingEnum theEncoding, Boolean thePrettyPrint) Description copied from class:BaseHttpClientInvocation
Create an HTTP request out of this client request- Specified by:
asHttpRequest
in classBaseHttpClientInvocation
- Parameters:
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 server
-
setUrlSource
-