Package ca.uhn.fhir.rest.server.method
Class ConformanceMethodBinding
java.lang.Object
ca.uhn.fhir.rest.server.method.BaseMethodBinding
ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding
ca.uhn.fhir.rest.server.method.ConformanceMethodBinding
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
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.IBaseConformance
provideCapabilityStatement
(RestfulServer theServer, RequestDetails theRequest) Create and return the server's CapabilityStatementvoid
setCacheMillis
(long theCacheMillis) Returns the number of milliseconds to cache the generated CapabilityStatement for.Methods inherited from class ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding
callOutgoingFailureOperationOutcomeHook, callOutgoingResponseHook, doInvokeServer, getMethodReturnType, getResourceName, invokeServer, isAddContentLocationHeader, isOffsetModeHistory, provideExpectedReturnTypes, setResourceName
Methods inherited from class ca.uhn.fhir.rest.server.method.BaseMethodBinding
bindMethod, createMethodParams, createParametersForServerRequest, getAllowableParamAnnotations, getContext, getIncludes, getMethod, getParameters, getProvider, getQueryParameters, getRequestIncludesFromParams, getRestOperationType, getRevIncludes, invokeServerMethod, isGlobalMethod, isSupportsConditional, isSupportsConditionalMultiple, populateRequestDetailsForInterceptor, setParameters, toResourceList, verifyMethodHasZeroOrOneOperationAnnotation
-
Field Details
-
CACHE_THREAD_PREFIX
- See Also:
-
-
Method Details
-
setCacheMillis
Returns the number of milliseconds to cache the generated CapabilityStatement for. Default is one minute, and can be set to 0 to never cache.- Since:
- 4.1.0
- See Also:
-
getReturnType
- Specified by:
getReturnType
in classBaseResourceReturningMethodBinding
-
close
- Overrides:
close
in classBaseMethodBinding
-
invokeServer
public IBundleProvider invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams) throws ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException - Specified by:
invokeServer
in classBaseResourceReturningMethodBinding
- Throws:
ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
-
incomingServerRequestMatchesMethod
- Specified by:
incomingServerRequestMatchesMethod
in classBaseMethodBinding
-
getRestOperationType
- Specified by:
getRestOperationType
in classBaseMethodBinding
-
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
-
provideCapabilityStatement
public org.hl7.fhir.instance.model.api.IBaseConformance provideCapabilityStatement(RestfulServer theServer, RequestDetails theRequest) Create and return the server's CapabilityStatement
-