public class ParameterUtil extends Object
| Constructor and Description |
|---|
ParameterUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends IIdType> |
convertIdToType(IIdType value,
Class<T> theIdParamType) |
static String |
escape(String theValue)
Escapes a string according to the rules for parameter escaping specified in the FHIR Specification Escaping
Section
|
static String |
escapeAndJoinOrList(Collection<String> theValues) |
static String |
escapeAndUrlEncode(String theInput)
Applies
escapeWithDefault(Object) followed by UrlUtil.escapeUrlParam(String) |
static String |
escapeWithDefault(Object theValue)
Escapes a string according to the rules for parameter escaping specified in the FHIR Specification Escaping
Section
|
static Integer |
findIdParameterIndex(Method theMethod,
FhirContext theContext) |
static Integer |
findParamAnnotationIndex(Method theMethod,
Class<?> toFind) |
static Object |
fromInteger(Class<?> theType,
IntegerDt theArgument) |
static boolean |
isBindableIntegerType(Class<?> theClass) |
static int |
nonEscapedIndexOf(String theString,
char theCharacter) |
static String |
parseETagValue(String value) |
static IQueryParameterAnd<?> |
parseQueryParams(FhirContext theContext,
RestSearchParameterTypeEnum paramType,
String theUnqualifiedParamName,
List<QualifiedParamList> theParameters)
This is a utility method intended provided to help the JPA module.
|
static IQueryParameterAnd<?> |
parseQueryParams(FhirContext theContext,
RuntimeSearchParam theParamDef,
String theUnqualifiedParamName,
List<QualifiedParamList> theParameters)
This is a utility method intended provided to help the JPA module.
|
static IQueryParameterOr<?> |
singleton(IQueryParameterType theParam,
String theParamName) |
static IntegerDt |
toInteger(Object theArgument) |
static String |
unescape(String theValue)
Unescapes a string according to the rules for parameter escaping specified in the FHIR Specification Escaping
Section
|
public ParameterUtil()
public static <T extends IIdType> T convertIdToType(IIdType value, Class<T> theIdParamType)
public static IQueryParameterAnd<?> parseQueryParams(FhirContext theContext, RestSearchParameterTypeEnum paramType, String theUnqualifiedParamName, List<QualifiedParamList> theParameters)
public static IQueryParameterAnd<?> parseQueryParams(FhirContext theContext, RuntimeSearchParam theParamDef, String theUnqualifiedParamName, List<QualifiedParamList> theParameters)
public static String escape(String theValue)
public static String escapeWithDefault(Object theValue)
public static String escapeAndUrlEncode(String theInput)
escapeWithDefault(Object) followed by UrlUtil.escapeUrlParam(String)public static Integer findIdParameterIndex(Method theMethod, FhirContext theContext)
public static Integer findParamAnnotationIndex(Method theMethod, Class<?> toFind)
public static Object fromInteger(Class<?> theType, IntegerDt theArgument)
public static boolean isBindableIntegerType(Class<?> theClass)
public static String escapeAndJoinOrList(Collection<String> theValues)
public static int nonEscapedIndexOf(String theString, char theCharacter)
public static String parseETagValue(String value)
public static IQueryParameterOr<?> singleton(IQueryParameterType theParam, String theParamName)
public static String unescape(String theValue)
Copyright © 2014–2019 University Health Network. All rights reserved.