Package ca.uhn.fhir.rest.server.method
Class PageMethodBinding
java.lang.Object
ca.uhn.fhir.rest.server.method.BaseMethodBinding
ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding
ca.uhn.fhir.rest.server.method.PageMethodBinding
-
Nested Class Summary
Nested 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.BaseResourceReturningMethodBinding
myResponseBundleBuilder
-
Constructor Summary
ConstructorDescriptionPageMethodBinding
(ca.uhn.fhir.context.FhirContext theContext, Method theMethod) -
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.instance.model.api.IBaseResource
doInvokeServer
(IRestfulServer<?> theServer, RequestDetails theRequest) protected ca.uhn.fhir.model.valueset.BundleTypeEnum
If the response is a bundle, this type will be placed in the root of the bundle (can be null)ca.uhn.fhir.rest.api.RestOperationTypeEnum
incomingServerRequestMatchesMethod
(RequestDetails theRequest) invokeServer
(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams) org.hl7.fhir.instance.model.api.IBaseResource
provider()
Methods inherited from class ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding
callOutgoingFailureOperationOutcomeHook, callOutgoingResponseHook, getMethodReturnType, getResourceName, invokeServer, isAddContentLocationHeader, isOffsetModeHistory, provideExpectedReturnTypes, setResourceName
Methods inherited from class ca.uhn.fhir.rest.server.method.BaseMethodBinding
bindMethod, close, createMethodParams, createParametersForServerRequest, getAllowableParamAnnotations, getContext, getIncludes, getMethod, getParameters, getProvider, getQueryParameters, getRequestIncludesFromParams, getRestOperationType, getRevIncludes, invokeServerMethod, isGlobalMethod, isSupportsConditional, isSupportsConditionalMultiple, populateRequestDetailsForInterceptor, setParameters, toResourceList, verifyMethodHasZeroOrOneOperationAnnotation
-
Constructor Details
-
PageMethodBinding
-
-
Method Details
-
provider
-
getResponseBundleType
Description copied from class:BaseResourceReturningMethodBinding
If the response is a bundle, this type will be placed in the root of the bundle (can be null)- Specified by:
getResponseBundleType
in classBaseResourceReturningMethodBinding
-
getReturnType
- Specified by:
getReturnType
in classBaseResourceReturningMethodBinding
-
invokeServer
public Object invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams) throws ca.uhn.fhir.rest.server.exceptions.InvalidRequestException, ca.uhn.fhir.rest.server.exceptions.InternalErrorException - Specified by:
invokeServer
in classBaseResourceReturningMethodBinding
- Throws:
ca.uhn.fhir.rest.server.exceptions.InvalidRequestException
ca.uhn.fhir.rest.server.exceptions.InternalErrorException
-
doInvokeServer
public org.hl7.fhir.instance.model.api.IBaseResource doInvokeServer(IRestfulServer<?> theServer, RequestDetails theRequest) - Overrides:
doInvokeServer
in classBaseResourceReturningMethodBinding
-
getRestOperationType
- Specified by:
getRestOperationType
in classBaseMethodBinding
-
incomingServerRequestMatchesMethod
- Specified by:
incomingServerRequestMatchesMethod
in classBaseMethodBinding
-