public class GraphQLMethodBinding extends BaseMethodBinding<String>
| Constructor and Description |
|---|
GraphQLMethodBinding(Method theMethod,
ca.uhn.fhir.context.FhirContext theContext,
Object theProvider) |
| Modifier and Type | Method and Description |
|---|---|
String |
getResourceName()
Returns the name of the resource this method handles, or
null if this method is not resource specific |
ca.uhn.fhir.rest.api.RestOperationTypeEnum |
getRestOperationType() |
boolean |
incomingServerRequestMatchesMethod(RequestDetails theRequest) |
Object |
invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest) |
boolean |
isGlobalMethod()
Subclasses may override to declare that they apply to all resource types
|
bindMethod, createAppropriateParserForParsingResponse, createAppropriateParserForParsingServerRequest, createMethodParams, createParametersForServerRequest, getAllowableParamAnnotations, getContext, getIncludes, getMethod, getParameters, getProvider, getRequestIncludesFromParams, getRestOperationType, invokeServerMethod, isSupportsConditional, isSupportsConditionalMultiple, populateActionRequestDetailsForInterceptor, processNon2xxResponseAndReturnExceptionToThrow, setParameters, toResourceList, verifyMethodHasZeroOrOneOperationAnnotationpublic GraphQLMethodBinding(Method theMethod, ca.uhn.fhir.context.FhirContext theContext, Object theProvider)
public String getResourceName()
BaseMethodBindingnull if this method is not resource specificgetResourceName in class BaseMethodBinding<String>@Nonnull public ca.uhn.fhir.rest.api.RestOperationTypeEnum getRestOperationType()
getRestOperationType in class BaseMethodBinding<String>public boolean isGlobalMethod()
BaseMethodBindingisGlobalMethod in class BaseMethodBinding<String>public boolean incomingServerRequestMatchesMethod(RequestDetails theRequest)
incomingServerRequestMatchesMethod in class BaseMethodBinding<String>public Object invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest) throws ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException, IOException
invokeServer in class BaseMethodBinding<String>ca.uhn.fhir.rest.server.exceptions.BaseServerResponseExceptionIOExceptionCopyright © 2014–2019 University Health Network. All rights reserved.