public class MethodUtil extends Object
| Constructor and Description |
|---|
MethodUtil() |
public MethodUtil()
public static IIdType convertIdToType(IIdType value, Class<? extends IIdType> idParamType)
public static HttpGetClientInvocation createConformanceInvocation()
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 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 EncodingEnum detectEncoding(String theBody)
public static EncodingEnum detectEncodingNoDefault(String theBody)
public static void extractDescription(SearchParameter theParameter, Annotation[] theAnnotations)
public static Integer findConditionalOperationParameterIndex(Method theMethod)
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(RuntimeSearchParam theParamDef, String theUnqualifiedParamName, List<QualifiedParamList> theParameters)
public static void parseTagValue(TagList tagList, String nextTagComplete)
public static MethodOutcome process2xxResponse(FhirContext theContext, String theResourceName, int theResponseStatusCode, String theResponseMimeType, Reader theResponseReader, Map<String,List<String>> theHeaders)
public static IQueryParameterOr<?> singleton(IQueryParameterType theParam)
Copyright © 2014–2016 University Health Network. All rights reserved.