Package ca.uhn.fhir.rest.server.method
Class GraphQLMethodBinding
- java.lang.Object
-
- ca.uhn.fhir.rest.server.method.BaseMethodBinding<String>
-
- ca.uhn.fhir.rest.server.method.GraphQLMethodBinding
-
public class GraphQLMethodBinding extends BaseMethodBinding<String>
-
-
Constructor Summary
Constructors Constructor Description GraphQLMethodBinding(Method theMethod, ca.uhn.fhir.context.FhirContext theContext, Object theProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetResourceName()Returns the name of the resource this method handles, ornullif this method is not resource specificca.uhn.fhir.rest.api.RestOperationTypeEnumgetRestOperationType()booleanincomingServerRequestMatchesMethod(RequestDetails theRequest)ObjectinvokeServer(IRestfulServer<?> theServer, RequestDetails theRequest)booleanisGlobalMethod()Subclasses may override to declare that they apply to all resource types-
Methods inherited from class ca.uhn.fhir.rest.server.method.BaseMethodBinding
bindMethod, createMethodParams, createParametersForServerRequest, getAllowableParamAnnotations, getContext, getIncludes, getMethod, getParameters, getProvider, getRequestIncludesFromParams, getRestOperationType, invokeServerMethod, isSupportsConditional, isSupportsConditionalMultiple, populateActionRequestDetailsForInterceptor, setParameters, toResourceList, verifyMethodHasZeroOrOneOperationAnnotation
-
-
-
-
Constructor Detail
-
GraphQLMethodBinding
public GraphQLMethodBinding(Method theMethod, ca.uhn.fhir.context.FhirContext theContext, Object theProvider)
-
-
Method Detail
-
getResourceName
public String getResourceName()
Description copied from class:BaseMethodBindingReturns the name of the resource this method handles, ornullif this method is not resource specific- Specified by:
getResourceNamein classBaseMethodBinding<String>
-
getRestOperationType
@Nonnull public ca.uhn.fhir.rest.api.RestOperationTypeEnum getRestOperationType()
- Specified by:
getRestOperationTypein classBaseMethodBinding<String>
-
isGlobalMethod
public boolean isGlobalMethod()
Description copied from class:BaseMethodBindingSubclasses may override to declare that they apply to all resource types- Overrides:
isGlobalMethodin classBaseMethodBinding<String>
-
incomingServerRequestMatchesMethod
public boolean incomingServerRequestMatchesMethod(RequestDetails theRequest)
- Specified by:
incomingServerRequestMatchesMethodin classBaseMethodBinding<String>
-
invokeServer
public Object invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest) throws ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException, IOException
- Specified by:
invokeServerin classBaseMethodBinding<String>- Throws:
ca.uhn.fhir.rest.server.exceptions.BaseServerResponseExceptionIOException
-
-