
Package ca.uhn.fhir.rest.server.method
Class GraphQLMethodBinding
java.lang.Object
ca.uhn.fhir.rest.server.method.BaseMethodBinding
ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding
ca.uhn.fhir.rest.server.method.OperationMethodBinding
ca.uhn.fhir.rest.server.method.GraphQLMethodBinding
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.uhn.fhir.rest.server.method.OperationMethodBinding
OperationMethodBinding.ReturnTypeNested classes/interfaces inherited from class ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding
BaseResourceReturningMethodBinding.MethodReturnTypeEnum, BaseResourceReturningMethodBinding.ReturnTypeEnum -
Field Summary
Fields inherited from class ca.uhn.fhir.rest.server.method.OperationMethodBinding
WILDCARD_NAMEFields inherited from class ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding
myResponseBundleBuilder -
Constructor Summary
ConstructorsConstructorDescriptionGraphQLMethodBinding(Method theMethod, ca.uhn.fhir.rest.api.RequestTypeEnum theMethodRequestType, ca.uhn.fhir.context.FhirContext theContext, Object theProvider) -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the resource this method handles, ornullif this method is not resource specificca.uhn.fhir.rest.api.RestOperationTypeEnumca.uhn.fhir.rest.api.RestOperationTypeEnumgetRestOperationType(RequestDetails theRequestDetails) Determine which operation is being fired for a specific requestincomingServerRequestMatchesMethod(RequestDetails theRequest) invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest) booleanbooleanbooleanSubclasses may overrideMethods inherited from class ca.uhn.fhir.rest.server.method.OperationMethodBinding
getCanonicalUrl, getDescription, getName, getResponseBundleType, getReturnParams, getReturnType, getShortDescription, invokeServer, isDeleteEnabled, isGlobalMethod, isIdempotent, isManualRequestMode, populateRequestDetailsForInterceptor, setDescription, toStringMethods inherited from class ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding
callOutgoingFailureOperationOutcomeHook, callOutgoingResponseHook, doInvokeServer, getMethodReturnType, isAddContentLocationHeader, isOffsetModeHistory, setResourceNameMethods inherited from class ca.uhn.fhir.rest.server.method.BaseMethodBinding
bindMethod, close, createMethodParams, createParametersForServerRequest, getAllowableParamAnnotations, getContext, getIncludes, getMethod, getParameters, getProvider, getQueryParameters, getRequestIncludesFromParams, getRevIncludes, invokeServerMethod, isSupportsConditional, isSupportsConditionalMultiple, setParameters, toResourceList, verifyMethodHasZeroOrOneOperationAnnotation
-
Constructor Details
-
GraphQLMethodBinding
public GraphQLMethodBinding(Method theMethod, ca.uhn.fhir.rest.api.RequestTypeEnum theMethodRequestType, ca.uhn.fhir.context.FhirContext theContext, Object theProvider)
-
-
Method Details
-
getResourceName
Description copied from class:BaseMethodBindingReturns the name of the resource this method handles, ornullif this method is not resource specific- Overrides:
getResourceNamein classBaseResourceReturningMethodBinding
-
getRestOperationType
- Overrides:
getRestOperationTypein classOperationMethodBinding
-
getRestOperationType
public ca.uhn.fhir.rest.api.RestOperationTypeEnum getRestOperationType(RequestDetails theRequestDetails) Description copied from class:BaseMethodBindingDetermine which operation is being fired for a specific request- Overrides:
getRestOperationTypein classOperationMethodBinding- Parameters:
theRequestDetails- The request
-
provideExpectedReturnTypes
Description copied from class:BaseResourceReturningMethodBindingSubclasses may override- Overrides:
provideExpectedReturnTypesin classBaseResourceReturningMethodBinding
-
isCanOperateAtServerLevel
- Overrides:
isCanOperateAtServerLevelin classOperationMethodBinding
-
isCanOperateAtTypeLevel
- Overrides:
isCanOperateAtTypeLevelin classOperationMethodBinding
-
isCanOperateAtInstanceLevel
- Overrides:
isCanOperateAtInstanceLevelin classOperationMethodBinding
-
incomingServerRequestMatchesMethod
- Overrides:
incomingServerRequestMatchesMethodin classOperationMethodBinding
-
invokeServer
public Object invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest) throws ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException, IOException - Overrides:
invokeServerin classOperationMethodBinding- Throws:
ca.uhn.fhir.rest.server.exceptions.BaseServerResponseExceptionIOException
-