public class OperationParameter extends Object implements IParameter
| Constructor and Description |
|---|
OperationParameter(ca.uhn.fhir.context.FhirContext theCtx,
String theOperationName,
ca.uhn.fhir.rest.annotation.OperationParam theOperationParam) |
| Modifier and Type | Method and Description |
|---|---|
protected ca.uhn.fhir.context.FhirContext |
getContext() |
int |
getMax() |
int |
getMin() |
String |
getName() |
String |
getParamType() |
String |
getSearchParamType() |
void |
initializeTypes(Method theMethod,
Class<? extends Collection<?>> theOuterCollectionType,
Class<? extends Collection<?>> theInnerCollectionType,
Class<?> theParameterType) |
OperationParameter |
setConverter(ca.uhn.fhir.rest.server.method.OperationParameter.IOperationParamConverter theConverter) |
static void |
throwInvalidMode(String paramValues) |
Object |
translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding)
This server method method takes the data received by the server in an incoming request, and translates that data into a single argument for a server method invocation.
|
public OperationParameter(ca.uhn.fhir.context.FhirContext theCtx, String theOperationName, ca.uhn.fhir.rest.annotation.OperationParam theOperationParam)
protected ca.uhn.fhir.context.FhirContext getContext()
public int getMax()
public int getMin()
public String getParamType()
public String getSearchParamType()
public void initializeTypes(Method theMethod, Class<? extends Collection<?>> theOuterCollectionType, Class<? extends Collection<?>> theInnerCollectionType, Class<?> theParameterType)
initializeTypes in interface IParameterpublic OperationParameter setConverter(ca.uhn.fhir.rest.server.method.OperationParameter.IOperationParamConverter theConverter)
public Object translateQueryParametersIntoServerArgument(RequestDetails theRequest, BaseMethodBinding<?> theMethodBinding) throws ca.uhn.fhir.rest.server.exceptions.InternalErrorException, ca.uhn.fhir.rest.server.exceptions.InvalidRequestException
IParametertranslateQueryParametersIntoServerArgument in interface IParametertheRequest - The incoming request objecttheMethodBinding - TODOca.uhn.fhir.rest.server.exceptions.InternalErrorExceptionca.uhn.fhir.rest.server.exceptions.InvalidRequestExceptionpublic static void throwInvalidMode(String paramValues)
Copyright © 2014–2019 University Health Network. All rights reserved.