public class MethodUtil extends Object
public static <T extends IIdType> T convertIdToType(IIdType value, Class<T> theIdParamType)
public static HttpGetClientInvocation createConformanceInvocation(FhirContext theContext)
public static HttpPostClientInvocation createCreateInvocation(IBaseResource theResource, FhirContext theContext)
public static HttpPostClientInvocation createCreateInvocation(IBaseResource theResource, String theResourceBody, String theId, FhirContext theContext)
public static HttpPostClientInvocation createCreateInvocation(IBaseResource theResource, String theResourceBody, String theId, FhirContext theContext, Map<String,List<String>> theIfNoneExistParams)
public static HttpPostClientInvocation createCreateInvocation(IBaseResource theResource, String theResourceBody, String theId, FhirContext theContext, String theIfNoneExistUrl)
public static HttpPatchClientInvocation createPatchInvocation(FhirContext theContext, IIdType theId, PatchTypeEnum thePatchType, String theBody)
public static HttpPatchClientInvocation createPatchInvocation(FhirContext theContext, String theUrl, PatchTypeEnum thePatchType, String theBody)
public static HttpPatchClientInvocation createPatchInvocation(FhirContext theContext, PatchTypeEnum thePatchType, String theBody, String theResourceType, Map<String,List<String>> theMatchParams)
public static HttpPutClientInvocation createUpdateInvocation(FhirContext theContext, IBaseResource theResource, String theResourceBody, Map<String,List<String>> theMatchParams)
public static StringBuilder createUrl(String theResourceType, 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 EncodingEnum detectEncoding(String theBody)
public static EncodingEnum detectEncodingNoDefault(String theBody)
public static void extractDescription(SearchParameter theParameter, Annotation[] theAnnotations)
public static Integer findIdParameterIndex(Method theMethod, FhirContext theContext)
public static Integer findParamAnnotationIndex(Method theMethod, Class<?> toFind)
public static Integer findTagListParameterIndex(Method theMethod)
public static Integer findVersionIdParameterIndex(Method theMethod)
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 String parseETagValue(String value)
public static IQueryParameterAnd<?> parseQueryParams(FhirContext theContext, RuntimeSearchParam theParamDef, String theUnqualifiedParamName, List<QualifiedParamList> theParameters)
public static IQueryParameterAnd<?> parseQueryParams(FhirContext theContext, RestSearchParameterTypeEnum paramType, String theUnqualifiedParamName, List<QualifiedParamList> theParameters)
public static void parseTagValue(TagList tagList, String nextTagComplete)
public static MethodOutcome process2xxResponse(FhirContext theContext, int theResponseStatusCode, String theResponseMimeType, Reader theResponseReader, Map<String,List<String>> theHeaders)
public static IQueryParameterOr<?> singleton(IQueryParameterType theParam, String theParamName)
Copyright © 2014–2017 University Health Network. All rights reserved.