public class MethodUtil extends Object
public static void addAcceptHeaderToRequest(EncodingEnum theEncoding, IHttpRequest theHttpRequest, FhirContext theContext)
public static HttpGetClientInvocation createConformanceInvocation(FhirContext theContext)
public static HttpPostClientInvocation createCreateInvocation(IBaseResource theResource, FhirContext theContext)
public static HttpPostClientInvocation createCreateInvocation(IBaseResource theResource, String theResourceBody, FhirContext theContext)
public static HttpPostClientInvocation createCreateInvocation(IBaseResource theResource, String theResourceBody, FhirContext theContext, Map<String,List<String>> theIfNoneExistParams)
public static HttpPostClientInvocation createCreateInvocation(IBaseResource theResource, String theResourceBody, FhirContext theContext, String theIfNoneExistUrl)
public static HttpPatchClientInvocation createPatchInvocation(FhirContext theContext, IIdType theId, PatchTypeEnum thePatchType, String theBody)
public static HttpPatchClientInvocation createPatchInvocation(FhirContext theContext, PatchTypeEnum thePatchType, String theBody, String theResourceType, Map<String,List<String>> theMatchParams)
public static HttpPatchClientInvocation createPatchInvocation(FhirContext theContext, String theUrl, PatchTypeEnum thePatchType, String theBody)
public static HttpPutClientInvocation createUpdateInvocation(FhirContext theContext, IBaseResource theResource, String theResourceBody, Map<String,List<String>> theMatchParams)
public static HttpPutClientInvocation createUpdateInvocation(FhirContext theContext, IBaseResource theResource, String theResourceBody, String theMatchUrl)
public static HttpPutClientInvocation createUpdateInvocation(IBaseResource theResource, String theResourceBody, IIdType theId, 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(FhirContext theContext, Method theMethod, Object theProvider, RestOperationTypeEnum theRestfulOperationTypeEnum)
public static void parseClientRequestResourceHeaders(IIdType theRequestedId, Map<String,List<String>> theHeaders, IBaseResource resource)
public static MethodOutcome process2xxResponse(FhirContext theContext, int theResponseStatusCode, String theResponseMimeType, Reader theResponseReader, Map<String,List<String>> theHeaders)
Copyright © 2014–2018 University Health Network. All rights reserved.