
Package ca.uhn.fhir.rest.client.method
Class HttpPatchClientInvocation
java.lang.Object
ca.uhn.fhir.rest.client.impl.BaseHttpClientInvocation
ca.uhn.fhir.rest.client.method.HttpPatchClientInvocation
-
Constructor Summary
ConstructorsConstructorDescriptionHttpPatchClientInvocation(ca.uhn.fhir.context.FhirContext theContext, String theUrlPath, String theContentType, String theContents) HttpPatchClientInvocation(ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.instance.model.api.IIdType theId, String theContentType, String theContents) -
Method Summary
Modifier and TypeMethodDescriptionca.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 requestprotected ca.uhn.fhir.rest.client.api.IHttpRequestcreateHttpRequest(String theUrl, ca.uhn.fhir.rest.api.EncodingEnum theEncoding, ca.uhn.fhir.rest.api.RequestTypeEnum theRequestType) Create an HTTP request for the given url, encoding and request-typeMethods inherited from class ca.uhn.fhir.rest.client.impl.BaseHttpClientInvocation
addHeader, appendExtraParamsWithQuestionMark, getContext, getHeaders, getRestfulClientFactory
-
Constructor Details
-
HttpPatchClientInvocation
public HttpPatchClientInvocation(ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.instance.model.api.IIdType theId, String theContentType, String theContents) -
HttpPatchClientInvocation
public HttpPatchClientInvocation(ca.uhn.fhir.context.FhirContext theContext, String theUrlPath, String theContentType, String theContents)
-
-
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: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
-
createHttpRequest
protected ca.uhn.fhir.rest.client.api.IHttpRequest createHttpRequest(String theUrl, ca.uhn.fhir.rest.api.EncodingEnum theEncoding, ca.uhn.fhir.rest.api.RequestTypeEnum theRequestType) Description copied from class:BaseHttpClientInvocationCreate an HTTP request for the given url, encoding and request-type- Overrides:
createHttpRequestin classBaseHttpClientInvocation- Parameters:
theUrl- The complete FHIR url to which the http request will be senttheEncoding- The encoding to use for any serialized content sent to the servertheRequestType- the type of HTTP request (GET, DELETE, ..)
-