Package ca.uhn.fhir.rest.client.method
Class HttpGetClientInvocation
- java.lang.Object
-
- ca.uhn.fhir.rest.client.impl.BaseHttpClientInvocation
-
- ca.uhn.fhir.rest.client.method.HttpGetClientInvocation
-
public class HttpGetClientInvocation extends BaseHttpClientInvocation
- Author:
- James Agnew, Doug Martin (Regenstrief Center for Biomedical Informatics)
-
-
Constructor Summary
Constructors Constructor Description HttpGetClientInvocation(ca.uhn.fhir.context.FhirContext theContext, String theUrlPath)HttpGetClientInvocation(ca.uhn.fhir.context.FhirContext theContext, Map<String,List<String>> theParameters, String... theUrlFragments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ca.uhn.fhir.rest.client.api.IHttpRequestasHttpRequest(String theUrlBase, Map<String,List<String>> theExtraParams, ca.uhn.fhir.rest.api.EncodingEnum theEncoding, Boolean thePrettyPrint)Create an HTTP request out of this client requestMap<String,List<String>>getParameters()StringgetUrlPath()-
Methods inherited from class ca.uhn.fhir.rest.client.impl.BaseHttpClientInvocation
addHeader, appendExtraParamsWithQuestionMark, createHttpRequest, getContext, getHeaders, getRestfulClientFactory
-
-
-
-
Constructor Detail
-
HttpGetClientInvocation
public HttpGetClientInvocation(ca.uhn.fhir.context.FhirContext theContext, Map<String,List<String>> theParameters, String... theUrlFragments)
-
HttpGetClientInvocation
public HttpGetClientInvocation(ca.uhn.fhir.context.FhirContext theContext, String theUrlPath)
-
-
Method Detail
-
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:BaseHttpClientInvocationCreate an HTTP request out of this client request- Specified by:
asHttpRequestin 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
-
getParameters
public Map<String,List<String>> getParameters()
-
getUrlPath
public String getUrlPath()
-
-