public class MethodUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addAcceptHeaderToRequest(ca.uhn.fhir.rest.api.EncodingEnum theEncoding,
ca.uhn.fhir.rest.client.api.IHttpRequest theHttpRequest,
ca.uhn.fhir.context.FhirContext theContext) |
static HttpGetClientInvocation |
createConformanceInvocation(ca.uhn.fhir.context.FhirContext theContext) |
static HttpPostClientInvocation |
createCreateInvocation(org.hl7.fhir.instance.model.api.IBaseResource theResource,
ca.uhn.fhir.context.FhirContext theContext) |
static HttpPostClientInvocation |
createCreateInvocation(org.hl7.fhir.instance.model.api.IBaseResource theResource,
String theResourceBody,
ca.uhn.fhir.context.FhirContext theContext) |
static HttpPostClientInvocation |
createCreateInvocation(org.hl7.fhir.instance.model.api.IBaseResource theResource,
String theResourceBody,
ca.uhn.fhir.context.FhirContext theContext,
Map<String,List<String>> theIfNoneExistParams) |
static HttpPostClientInvocation |
createCreateInvocation(org.hl7.fhir.instance.model.api.IBaseResource theResource,
String theResourceBody,
ca.uhn.fhir.context.FhirContext theContext,
String theIfNoneExistUrl) |
static HttpPatchClientInvocation |
createPatchInvocation(ca.uhn.fhir.context.FhirContext theContext,
org.hl7.fhir.instance.model.api.IIdType theId,
ca.uhn.fhir.rest.api.PatchTypeEnum thePatchType,
String theBody) |
static HttpPatchClientInvocation |
createPatchInvocation(ca.uhn.fhir.context.FhirContext theContext,
ca.uhn.fhir.rest.api.PatchTypeEnum thePatchType,
String theBody,
String theResourceType,
Map<String,List<String>> theMatchParams) |
static HttpPatchClientInvocation |
createPatchInvocation(ca.uhn.fhir.context.FhirContext theContext,
String theUrl,
ca.uhn.fhir.rest.api.PatchTypeEnum thePatchType,
String theBody) |
static HttpPutClientInvocation |
createUpdateInvocation(ca.uhn.fhir.context.FhirContext theContext,
org.hl7.fhir.instance.model.api.IBaseResource theResource,
String theResourceBody,
Map<String,List<String>> theMatchParams) |
static HttpPutClientInvocation |
createUpdateInvocation(ca.uhn.fhir.context.FhirContext theContext,
org.hl7.fhir.instance.model.api.IBaseResource theResource,
String theResourceBody,
String theMatchUrl) |
static HttpPutClientInvocation |
createUpdateInvocation(org.hl7.fhir.instance.model.api.IBaseResource theResource,
String theResourceBody,
org.hl7.fhir.instance.model.api.IIdType theId,
ca.uhn.fhir.context.FhirContext theContext) |
static StringBuilder |
createUrl(String theResourceType,
Map<String,List<String>> theMatchParams) |
static void |
extractDescription(SearchParameter theParameter,
Annotation[] theAnnotations) |
static List<IParameter> |
getResourceParameters(ca.uhn.fhir.context.FhirContext theContext,
Method theMethod,
Object theProvider,
ca.uhn.fhir.rest.api.RestOperationTypeEnum theRestfulOperationTypeEnum) |
static void |
parseClientRequestResourceHeaders(org.hl7.fhir.instance.model.api.IIdType theRequestedId,
Map<String,List<String>> theHeaders,
org.hl7.fhir.instance.model.api.IBaseResource resource) |
static ca.uhn.fhir.rest.api.MethodOutcome |
process2xxResponse(ca.uhn.fhir.context.FhirContext theContext,
int theResponseStatusCode,
String theResponseMimeType,
InputStream theResponseReader,
Map<String,List<String>> theHeaders) |
public static void addAcceptHeaderToRequest(ca.uhn.fhir.rest.api.EncodingEnum theEncoding, ca.uhn.fhir.rest.client.api.IHttpRequest theHttpRequest, ca.uhn.fhir.context.FhirContext theContext)
public static HttpGetClientInvocation createConformanceInvocation(ca.uhn.fhir.context.FhirContext theContext)
public static HttpPostClientInvocation createCreateInvocation(org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.context.FhirContext theContext)
public static HttpPostClientInvocation createCreateInvocation(org.hl7.fhir.instance.model.api.IBaseResource theResource, String theResourceBody, ca.uhn.fhir.context.FhirContext theContext)
public static HttpPostClientInvocation createCreateInvocation(org.hl7.fhir.instance.model.api.IBaseResource theResource, String theResourceBody, ca.uhn.fhir.context.FhirContext theContext, Map<String,List<String>> theIfNoneExistParams)
public static HttpPostClientInvocation createCreateInvocation(org.hl7.fhir.instance.model.api.IBaseResource theResource, String theResourceBody, ca.uhn.fhir.context.FhirContext theContext, String theIfNoneExistUrl)
public static HttpPatchClientInvocation createPatchInvocation(ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.instance.model.api.IIdType theId, ca.uhn.fhir.rest.api.PatchTypeEnum thePatchType, String theBody)
public static HttpPatchClientInvocation createPatchInvocation(ca.uhn.fhir.context.FhirContext theContext, ca.uhn.fhir.rest.api.PatchTypeEnum thePatchType, String theBody, String theResourceType, Map<String,List<String>> theMatchParams)
public static HttpPatchClientInvocation createPatchInvocation(ca.uhn.fhir.context.FhirContext theContext, String theUrl, ca.uhn.fhir.rest.api.PatchTypeEnum thePatchType, String theBody)
public static HttpPutClientInvocation createUpdateInvocation(ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.instance.model.api.IBaseResource theResource, String theResourceBody, Map<String,List<String>> theMatchParams)
public static HttpPutClientInvocation createUpdateInvocation(ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.instance.model.api.IBaseResource theResource, String theResourceBody, String theMatchUrl)
public static HttpPutClientInvocation createUpdateInvocation(org.hl7.fhir.instance.model.api.IBaseResource theResource, String theResourceBody, org.hl7.fhir.instance.model.api.IIdType theId, ca.uhn.fhir.context.FhirContext theContext)
public static StringBuilder createUrl(String theResourceType, Map<String,List<String>> theMatchParams)
public static void extractDescription(SearchParameter theParameter, Annotation[] theAnnotations)
public static List<IParameter> getResourceParameters(ca.uhn.fhir.context.FhirContext theContext, Method theMethod, Object theProvider, ca.uhn.fhir.rest.api.RestOperationTypeEnum theRestfulOperationTypeEnum)
public static void parseClientRequestResourceHeaders(org.hl7.fhir.instance.model.api.IIdType theRequestedId, Map<String,List<String>> theHeaders, org.hl7.fhir.instance.model.api.IBaseResource resource)
public static ca.uhn.fhir.rest.api.MethodOutcome process2xxResponse(ca.uhn.fhir.context.FhirContext theContext, int theResponseStatusCode, String theResponseMimeType, InputStream theResponseReader, Map<String,List<String>> theHeaders)
Copyright © 2014–2019 University Health Network. All rights reserved.