
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringdoEncode(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:
encodein interfaceIParamBinder<T>- Throws:
InternalErrorException
-
parse
public IPrimitiveType<?> parse(FhirContext theContext, String theName, List<QualifiedParamList> theParams) throws InternalErrorException, InvalidRequestException - Specified by:
parsein interfaceIParamBinder<T>- Throws:
InternalErrorExceptionInvalidRequestException
-