Package ca.uhn.fhir.rest.param.binder
Class StringBinder
- java.lang.Object
-
- ca.uhn.fhir.rest.param.binder.StringBinder
-
- All Implemented Interfaces:
IParamBinder<String>
public final class StringBinder extends Object
-
-
Constructor Summary
Constructors Constructor Description StringBinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringdoEncode(String theString)protected StringdoParse(String theString)List<IQueryParameterOr<?>>encode(FhirContext theContext, T theString)Tparse(FhirContext theContext, String theName, List<QualifiedParamList> theParams)
-
-
-
Constructor Detail
-
StringBinder
public StringBinder()
-
-
Method Detail
-
encode
public List<IQueryParameterOr<?>> encode(FhirContext theContext, T theString) throws InternalErrorException
- Specified by:
encodein interfaceIParamBinder<T>- Throws:
InternalErrorException
-
parse
public T parse(FhirContext theContext, String theName, List<QualifiedParamList> theParams) throws InternalErrorException, InvalidRequestException
- Specified by:
parsein interfaceIParamBinder<T>- Throws:
InternalErrorExceptionInvalidRequestException
-
-