Package ca.uhn.fhir.rest.param.binder
Class FhirPrimitiveBinder
java.lang.Object
ca.uhn.fhir.rest.param.binder.FhirPrimitiveBinder
- All Implemented Interfaces:
IParamBinder<IPrimitiveType<?>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
doEncode
(IPrimitiveType<?> theString) protected IPrimitiveType
<?> encode
(FhirContext theContext, IPrimitiveType<?> theString) parse
(FhirContext theContext, String theName, List<QualifiedParamList> theParams)
-
Constructor Details
-
FhirPrimitiveBinder
-
-
Method Details
-
doEncode
-
doParse
-
encode
public List<IQueryParameterOr<?>> encode(FhirContext theContext, IPrimitiveType<?> theString) throws InternalErrorException - Specified by:
encode
in interfaceIParamBinder<T>
- Throws:
InternalErrorException
-
parse
public IPrimitiveType<?> parse(FhirContext theContext, String theName, List<QualifiedParamList> theParams) throws InternalErrorException, InvalidRequestException - Specified by:
parse
in interfaceIParamBinder<T>
- Throws:
InternalErrorException
InvalidRequestException
-